]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tree.h (TREE_THIS_VOLATILE): Document the effect on a function decl.
authorAndrew Pinski <pinskia@physics.uc.edu>
Sun, 24 Apr 2005 14:05:06 +0000 (14:05 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Sun, 24 Apr 2005 14:05:06 +0000 (07:05 -0700)
2005-04-24  Andrew Pinski  <pinskia@physics.uc.edu>

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

From-SVN: r98663

gcc/ChangeLog
gcc/tree.h

index 8b1c9e7553c7674261f5d5c5e99ddc0915a1fc00..f9d99ae436ad54b84315f83ae4bca4c76dbc175d 100644 (file)
@@ -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
index a6f9e57f44b146d7758ec323e10771e8fc73fa42..6bc8a34c94c1c95c3d3d91b5b885a3de9536fa10 100644 (file)
@@ -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,