mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-15 18:01:31 +08:00
emit-rtl.c (emit_pattern_after_setloc): Add missing guard.
* emit-rtl.c (emit_pattern_after_setloc): Add missing guard. (emit_pattern_before_setloc): Likewise. From-SVN: r223020
This commit is contained in:
parent
21cd397ea3
commit
20d4397af8
@ -1,3 +1,8 @@
|
||||
2015-05-11 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* emit-rtl.c (emit_pattern_after_setloc): Add missing guard.
|
||||
(emit_pattern_before_setloc): Likewise.
|
||||
|
||||
2015-05-11 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* genrecog.c (match_pattern_1): Expect the pattern to be a SEQUENCE
|
||||
|
@ -4676,7 +4676,9 @@ emit_pattern_after_setloc (rtx pattern, rtx uncast_after, int loc,
|
||||
after = NEXT_INSN (after);
|
||||
while (1)
|
||||
{
|
||||
if (active_insn_p (after) && !INSN_LOCATION (after))
|
||||
if (active_insn_p (after)
|
||||
&& !JUMP_TABLE_DATA_P (after) /* FIXME */
|
||||
&& !INSN_LOCATION (after))
|
||||
INSN_LOCATION (after) = loc;
|
||||
if (after == last)
|
||||
break;
|
||||
@ -4787,7 +4789,9 @@ emit_pattern_before_setloc (rtx pattern, rtx uncast_before, int loc, bool insnp,
|
||||
first = NEXT_INSN (first);
|
||||
while (1)
|
||||
{
|
||||
if (active_insn_p (first) && !INSN_LOCATION (first))
|
||||
if (active_insn_p (first)
|
||||
&& !JUMP_TABLE_DATA_P (first) /* FIXME */
|
||||
&& !INSN_LOCATION (first))
|
||||
INSN_LOCATION (first) = loc;
|
||||
if (first == last)
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user