https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112505
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |11.1.0, 11.4.0 Keywords| |ice-on-valid-code, | |needs-bisection Ever confirmed|0 |1 Known to fail| |12.1.0 Target Milestone|--- |12.4 Summary|GCC: 14: internal compiler |[12/13/14 Regression] |error: in |internal compiler error: in |build_vector_from_val, at |build_vector_from_val, at |tree.cc:2104 |tree.cc:2104 Status|UNCONFIRMED |NEW Last reconfirmed| |2023-11-13 Component|c |tree-optimization --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Simplier testcase: ``` short int w9; struct T { short a : 14; int b; }; struct T v; void zc() { for(int i = 0; i < 4; i ++) w9 *= v.b ? v.a-- < 0 : 0; } ``` Just compiler at `-O3 -fno-vect-cost-model` <unnamed-unsigned:14> _30; vector(4) unsigned short _31; ... _31 = {_60, _59, _2, _30}; _52 = (vector(4) signed short) _31;