Re: [SH] ICE compiling pr34330 testcase for sh-linux-gnu

2009-07-30 Thread Joern Rennecke
This is then transformed by subst_reloads to the final broken form: (insn 171 170 172 5 .../pr34330.c:17 (set (reg:SI 9 r9) (plus:SI (reg:SI 8 r8) (reg:SI 0 r0 [orig:243 ivtmp.11 ] [243]))) -1 (nil)) This is logically correct as r9 genuinely does contain the result of the s

Re: [SH] ICE compiling pr34330 testcase for sh-linux-gnu

2009-07-30 Thread Andrew Stubbs
On 09/07/09 19:11, Ian Lance Taylor wrote: Andrew Stubbs writes: The problem insn is created by gen_reload when it is given the following rtl as input: (plus:SI (plus:SI (reg/v/f:SI 4 r4 [orig:192 a ] [192]) (const_int 2 [0x2])) (reg:SI 0 r0 [orig:188 ivtmp.24 ] [188])) You ne

Re: [SH] ICE compiling pr34330 testcase for sh-linux-gnu

2009-07-14 Thread Maxim Kuvyrkov
Andrew Stubbs wrote: I'm having trouble with an ICE, and I'm hoping somebody can enlighten me. Given the following command: cc1 -fpreprocessed ../pr34330.i -quiet -dumpbase pr34330.c -da -mb -auxbase-strip pr34330.c -Os -version -ftree-parallelize-loops=4 -ftree-vectorize -o pr34330.s -fsched

Re: [SH] ICE compiling pr34330 testcase for sh-linux-gnu

2009-07-09 Thread Ian Lance Taylor
Andrew Stubbs writes: > The problem insn is created by gen_reload when it is given the > following rtl as input: > > (plus:SI (plus:SI (reg/v/f:SI 4 r4 [orig:192 a ] [192]) > (const_int 2 [0x2])) > (reg:SI 0 r0 [orig:188 ivtmp.24 ] [188])) You need to backtrack before that point to s

[SH] ICE compiling pr34330 testcase for sh-linux-gnu

2009-07-09 Thread Andrew Stubbs
I'm having trouble with an ICE, and I'm hoping somebody can enlighten me. Given the following command: cc1 -fpreprocessed ../pr34330.i -quiet -dumpbase pr34330.c -da -mb -auxbase-strip pr34330.c -Os -version -ftree-parallelize-loops=4 -ftree-vectorize -o pr34330.s -fschedule-insns I get an i