[Bug c/117197] ICE: 'verify_gimple' failed with vector_size

2024-10-18 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117197 --- Comment #4 from Joseph S. Myers --- On the whole I'd expect vector initializers to work like structure ones: that a vector can be initialized either with another vector of the same type, or with brace-enclosed scalars, and that inside a brac

[Bug c/117197] ICE: 'verify_gimple' failed with vector_size

2024-10-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117197 --- Comment #3 from Richard Biener --- struct b { __attribute__((vector_size(4))) int a; }; int c; void d() { struct b e = {0, 1, 2, 3}; } shows t.c: In function ā€˜d’: t.c:5:29: warning: excess elements in struct initializer 5 | void d()

[Bug c/117197] ICE: 'verify_gimple' failed with vector_size

2024-10-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117197 Richard Biener changed: What|Removed |Added Keywords||wrong-code CC|

[Bug c/117197] ICE: 'verify_gimple' failed with vector_size

2024-10-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117197 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Ever confirmed|0