mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-03 01:30:42 +08:00
(final): Update insn_current_address before calling final_scan_insn.
From-SVN: r12918
This commit is contained in:
parent
1fe33d17b9
commit
2f16edb13c
@ -1246,7 +1246,12 @@ final (first, file, optimize, prescan)
|
||||
|
||||
/* Output the insns. */
|
||||
for (insn = NEXT_INSN (first); insn;)
|
||||
insn = final_scan_insn (insn, file, optimize, prescan, 0);
|
||||
{
|
||||
#ifdef HAVE_ATTR_length
|
||||
insn_current_address = insn_addresses[INSN_UID (insn)];
|
||||
#endif
|
||||
insn = final_scan_insn (insn, file, optimize, prescan, 0);
|
||||
}
|
||||
|
||||
/* Do basic-block profiling here
|
||||
if the last insn was a conditional branch. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user