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

           Summary: [C++0x] ICE with constexpr default constructor and
                    array member
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: paolo.carl...@oracle.com


This is just a link to this issue

  http://gcc.gnu.org/ml/gcc/2010-11/msg00135.html
  http://gcc.gnu.org/ml/gcc/2010-11/msg00136.html

which we don't want to forget. To repeat:

struct A
{
  int arr[1];

  constexpr A()
  : arr() { }
};

u.C: In constructor ‘constexpr A::A()’:
u.C:6:13: internal compiler error: in build_data_member_initialization, at
cp/semantics.c:5499

I'm adding Jason in CC.

Reply via email to