This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/25945] New: ICE Segmentation fault with -fmudflap
- From: "wouter dot vermaelen at pi dot be" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jan 2006 15:42:25 -0000
- Subject: [Bug c++/25945] New: ICE Segmentation fault with -fmudflap
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
--- test.cc ------------------
struct A { ~A() {} };
A f(const A& a);
struct B {
bool g(const A&);
int i;
};
bool B::g(const A& a) {
g(f(a));
g(a);
i = 0;
}
-------------------------------
> g++ -fmudflap test.cc
test.cc: In member function 'bool B::g(const A&)':
test.cc:10: internal compiler error: Segmentation fault
> g++ --version
g++ (GCC) 4.0.3 20060115 (prerelease) (Debian 4.0.2-7)
I can't reproduce this with '4.0.1' or with '4.2.0 20060124'. So possibly the
bug is already fixed.
--
Summary: ICE Segmentation fault with -fmudflap
Product: gcc
Version: 4.0.3
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: wouter dot vermaelen at pi dot be
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25945