This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/25945] New: ICE Segmentation fault with -fmudflap


--- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]