The following trivial testcase crashes the compiler when using the options "-fmudflap -fprofile-arcs":
================== void foo() {} ================== With the C++ frontend I get the following error: g++: Internal error: Segmentation fault (program cc1plus) Please submit a full bug report. See <URL:http://gcc.gnu.org/bugs.html> for instructions. With the C frontend I get the following instead: bug.cc: In function '_GLOBAL__I_1_foo': bug.cc:1: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. The bug dates back to GCC 4.0.0 (when "-fmudflap" was introduced). -- Summary: ICE with "-fmudflap -fprofile-arcs" Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, monitored Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34617