final.c (shorten_branches): Don't count the lengths of deleted instructions.
* final.c (shorten_branches): Don't count the lengths of deleted instructions. From-SVN: r15074
This commit is contained in:
parent
780532a4c6
commit
04da53bd68
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu Sep 4 07:39:19 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
|
||||
|
||||
* final.c (shorten_branches): Don't count the lengths of deleted
|
||||
instructions.
|
||||
|
||||
Thu Sep 4 09:43:01 1997 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* version.c: Bump for snapshot.
|
||||
|
|
|
@ -734,6 +734,8 @@ shorten_branches (first)
|
|||
if (GET_CODE (insn) == NOTE || GET_CODE (insn) == BARRIER
|
||||
|| GET_CODE (insn) == CODE_LABEL)
|
||||
continue;
|
||||
if (INSN_DELETED_P (insn))
|
||||
continue;
|
||||
|
||||
body = PATTERN (insn);
|
||||
if (GET_CODE (body) == ADDR_VEC || GET_CODE (body) == ADDR_DIFF_VEC)
|
||||
|
|
Loading…
Add table
Reference in a new issue