This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/34617] New: ICE with "-fmudflap -fprofile-arcs"
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Dec 2007 00:24:31 -0000
- Subject: [Bug middle-end/34617] New: ICE with "-fmudflap -fprofile-arcs"
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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