i686-linux-gnu, with trunk 20090620: Matthias
/scratch/packages/gcc/snap/gcc-snapshot-20090620/build/gcc/xgcc -B/scratch/packages/gcc/snap/gcc-snapshot-20090620/build/gcc/ -O2 -std=gnu99 -fwhole-program --combine -c -o mksh.o edit.i eval.i exec.i expr.i funcs.i histrap.i jobs.i lalloc.i lex.i main.i misc.i shf.i syn.i tree.i var.i ../../mksh/jobs.c: In function 'exchild': ../../mksh/jobs.c:458:4: warning: ignoring return value of 'nice', declared with attribute warn_unused_result ../../mksh/var.c: In function 'ktnext': ../../mksh/var.c:1372:1: error: invalid conversion in return statement struct tbl * struct tbl * return D.104473_1; ../../mksh/var.c:1372:1: internal compiler error: verify_stmts failed Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-snapshot/README.Bugs> for instructions. with 4.4 branch: $ gcc-4.4 -O2 -std=gnu99 -fwhole-program --combine -c -o mksh.o edit.i eval.i exec.i expr.i funcs.i histrap.i jobs.i lalloc.i lex.i main.i misc.i shf.i syn.i tree.i var.i../../mksh/jobs.c: In function 'exchild': ../../mksh/jobs.c:458: warning: ignoring return value of 'nice', declared with attribute warn_unused_result ../../mksh/edit.c: In function 'vi_cmd': /usr/include/bits/string3.h:56: sorry, unimplemented: inlining failed in call to 'memmove': function body not available ../../mksh/edit.c:4135: sorry, unimplemented: called from here /usr/include/bits/string3.h:56: sorry, unimplemented: inlining failed in call to 'memmove': function body not available ../../mksh/edit.c:4139: sorry, unimplemented: called from here /usr/include/bits/string3.h:49: sorry, unimplemented: inlining failed in call to 'memcpy': redefined extern inline functions are not considered for inlining ../../mksh/edit.c:4170: sorry, unimplemented: called from here /usr/include/bits/string3.h:49: sorry, unimplemented: inlining failed in call to 'memcpy': redefined extern inline functions are not considered for inlining ../../mksh/edit.c:4173: sorry, unimplemented: called from here /usr/include/bits/string3.h:56: sorry, unimplemented: inlining failed in call to 'memmove': function body not available ../../mksh/edit.c:5095: sorry, unimplemented: called from here ../../mksh/lex.c:955: confused by earlier errors, bailing out -- Summary: ICE with -fwhole-program --combine (verify_stmts failed) Product: gcc Version: 4.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: debian-gcc at lists dot debian dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40506