[Bug middle-end/51009] New: [4.7 Regression] ICE in verify_gimple_stmt

reichelt at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 7 15:41:00 GMT 2011


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

             Bug #: 51009
           Summary: [4.7 Regression] ICE in verify_gimple_stmt
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: reichelt@gcc.gnu.org


The following code snippet triggers an ICE on trunk:

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

struct B
{
  A a;
  B(const A& = A());
};

struct C
{
  B b1, b2;
};

C c = {};
===========================

bug.cc: In function 'void __static_initialization_and_destruction_0(int, int)':
bug.cc:17:9: internal compiler error: in verify_gimple_stmt, at tree-cfg.c:4188
Please submit a full bug report, [etc.]



More information about the Gcc-bugs mailing list