Re: RFA: dead_debug_* ICE

2012-06-27 Thread Alexandre Oliva
On Jun 25, 2012, Alexandre Oliva wrote: > On Jun 24, 2012, Richard Sandiford wrote: >> gcc.c-torture/compile/vector-2.c fails on mips64-elf with RTL checking >> enabled because dead_debug_insert_temp tries to read the REGNO of something >> that it has already replaced with a debug temporary. >

Re: RFA: dead_debug_* ICE

2012-06-26 Thread Alexandre Oliva
On Jun 25, 2012, Richard Sandiford wrote: > I'll leave the proper fix to Alex. ACK. Thanks for the patch, it should help me get started. -- Alexandre Oliva, freedom fighterhttp://FSFLA.org/~lxoliva/ You must be the change you wish to see in the world. -- Gandhi Be Free! -- http://FSFLA.or

Re: RFA: dead_debug_* ICE

2012-06-25 Thread Richard Sandiford
Jakub Jelinek writes: > Unfortunately this seems to break bootstrap on i686-linux. > Delta-reduced testcase is: > typedef _Complex float __attribute__ ((mode (TC))) __complex128; > extern __complex128 clogq (__complex128) __attribute__ ((__nothrow__)); > __complex128 > cacoshq (__complex128 x) > {

Re: RFA: dead_debug_* ICE

2012-06-25 Thread Jakub Jelinek
On Sun, Jun 24, 2012 at 11:50:12AM +0100, Richard Sandiford wrote: > --- gcc/df-problems.c 2012-06-23 13:28:55.576128246 +0100 > +++ gcc/df-problems.c 2012-06-24 11:25:36.851531368 +0100 > @@ -3209,7 +3210,8 @@ dead_debug_insert_temp (struct dead_debu > the widest referenced mode. */ >wh

Re: RFA: dead_debug_* ICE

2012-06-24 Thread Jakub Jelinek
On Sun, Jun 24, 2012 at 11:50:12AM +0100, Richard Sandiford wrote: > gcc/ Please mention PR debug/53740 here. > * df.h (dead_debug_add): Remove third argument. > * df-problems.c (dead_debug_add): Likewise. Use the REGNO of the > REG that we want to replace instead. > (dea

Re: RFA: dead_debug_* ICE

2012-06-24 Thread Alexandre Oliva
On Jun 24, 2012, Richard Sandiford wrote: > gcc.c-torture/compile/vector-2.c fails on mips64-elf with RTL checking > enabled because dead_debug_insert_temp tries to read the REGNO of something > that it has already replaced with a debug temporary. This sounds like http://gcc.gnu.org/bugzilla/sho

RFA: dead_debug_* ICE

2012-06-24 Thread Richard Sandiford
gcc.c-torture/compile/vector-2.c fails on mips64-elf with RTL checking enabled because dead_debug_insert_temp tries to read the REGNO of something that it has already replaced with a debug temporary. The original register was (reg:TI 2), which occupies two hard registers, and so each reference has