> cat bug.ii
struct S {
        S() {}
};
S f() {
        static S s;
        return s;
}

> g++ -O bug.ii
bug2.ii: In function ‘S f()’:
bug2.ii:6: internal compiler error: in set_mem_attributes_minus_bitpos, at
emit-rtl.c:1573


-- 
           Summary: ICE in set_mem_attributes_minus_bitpos
           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=32304

Reply via email to