https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81113
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Keywords| |ice-on-valid-code
Target Milestone|--- |6.5
Status|UNCONFIRMED |RESOLVED
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=85496
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed in GCC 6.5, 7.3, 8+ by the patch which fixed PR 85496.
The code is not the best generated code but works though.