mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user