final.c (shorten_branches): Align the address of code label when computing initial lengths and addresses.
* final.c (shorten_branches): Align the address of code label when computing initial lengths and addresses. From-SVN: r61803
This commit is contained in:
parent
f5818c0c87
commit
5a09edba1f
@ -1,3 +1,8 @@
|
|||||||
|
2003-01-25 Kaz Kojima <kkojima@gcc.gnu.org>
|
||||||
|
|
||||||
|
* final.c (shorten_branches): Align the address of code label
|
||||||
|
when computing initial lengths and addresses.
|
||||||
|
|
||||||
2003-01-25 Kazu Hirata <kazu@cs.umass.edu>
|
2003-01-25 Kazu Hirata <kazu@cs.umass.edu>
|
||||||
|
|
||||||
* config/m68hc11/m68hc11.md: Fix a comment typo.
|
* config/m68hc11/m68hc11.md: Fix a comment typo.
|
||||||
|
@ -991,7 +991,7 @@ shorten_branches (first)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
INSN_ADDRESSES (uid) = insn_current_address;
|
INSN_ADDRESSES (uid) = insn_current_address + insn_lengths[uid];
|
||||||
|
|
||||||
if (GET_CODE (insn) == NOTE || GET_CODE (insn) == BARRIER
|
if (GET_CODE (insn) == NOTE || GET_CODE (insn) == BARRIER
|
||||||
|| GET_CODE (insn) == CODE_LABEL)
|
|| GET_CODE (insn) == CODE_LABEL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user