mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-21 15:30:02 +08:00
flow.c (init_propagate_block_info): Don't mark frame dead at end of function if returns wiht stack pointer depressed.
* flow.c (init_propagate_block_info): Don't mark frame dead at end of function if returns wiht stack pointer depressed. From-SVN: r36099
This commit is contained in:
parent
1ba5ae8f08
commit
6324d2bbb6
@ -1,3 +1,8 @@
|
||||
Fri Sep 1 10:59:47 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
|
||||
|
||||
* flow.c (init_propagate_block_info): Don't mark frame dead at end
|
||||
of function if returns wiht stack pointer depressed.
|
||||
|
||||
2000-09-01 Andrew Haley <aph@redhat.com>
|
||||
|
||||
* dwarf2out.c (stack_adjust_offset): New function.
|
||||
|
@ -3780,6 +3780,9 @@ init_propagate_block_info (bb, live, local_set, flags)
|
||||
recording any such that are made and show them dead at the end. We do
|
||||
a very conservative and simple job here. */
|
||||
if (optimize
|
||||
&& ! (TREE_CODE (TREE_TYPE (current_function_decl)) == FUNCTION_TYPE
|
||||
&& (TYPE_RETURNS_STACK_DEPRESSED
|
||||
(TREE_TYPE (current_function_decl))))
|
||||
&& (flags & PROP_SCAN_DEAD_CODE)
|
||||
&& (bb->succ == NULL
|
||||
|| (bb->succ->succ_next == NULL
|
||||
|
Loading…
Reference in New Issue
Block a user