From: Richard Kenner Date: Wed, 23 Sep 1992 23:23:47 +0000 (-0400) Subject: (shorten_branches): Correctly access insn needing delay slot. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b6c9b49af96ef5a6bc00143b1a835a75a794e0f1;p=gcc.git (shorten_branches): Correctly access insn needing delay slot. From-SVN: r2216 --- 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