mirror of git://gcc.gnu.org/git/gcc.git
function.c (thread_prologue_and_epilogue_insns): Do not crash on empty epilogue sequences.
* function.c (thread_prologue_and_epilogue_insns): Do not crash on empty epilogue sequences. From-SVN: r168463
This commit is contained in:
parent
d28139df87
commit
55c623b524
|
|
@ -1,3 +1,8 @@
|
||||||
|
2011-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
||||||
|
|
||||||
|
* function.c (thread_prologue_and_epilogue_insns): Do not crash
|
||||||
|
on empty epilogue sequences.
|
||||||
|
|
||||||
2011-01-04 Joseph Myers <joseph@codesourcery.com>
|
2011-01-04 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now,
|
* config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now,
|
||||||
|
|
|
||||||
|
|
@ -5461,7 +5461,8 @@ thread_prologue_and_epilogue_insns (void)
|
||||||
start_sequence ();
|
start_sequence ();
|
||||||
epilogue_end = emit_note (NOTE_INSN_EPILOGUE_BEG);
|
epilogue_end = emit_note (NOTE_INSN_EPILOGUE_BEG);
|
||||||
seq = gen_epilogue ();
|
seq = gen_epilogue ();
|
||||||
emit_jump_insn (seq);
|
if (seq)
|
||||||
|
emit_jump_insn (seq);
|
||||||
|
|
||||||
/* Retain a map of the epilogue insns. */
|
/* Retain a map of the epilogue insns. */
|
||||||
record_insns (seq, NULL, &epilogue_insn_hash);
|
record_insns (seq, NULL, &epilogue_insn_hash);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue