From d29f81b69c996b2c916861c5b14fe7aa461d8e60 Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Sun, 24 Apr 2005 14:05:06 +0000 Subject: [PATCH] tree.h (TREE_THIS_VOLATILE): Document the effect on a function decl. 2005-04-24 Andrew Pinski * tree.h (TREE_THIS_VOLATILE): Document the effect on a function decl. From-SVN: r98663 --- gcc/ChangeLog | 5 +++++ gcc/tree.h | 3 +++ 2 files changed, 8 insertions(+) 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 + + * tree.h (TREE_THIS_VOLATILE): Document the effect on a + function decl. + 2005-04-24 Nathan Sidwell * config/rs6000/rs6000.c (rs6000_override_options): Use gcc_assert diff --git a/gcc/tree.h b/gcc/tree.h index a6f9e57..6bc8a34 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -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, -- 2.7.4