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++/32300] New: ICE with -O2 -fsee


> cat bug.ii
struct vector {
        int *start, *finish;
        unsigned long size() { return finish - start; }
};
void f(vector& v) {
        for (unsigned i = 0; i < v.size(); ++i);
}

> g++ -O2 -fsee bug.ii
bug.ii: In function ?void f(vector&)?:
bug.ii:7: internal compiler error: Segmentation fault

This started failing in the last couple of days.
I'm compiling on linux_x86_64.


-- 
           Summary: ICE with -O2 -fsee
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: wouter dot vermaelen at scarlet dot be


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32300


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