Trying to compile the attached file with 4.2.1 20070712 fails with -O2:
-O works. vital_timing.cc: In function 'array_type<long long int> L4ieee_Q12vital_timing_Y22vitalextendtofilldelay_i259(const array_type<long long int>&)': vital_timing.cc:1055: internal compiler error: in calc_dfs_tree, at dominance.c:374 Or, when using the properly pre-processed file: vital_timing.i: In function 'array_type<long long int> L4ieee_Q12vital_timing_Y22vitalextendtofilldelay_i259(const array_type<long long int>&)': vital_timing.i:21623: internal compiler error: in calc_dfs_tree, at dominance.c:374 -- Summary: ICE: calc_dfs_tree, at dominance.c:374 Product: gcc Version: 4.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mi at aldan dot algebra dot com GCC build triplet: x86_64-portbld-freebsd6.2 GCC host triplet: x86_64-portbld-freebsd6.2 GCC target triplet: x86_64-portbld-freebsd6.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33195