diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2008-04-07 09:37:51 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2008-04-07 09:37:51 +0000 |
commit | 9dd9bf80a87fdd119261f5efb8a9ceceffb12963 (patch) | |
tree | 347d5e4db385dd943a52f0d226ebaf0dc3200e8a /gcc/tree.h | |
parent | f9985df51b32cb265f429d024e955e71fd23a4f1 (diff) | |
download | gcc-9dd9bf80a87fdd119261f5efb8a9ceceffb12963.zip gcc-9dd9bf80a87fdd119261f5efb8a9ceceffb12963.tar.gz gcc-9dd9bf80a87fdd119261f5efb8a9ceceffb12963.tar.bz2 |
Removal of Return with Depressed Stack Pointer support
Removal of Return with Depressed Stack Pointer support
* tree.h (TYPE_RETURNS_STACK_DEPRESSED): Delete.
(ECF_SP_DEPRESSED): Likewise.
(ECF_LIBCALL_BLOCK, ECF_NOVOPS): Adjust.
* calls.c (emit_call_1): Do not test ECF_SP_DEPRESSED.
(flags_from_decl_or_type): Do not test TYPE_RETURNS_STACK_DEPRESSED.
(expand_call): Do not test ECF_SP_DEPRESSED.
* dse.c (dse_step0): Do not test TYPE_RETURNS_STACK_DEPRESSED.
* function.c (keep_stack_depressed): Delete.
(handle_epilogue_set): Likewise.
(update_epilogue_consts): Likewise.
(emit_equiv_load): Likewise.
(thread_prologue_and_epilogue_insns): Remove support for Return with
Depressed Stack Pointer.
* print-tree.c (print_node): Do not test TYPE_RETURNS_STACK_DEPRESSED.
ada/
* gigi.h (create_subprog_type): Remove returns_with_dsp parameter.
* decl.c (gnat_to_gnu_entity): Adjust for above new prototype.
* utils.c (create_subprog_type): Remove returns_with_dsp parameter.
* trans.c (gnat_to_gnu) <N_Return_Statement>: Remove code dealing with
Return by Depressed Stack Pointer.
From-SVN: r133976
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -2207,11 +2207,6 @@ struct tree_block GTY(()) #define TYPE_IS_SIZETYPE(NODE) \ (INTEGER_TYPE_CHECK (NODE)->type.no_force_blk_flag) -/* In a FUNCTION_TYPE, indicates that the function returns with the stack - pointer depressed. */ -#define TYPE_RETURNS_STACK_DEPRESSED(NODE) \ - (FUNCTION_TYPE_CHECK (NODE)->type.no_force_blk_flag) - /* Nonzero in a type considered volatile as a whole. */ #define TYPE_VOLATILE(NODE) (TYPE_CHECK (NODE)->base.volatile_flag) @@ -5002,14 +4997,11 @@ extern tree build_duplicate_type (tree); /* Nonzero if this is a call to "pure" function (like const function, but may read memory. */ #define ECF_PURE 128 -/* Nonzero if this is a call to a function that returns with the stack - pointer depressed. */ -#define ECF_SP_DEPRESSED 256 /* Create libcall block around the call. */ -#define ECF_LIBCALL_BLOCK 512 +#define ECF_LIBCALL_BLOCK 256 /* Function does not read or write memory (but may have side effects, so it does not necessarily fit ECF_CONST). */ -#define ECF_NOVOPS 1024 +#define ECF_NOVOPS 512 extern int flags_from_decl_or_type (const_tree); extern int call_expr_flags (const_tree); |