diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1992-09-23 19:23:47 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1992-09-23 19:23:47 -0400 |
commit | b6c9b49af96ef5a6bc00143b1a835a75a794e0f1 (patch) | |
tree | b78425e1be2f8f70a1b1f15c2876f5ada359aac6 /gcc | |
parent | c3c2cb3741352a3794593654440ec0ea92e83825 (diff) | |
download | gcc-b6c9b49af96ef5a6bc00143b1a835a75a794e0f1.zip gcc-b6c9b49af96ef5a6bc00143b1a835a75a794e0f1.tar.gz gcc-b6c9b49af96ef5a6bc00143b1a835a75a794e0f1.tar.bz2 |
(shorten_branches): Correctly access insn needing delay slot.
From-SVN: r2216
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/final.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/final.c b/gcc/final.c index 4322356..1bc9e7c 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -529,7 +529,7 @@ shorten_branches (first) int i; int const_delay_slots; #ifdef DELAY_SLOTS - const_delay_slots = const_num_delay_slots (XVECEXP (body, 0, 1)); + const_delay_slots = const_num_delay_slots (XVECEXP (body, 0, 0)); #else const_delay_slots = 0; #endif |