http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47489
Summary: ICE in print_pattern, at sched-vis.c:602 (affecting mips, with slim RTL dumps) Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: rtl-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: m...@joachim-breitner.de Hi, I have hit a ICE and could reduce it to the following minimal example: $ cat bug-demo.c int func() { return 0; } $ build-mips/gcc/cc1 -O1 -fdump-rtl-mach-slim bug-demo.c func Analyzing compilation unit Performing interprocedural optimizations <*free_lang_data> <visibility> <early_local_cleanups> <emutls> <whole-program> <ipa-profile> <inline> <pure-const> <static-var>Assembling functions: func bug-demo.c: In function ‘func’: bug-demo.c:3:1: internal compiler error: in print_pattern, at sched-vis.c:602 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. It does not happen with -fdump-rtl-mach, i.e. without slim. I could not reproduce it by passing individual "-f..." flags instead of -O2, even though the output of "--help", which mentions which flags are enabled/disabled, is identical. This is gcc-4.6 snapshot 20101225, configured using the command line: ../gcc-4.6-20101225/configure --prefix=$PWD/../install --disable-bootstrap --disable-multilib --enable-stage1-languages=c --disable-lib{gcj,ada,ssp,mudflap,gomp} --enable-languages=c --target=mips-linux Thanks, Joachim