* function.c (thread_prologue_and_epilogue_insns): Expect the
return insn optimization only if optimize.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180377
138bc75d-0d04-0410-961f-
82ee72b054a4
PR bootstrap/50836
* 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>
* config/avr/avr.c: Break long lines.
to convert jumps to it to (potentially conditional) return
insns later. This means we don't necessarily need a prologue
for paths reaching it. */
- if (last_bb)
+ if (last_bb && optimize)
{
if (!last_bb_active)
bitmap_clear_bit (&bb_flags, last_bb->index);