From fa5b060f90061ebf9d1f112d6a46f7759c1a0f66 Mon Sep 17 00:00:00 2001 From: Steven Bosscher Date: Thu, 3 Jul 2003 17:03:21 +0000 Subject: [PATCH] rtl.h (ECF_*, [...]): Move from here... 2003-07-03 Steven Bosscher * rtl.h (ECF_*, flags_from_decl_or_type): Move from here... * tree.h: ...to here. From-SVN: r68890 --- gcc/ChangeLog | 5 +++++ gcc/rtl.h | 33 --------------------------------- gcc/tree.h | 31 +++++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 33 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 277cf33493f..2d7867ab21e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-07-03 Steven Bosscher + + * rtl.h (ECF_*, flags_from_decl_or_type): Move from here... + * tree.h: ...to here. + 2003-07-03 Kazu Hirata * config/s390/2064.md: Fix comment typos. diff --git a/gcc/rtl.h b/gcc/rtl.h index e3e41d23a56..827b178d58b 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -2332,37 +2332,4 @@ extern bool expensive_function_p PARAMS ((int)); /* In tracer.c */ extern void tracer PARAMS ((void)); -/* In calls.c */ - -/* Nonzero if this is a call to a `const' function. */ -#define ECF_CONST 1 -/* Nonzero if this is a call to a `volatile' function. */ -#define ECF_NORETURN 2 -/* Nonzero if this is a call to malloc or a related function. */ -#define ECF_MALLOC 4 -/* Nonzero if it is plausible that this is a call to alloca. */ -#define ECF_MAY_BE_ALLOCA 8 -/* Nonzero if this is a call to a function that won't throw an exception. */ -#define ECF_NOTHROW 16 -/* Nonzero if this is a call to setjmp or a related function. */ -#define ECF_RETURNS_TWICE 32 -/* Nonzero if this is a call to `longjmp'. */ -#define ECF_LONGJMP 64 -/* Nonzero if this is a syscall that makes a new process in the image of - the current one. */ -#define ECF_FORK_OR_EXEC 128 -#define ECF_SIBCALL 256 -/* Nonzero if this is a call to "pure" function (like const function, - but may read memory. */ -#define ECF_PURE 512 -/* Nonzero if this is a call to a function that returns with the stack - pointer depressed. */ -#define ECF_SP_DEPRESSED 1024 -/* Nonzero if this call is known to always return. */ -#define ECF_ALWAYS_RETURN 2048 -/* Create libcall block around the call. */ -#define ECF_LIBCALL_BLOCK 4096 - -extern int flags_from_decl_or_type PARAMS ((tree)); - #endif /* ! GCC_RTL_H */ diff --git a/gcc/tree.h b/gcc/tree.h index ac9c44c7c2d..6f8b97ee0b4 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -2877,6 +2877,37 @@ extern rtx emit_line_note PARAMS ((const char *, int)); /* In calls.c */ +/* Nonzero if this is a call to a `const' function. */ +#define ECF_CONST 1 +/* Nonzero if this is a call to a `volatile' function. */ +#define ECF_NORETURN 2 +/* Nonzero if this is a call to malloc or a related function. */ +#define ECF_MALLOC 4 +/* Nonzero if it is plausible that this is a call to alloca. */ +#define ECF_MAY_BE_ALLOCA 8 +/* Nonzero if this is a call to a function that won't throw an exception. */ +#define ECF_NOTHROW 16 +/* Nonzero if this is a call to setjmp or a related function. */ +#define ECF_RETURNS_TWICE 32 +/* Nonzero if this is a call to `longjmp'. */ +#define ECF_LONGJMP 64 +/* Nonzero if this is a syscall that makes a new process in the image of + the current one. */ +#define ECF_FORK_OR_EXEC 128 +#define ECF_SIBCALL 256 +/* Nonzero if this is a call to "pure" function (like const function, + but may read memory. */ +#define ECF_PURE 512 +/* Nonzero if this is a call to a function that returns with the stack + pointer depressed. */ +#define ECF_SP_DEPRESSED 1024 +/* Nonzero if this call is known to always return. */ +#define ECF_ALWAYS_RETURN 2048 +/* Create libcall block around the call. */ +#define ECF_LIBCALL_BLOCK 4096 + +extern int flags_from_decl_or_type PARAMS ((tree)); + extern int setjmp_call_p PARAMS ((tree)); extern bool alloca_call_p PARAMS ((tree));