[rtl, delay-slot] Fix overload of "unchanging" bit

2011-08-18 Thread Richard Henderson
As found by a c6x build failure, INSN_ANNULLED_BRANCH_P and RTL_CONST_CALL_P both resolve to the same bit for CALL_INSNs. I want to fix this by restricting INSN_ANNULLED_BRANCH_P to JUMP_INSNs, since annulling the slots for a call or a plain insn doesn't really make sense. The following has passe

Re: [rtl, delay-slot] Fix overload of "unchanging" bit

2011-08-19 Thread Hans-Peter Nilsson
> Date: Thu, 18 Aug 2011 15:48:41 -0700 > From: Richard Henderson > The following has passed stage2-gcc on sparc64-linux host (full build still > in progress), with --enable-checking=yes,rtl. It surely needs more than that, > and I'm asking for help from the relevant maintainers to give this a t

Re: [rtl, delay-slot] Fix overload of "unchanging" bit

2011-08-19 Thread Kaz Kojima
Richard Henderson wrote: > The following has passed stage2-gcc on sparc64-linux host (full build still > in progress), with --enable-checking=yes,rtl. It surely needs more than that, > and I'm asking for help from the relevant maintainers to give this a try. There are no regressions for sh4-unkn

Re: [rtl, delay-slot] Fix overload of "unchanging" bit

2011-08-20 Thread Richard Sandiford
Richard Henderson writes: > As found by a c6x build failure, INSN_ANNULLED_BRANCH_P and RTL_CONST_CALL_P > both resolve to the same bit for CALL_INSNs. I want to fix this by > restricting INSN_ANNULLED_BRANCH_P to JUMP_INSNs, since annulling the slots > for a call or a plain insn doesn't really m