https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88661

            Bug ID: 88661
           Summary: No brace ellision performed when aggregate is
                    initialized inside of struct
           Product: gcc
           Version: 5.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: igor.chorazewicz at intel dot com
  Target Milestone: ---

The following code produces "error: array must be initialized with a
brace-enclosed initializer":

struct array {
    int data[3];
};

struct X {
    array a = {1,2,3};
};

Reply via email to