* unroll.c (final_reg_note_copy): Fix previous commit.

From-SVN: r48858
This commit is contained in:
Jan Hubicka 2002-01-15 00:58:20 +01:00 committed by Jan Hubicka
parent e7afe22957
commit 6a7b4ca686
2 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,7 @@
Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
* unroll.c (final_reg_note_copy): Fix previous commit.
2002-01-14 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300-protos.h: Remove the prototype for

View File

@ -1741,11 +1741,16 @@ final_reg_note_copy (notesp, map)
{
rtx insn = map->insn_map[INSN_UID (XEXP (note, 0))];
/* If we failed to remap the note, something is awry. */
/* If we failed to remap the note, something is awry.
Allow REG_LABEL as it may reference label outside
the unrolled loop. */
if (!insn)
abort ();
XEXP (note, 0) = insn;
{
if (REG_NOTE_KIND (note) != REG_LABEL)
abort ();
}
else
XEXP (note, 0) = insn;
}
}