https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66358
Oleg Endo <olegendo at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-06-18 Ever confirmed|0 |1 --- Comment #13 from Oleg Endo <olegendo at gcc dot gnu.org> --- (In reply to Kazumoto Kojima from comment #5) > Created attachment 35673 [details] > original test case > > My sh-elf compiler > > COLLECT_GCC=../xsh-elf-combined/build/gcc/xgcc > Target: sh-unknown-elf > Configured with: /exp/ldroot/dodes/xsh-elf-combined/combined/configure > --target=sh-unknown-elf --disable-libssp --disable-libgomp > --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --enable-languages=c,c++ > --disable-shared --with-newlib --disable-nls > --prefix=/exp/ldroot/dodes/xsh-elf-combined/install --with-headers=yes > --disable-gdbtk --with-mpfr=/opt2/i686-pc-linux-gnu > --with-gmp=/opt2/i686-pc-linux-gnu --without-libgloss > Thread model: single > gcc version 6.0.0 20150531 (experimental) (GCC) > > can reproduce it with -O2 -fpic -m4 -ml, though the bug looks a bit > fragile like as other RA related bugs. I've attached unreduced test > case. sh-elf compiler ICEs for this test case even with -O2 only here. Confirmed with gcc version 6.0.0 20150617 (experimental) (GCC)