http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50876
--- Comment #15 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-10-27 17:23:00 UTC --- (In reply to comment #13) > Can you check the patch I just posted which corrects one argument > counting bug as well? The patch from http://gcc.gnu.org/ml/gcc-patches/2011-10/msg02470.html doesn't eliminate... FAIL: gcc.dg/lto/20090120 c_lto_20090120_0.o-c_lto_20090120_0.o execute -flto -funsigned-char FAIL: gcc.dg/lto/20100720-4 c_lto_20100720-4_0.o-c_lto_20100720-4_0.o link, -flto -funsigned-char (internal compiler error) The second appears as... Executing on host: /sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/gcc/xgcc -B/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/gcc/ -O2 -flto -flto-partition=none -c -m32 -o c_lto_20090210_0.o /sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20111027/gcc/testsuite/gcc.dg/lto/20090210_0.c (timeout = 300) /FAIL In file included from :0:0:^M /sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20111027/gcc/testsuite/gcc.dg/lto/20100720-4_0.c: In function 'foo':^M /sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20111027/gcc/testsuite/gcc.dg/lto/20100720-4_0.c:8:1: error: mismatching comparison operand types^M char^M unsigned char^M D.2216_3 = D.2215_2 != 45;^M ^M /sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20111027/gcc/testsuite/gcc.dg/lto/20100720-4_0.c:8:1: internal compiler error: verify_gimple failed^M Please submit a full bug report,^M with preprocessed source if appropriate.^M See <http://gcc.gnu.org/bugs.html> for instructions.^M lto-wrapper: /sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/gcc/xgcc returned 1 exit status^M collect2: error: lto-wrapper returned 1 exit status^M compiler exited with status 1 output is: In file included from :0:0:^M /sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20111027/gcc/testsuite/gcc.dg/lto/20100720-4_0.c: In function 'foo':^M /sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20111027/gcc/testsuite/gcc.dg/lto/20100720-4_0.c:8:1: error: mismatching comparison operand types^M char^M unsigned char^M D.2216_3 = D.2215_2 != 45;^M ^M /sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20111027/gcc/testsuite/gcc.dg/lto/20100720-4_0.c:8:1: internal compiler error: verify_gimple failed^M Please submit a full bug report,^M with preprocessed source if appropriate.^M See <http://gcc.gnu.org/bugs.html> for instructions.^M lto-wrapper: /sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/gcc/xgcc returned 1 exit status^M collect2: error: lto-wrapper returned 1 exit status^M FAIL: gcc.dg/lto/20100720-4 c_lto_20100720-4_0.o-c_lto_20100720-4_0.o link, -flto -funsigned-char (internal compiler error) Strangely, while this is reproducible in lto.exp at -m32, I can't seem to reproduce it manually on the command line.