Commit 0acb0203 by Jan Hubicka Committed by Jan Hubicka

final.c (final): Allow notes to not have computed addresses; kill no longer…

final.c (final): Allow notes to not have computed addresses; kill no longer needed STACK_REGS ifdef.

	* final.c (final):  Allow notes to not have computed addresses;
	kill no longer needed STACK_REGS ifdef.

From-SVN: r54190
parent ada8d98a
Mon Jun 3 00:18:20 CEST 2002 Jan Hubicka <jh@suse.cz>
* final.c (final): Allow notes to not have computed addresses;
kill no longer needed STACK_REGS ifdef.
2002-06-02 Richard Henderson <rth@redhat.com>
* gcse.c (bypass_conditional_jumps): Fix typo last change.
......
......@@ -1898,16 +1898,12 @@ final (first, file, optimize, prescan)
#ifdef HAVE_ATTR_length
if ((unsigned) INSN_UID (insn) >= INSN_ADDRESSES_SIZE ())
{
#ifdef STACK_REGS
/* Irritatingly, the reg-stack pass is creating new instructions
and because of REG_DEAD note abuse it has to run after
shorten_branches. Fake address of -1 then. */
insn_current_address = -1;
#else
/* This can be triggered by bugs elsewhere in the compiler if
new insns are created after init_insn_lengths is called. */
abort ();
#endif
if (GET_CODE (insn) == NOTE)
insn_current_address = -1;
else
abort ();
}
else
insn_current_address = INSN_ADDRESSES (INSN_UID (insn));
......
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