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 tree-optimization/22404] New: [4.1 regression] ICE in first_vi_for_offset


Yet another ICE in first_vi_for_offset. Compile the following code snippet
with "g++ -O":

=========================
struct A { A(); };

struct B : A
{
    A a;
};

struct C : B { };

C c;
=========================

bug.cc: In function 'void __static_initialization_and_destruction_0(int, int)':
bug.cc:10: internal compiler error: in first_vi_for_offset, at
tree-ssa-structalias.c:2829
Please submit a full bug report, [etc.]

Probably different from PR22277, since I can trigger PR22277 with a 20050709
snapshot, but not the one above (which I can trigger since 20050710).

Actually the problem seems to be related to PR22071.

-- 
           Summary: [4.1 regression] ICE in first_vi_for_offset
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org
                CC: dberlin at gcc dot gnu dot org,gcc-bugs at gcc dot gnu
                    dot org


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


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