2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-04-15 17:50:51 +08:00

tree.h (TREE_THIS_VOLATILE): Document the effect on a function decl.

2005-04-24  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree.h (TREE_THIS_VOLATILE): Document the effect on a
        function decl.

From-SVN: r98663
This commit is contained in:
Andrew Pinski 2005-04-24 14:05:06 +00:00 committed by Andrew Pinski
parent eb83e81102
commit d29f81b69c
2 changed files with 8 additions and 0 deletions

@ -1,3 +1,8 @@
2005-04-24 Andrew Pinski <pinskia@physics.uc.edu>
* tree.h (TREE_THIS_VOLATILE): Document the effect on a
function decl.
2005-04-24 Nathan Sidwell <nathan@codesourcery.com>
* config/rs6000/rs6000.c (rs6000_override_options): Use gcc_assert

@ -907,6 +907,9 @@ extern void tree_operand_check_failed (int, enum tree_code,
its address should be of type `volatile WHATEVER *'.
In other words, the declared item is volatile qualified.
This is used in _DECL nodes and _REF nodes.
On a FUNCTION_DECL node, this means the function does not
return normally. This is the same effect as setting
the attribute noreturn on the function in C.
In a ..._TYPE node, means this type is volatile-qualified.
But use TYPE_VOLATILE instead of this macro when the node is a type,