https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94920
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |13.0 --- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #8) > Oh I see the issue. it is not related at all to logical-op-non-short-circuit > but rather than the testcase should be split into two, one for the scalar > and one for the vector case. And then the vector case should match not at > optimized but right before vector lowering happens, maybe in forwprop1 or 2. That was fixed in r13-6927-gad32fcb8e91ba85cb4676c62 So all fixed in GCC 13.