In the testsuite/gcc.dg compiling test cases pr34668-1.c and pr34668-2.c with options -combine -O2 with --enable-checking=yes I got an ICE as in the following:
NOTICE --enable-checking=yes AND -O2 necessary for bug to appear [vitti gcc.dg]$gcc -v Using built-in specs. COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/home/vitti/local/gcc-4.5.0/libexec/gcc/x86_64-redhat-linux/4.5.0/lto-wrapper Target: x86_64-redhat-linux Configured with: /home/vitti/gcc-4.5.0/configure --prefix=/home/vitti/local/gcc-4.5.0 --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=yes --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,fortran --enable-java-awt=gtk --disable-dssi --disable-lto --without-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 4.5.0 (GCC) [vitti gcc.dg]$gcc pr34668-1.c pr34668-2.c -c -combine [vitti gcc.dg]$gcc pr34668-1.c pr34668-2.c -c -combine -O0 [vitti gcc.dg]$gcc pr34668-1.c pr34668-2.c -c -combine -O1 [vitti gcc.dg]$gcc pr34668-1.c pr34668-2.c -c -combine -O [vitti gcc.dg]$gcc pr34668-1.c pr34668-2.c -c -combine -O2 pr34668-2.c: In function ‘set_conv_libfunc’: pr34668-2.c:5:15: error: type mismatch in array reference struct optab struct optab # .MEM_3 = VDEF <.MEM_1(D)> optab_table[0].code = 57005; pr34668-2.c:5:15: internal compiler error: verify_stmts failed Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Can you please look into it? Best regards Vittorio Zecca -- Summary: ICE verify_stmts failed with --enable-checking=yes Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zeccav at gmail dot com GCC host triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44395