Commit 9ff57809 by Jan Hubicka Committed by Jan Hubicka

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
parent 0e9dac9e
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
......
......@@ -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
......
......@@ -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 ())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment