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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-invalid-code         |ice-on-valid-code

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I think this code is valid though.

Slightly better/easier testcase:
```
typedef __attribute__((vector_size(sizeof(int)))) int v1si;

struct s1 {
  int a;
  v1si c { a };
};
s1 b1;
constexpr s1 b{1};
```

I think we don't treat vector constructors as possible constexpr.

Reply via email to