From b6c9b49af96ef5a6bc00143b1a835a75a794e0f1 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Wed, 23 Sep 1992 19:23:47 -0400 Subject: [PATCH] (shorten_branches): Correctly access insn needing delay slot. From-SVN: r2216 --- gcc/final.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/final.c b/gcc/final.c index 4322356966f..1bc9e7cd1f7 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 -- 2.30.2