The attached file causes the compiler to crash at -O2: $ cc1 -O2 default.i [...] Analyzing compilation unit Performing intraprocedural optimizations Assembling functions: get_defaults_files free_defaults search_default_file_with_ext search_default_file load_defaults print_defaults
default.c: In function ‘print_defaults’: default.c:535: internal compiler error: in get_indirect_ref_operands, at tree-ssa-operands.c:1449 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. This is a regression in GCC 4.0.0. GCC 3.4.4 can compile the same code with no problems. -- Summary: ICE in get_indirect_ref_operands Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pb at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-linux GCC host triplet: i686-linux GCC target triplet: i586-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22032