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

--- Comment #1 from Jeremy Maitin-Shepard <jeremy at jeremyms dot com> ---
With gcc 4.9.1:

The following test program produces an ICE:

typedef unsigned long limb_t __attribute__ ((__vector_size__ (16),
__may_alias__));

struct X {
  limb_t limb = {1,1};
};

const X table[1][1] = {{ {} }};


g++ -std=c++11 -c test.cpp

test.cpp:7:31: internal compiler error: output_operand: invalid expression as
operand
 const X table[1][1] = {{ {} }};
                               ^

With gcc 4.9.0, the program compiles correctly.

Reply via email to