From: Richard Kenner Date: Fri, 1 Sep 2000 14:48:11 +0000 (+0000) Subject: flow.c (init_propagate_block_info): Don't mark frame dead at end of function if retur... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6324d2bbb6e6dd180de74234c762523c2a946838;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d82386ac82a..a3951907e63 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Fri Sep 1 10:59:47 2000 Richard Kenner + + * 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 * dwarf2out.c (stack_adjust_offset): New function. diff --git a/gcc/flow.c b/gcc/flow.c index 0afdc77eb02..6f1ba7cf004 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -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