final.c (final): Walk from first instruction.

* final.c (final): Walk from first instruction.
	* cfglayout.c (insn_locators_initialize): Remove line number notes.

From-SVN: r118650
This commit is contained in:
Jan Hubicka 2006-11-10 10:30:33 +01:00 committed by Jan Hubicka
parent 0e9dac9e16
commit 9ff5780962
3 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-11-10 Jan Hubicka <jh@suse.cz>
* final.c (final): Walk from first instruction.
* cfglayout.c (insn_locators_initialize): Remove line number notes.
2006-11-10 Uros Bizjak <ubizjak@gmail.com>
PR target/29777

View File

@ -277,6 +277,7 @@ insn_locators_initialize (void)
NOTE_EXPANDED_LOCATION (xloc, insn);
line_number = xloc.line;
file_name = xloc.file;
delete_insn (insn);
}
}
else

View File

@ -1594,7 +1594,7 @@ final (rtx first, FILE *file, int optimize)
CC_STATUS_INIT;
/* Output the insns. */
for (insn = NEXT_INSN (first); insn;)
for (insn = first; insn;)
{
#ifdef HAVE_ATTR_length
if ((unsigned) INSN_UID (insn) >= INSN_ADDRESSES_SIZE ())