https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112367
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Target Milestone|--- |12.0
Component|c |middle-end
Resolution|--- |FIXED
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed for GCC 12 via r12-4764-ga84b9d5373c7e67fd0ab2a412 (aka PR 57245). Since
this is not a regression it was not backported to earlier versions.
Also GCC 6 is definitely no longer supported and a newer version should be
used/tried before reporting a bug.