summaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-14 03:13:07 +0000
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-14 03:13:07 +0000
commita40609e6e5ddfc514f7b4be04b72b3847995f9fa (patch)
tree3b5aae81043167976f8a6e9e31f1cc5aa74edcc3 /gcc/tree.h
parent32ef1cd2a46ec9149543ffcd1f58ed438546c634 (diff)
downloadgcc-a40609e6e5ddfc514f7b4be04b72b3847995f9fa.tar.gz
* tree.h (DECL_BUILT_IN_NONANSI): Remove.
* c-common.c (builtin_function_2): Don't set DECL_BUILT_IN_NONANSI. * c-decl.c (duplicate_decls): Use invariant DECL_BUILT_IN_NONANSI implies DECL_BUILT_IN to simplify logic. * print-tree.c (print_node): Don't dump DECL_BUILT_IN_NONANSI. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65561 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 70d746394d7..c72e3d022c6 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -236,8 +236,6 @@ struct tree_common GTY(())
TREE_UNSIGNED in
INTEGER_TYPE, ENUMERAL_TYPE, FIELD_DECL
- DECL_BUILT_IN_NONANSI in
- FUNCTION_DECL
SAVE_EXPR_NOPLACEHOLDER in
SAVE_EXPR
@@ -635,8 +633,7 @@ extern void tree_operand_check_failed PARAMS ((int, enum tree_code,
#define TREE_CONSTANT(NODE) ((NODE)->common.constant_flag)
/* In INTEGER_TYPE or ENUMERAL_TYPE nodes, means an unsigned type.
- In FIELD_DECL nodes, means an unsigned bit field.
- The same bit is used in functions as DECL_BUILT_IN_NONANSI. */
+ In FIELD_DECL nodes, means an unsigned bit field. */
#define TREE_UNSIGNED(NODE) ((NODE)->common.unsigned_flag)
#define TYPE_TRAP_SIGNED(NODE) \
@@ -1687,12 +1684,6 @@ struct tree_type GTY(())
/* List of FUNCTION_DECLs inlined into this function's body. */
#define DECL_INLINED_FNS(NODE) (FUNCTION_DECL_CHECK (NODE)->decl.inlined_fns)
-/* Nonzero in a FUNCTION_DECL means this is a built-in function
- that is not specified by ansi C and that users are supposed to be allowed
- to redefine for any purpose whatever. */
-#define DECL_BUILT_IN_NONANSI(NODE) \
- (FUNCTION_DECL_CHECK (NODE)->common.unsigned_flag)
-
/* Nonzero in a FUNCTION_DECL means this function should be treated
as if it were a malloc, meaning it returns a pointer that is
not an alias. */