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:
Eric Botcazou 2015-05-11 22:12:46 +00:00 committed by Eric Botcazou
parent 21cd397ea3
commit 20d4397af8
2 changed files with 11 additions and 2 deletions

View File

@ -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

View File

@ -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;