mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-30 11:05:09 +08:00
* cfgrtl.c (redirect_edge_and_branch): Abort if redirect_jump fails.
From-SVN: r45870
This commit is contained in:
parent
1ab656771a
commit
a3623c481c
@ -1,3 +1,7 @@
|
||||
2001-09-28 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* cfgrtl.c (redirect_edge_and_branch): Abort if redirect_jump fails.
|
||||
|
||||
2001-09-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
|
||||
|
||||
* config/i386/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
|
||||
|
@ -860,7 +860,10 @@ redirect_edge_and_branch (e, target)
|
||||
/* If the insn doesn't go where we think, we're confused. */
|
||||
if (JUMP_LABEL (insn) != old_label)
|
||||
abort ();
|
||||
redirect_jump (insn, block_label (target), 0);
|
||||
/* If the substitution doesn't succeed, die. This can happen
|
||||
if the back end emitted unrecognizable instructions. */
|
||||
if (! redirect_jump (insn, block_label (target), 0))
|
||||
abort ();
|
||||
}
|
||||
|
||||
if (rtl_dump_file)
|
||||
|
Loading…
Reference in New Issue
Block a user