Bug 25945 - ICE Segmentation fault with -fmudflap
Summary: ICE Segmentation fault with -fmudflap
Status: RESOLVED DUPLICATE of bug 19266
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: 4.0.3
: P3 minor
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-24 15:42 UTC by Wouter Vermaelen
Modified: 2006-01-24 15:50 UTC (History)
9 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wouter Vermaelen 2006-01-24 15:42:25 UTC
--- 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.
Comment 1 Andrew Pinski 2006-01-24 15:50:04 UTC

*** This bug has been marked as a duplicate of 17533 ***
Comment 2 Andrew Pinski 2006-01-24 15:50:25 UTC
woops wrong bug.
Comment 3 Andrew Pinski 2006-01-24 15:50:51 UTC

*** This bug has been marked as a duplicate of 19266 ***