I just tried to compile the Suse Linux package ccscript3-1.0.9 with the GNU C++ compiler version 4.4 snapshot 20080829
The compiler said testscript.cpp: In function 'virtual void shInterp::waitThread()': testscript.cpp:213: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Pre-processed source code attached. Flag -O3 required. Here is valgrind output for the crash. ==17433== Invalid read of size 2 ==17433== at 0x926599: decl_function_context (tree.c:6666) ==17433== by 0x61760C: df_get_entry_block_def_set (df-scan.c:3415) ==17433== by 0x61E497: df_scan_blocks (df-scan.c:637) ==17433== by 0x60D291: rest_of_handle_df_initialize (df-core.c:746) ==17433== by 0x751B21: execute_one_pass (passes.c:1277) ==17433== by 0x751D54: execute_pass_list (passes.c:1325) ==17433== by 0x751D6C: execute_pass_list (passes.c:1326) ==17433== by 0x82064B: tree_rest_of_compilation (tree-optimize.c:418) ==17433== by 0x991E6F: cgraph_expand_function (cgraphunit.c:1039) ==17433== by 0x993BDC: cgraph_optimize (cgraphunit.c:1101) ==17433== by 0x4A0714: cp_write_global_declarations (decl2.c:3608) ==17433== by 0x7D2DD6: toplev_main (toplev.c:979) ==17433== Address 0x0 is not stack'd, malloc'd or (recently) free'd -- Summary: ice for legal C++ code Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dcb314 at hotmail dot com GCC host triplet: suse-linux-x86_64 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37365