Message ID | 537A316E.6060405@arm.com |
---|---|
State | New |
Headers | show |
> RTL checking would probably have found this quickly, but that's very > expensive so not normally enabled during trunk development. This used to be very expensive, but has been only moderately expensive for a while (it's in my checking options for years on trunk for x86/x86-64).
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 1e44080..5e5256d 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -16934,7 +16934,7 @@ thumb1_reorg (void) rtx prev, insn = BB_END (bb); bool insn_clobbered = false; - while (insn != BB_HEAD (bb) && DEBUG_INSN_P (insn)) + while (insn != BB_HEAD (bb) && !NONDEBUG_INSN_P (insn)) insn = PREV_INSN (insn); /* Find the last cbranchsi4_insn in basic block BB. */