mirror of git://gcc.gnu.org/git/gcc.git
re PR rtl-optimization/50833 (ICE: in maybe_record_trace_start, at dwarf2cfi.c:2243 with -fshrink-wrap)
PR rtl-optimization/50833 * function.c (thread_prologue_and_epilogue_insns): Expect the return insn optimization only if optimize. From-SVN: r180377
This commit is contained in:
parent
9f02e6a5b5
commit
eec8a31a73
|
@ -3,6 +3,10 @@
|
||||||
PR bootstrap/50836
|
PR bootstrap/50836
|
||||||
* rtlanal.c: Swap includes of "hard-reg-set.h" and "rtl.h".
|
* rtlanal.c: Swap includes of "hard-reg-set.h" and "rtl.h".
|
||||||
|
|
||||||
|
PR rtl-optimization/50833
|
||||||
|
* function.c (thread_prologue_and_epilogue_insns): Expect the
|
||||||
|
return insn optimization only if optimize.
|
||||||
|
|
||||||
2011-10-24 Georg-Johann Lay <avr@gjlay.de>
|
2011-10-24 Georg-Johann Lay <avr@gjlay.de>
|
||||||
|
|
||||||
* config/avr/avr.c: Break long lines.
|
* config/avr/avr.c: Break long lines.
|
||||||
|
|
|
@ -5791,7 +5791,7 @@ thread_prologue_and_epilogue_insns (void)
|
||||||
to convert jumps to it to (potentially conditional) return
|
to convert jumps to it to (potentially conditional) return
|
||||||
insns later. This means we don't necessarily need a prologue
|
insns later. This means we don't necessarily need a prologue
|
||||||
for paths reaching it. */
|
for paths reaching it. */
|
||||||
if (last_bb)
|
if (last_bb && optimize)
|
||||||
{
|
{
|
||||||
if (!last_bb_active)
|
if (!last_bb_active)
|
||||||
bitmap_clear_bit (&bb_flags, last_bb->index);
|
bitmap_clear_bit (&bb_flags, last_bb->index);
|
||||||
|
|
Loading…
Reference in New Issue