diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-03 17:03:21 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-03 17:03:21 +0000 |
commit | 79c316094829db6e72219e6117490a84042e3d14 (patch) | |
tree | c3b5f586f21434bfdbb5e12561940838515dbf80 /gcc/tree.h | |
parent | 1fc184eef4d3ea35c0401b0b720dc820a53c5d17 (diff) | |
download | gcc-79c316094829db6e72219e6117490a84042e3d14.tar.gz |
2003-07-03 Steven Bosscher <steven@gcc.gnu.org>
* rtl.h (ECF_*, flags_from_decl_or_type): Move from here...
* tree.h: ...to here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68890 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 31 |
1 files changed, 31 insertions, 0 deletions
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)); |