diff options
author | Andrew Pinski <pinskia@physics.uc.edu> | 2005-04-24 14:05:06 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2005-04-24 07:05:06 -0700 |
commit | d29f81b69c996b2c916861c5b14fe7aa461d8e60 (patch) | |
tree | 361d00a7a0010e1630531c9adb9e41895bca8b61 | |
parent | eb83e81102d1770daba45b95ea0f9e5a00c938ae (diff) | |
download | gcc-d29f81b69c996b2c916861c5b14fe7aa461d8e60.zip gcc-d29f81b69c996b2c916861c5b14fe7aa461d8e60.tar.gz gcc-d29f81b69c996b2c916861c5b14fe7aa461d8e60.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8b1c9e7..f9d99ae 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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, |