https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59660
--- Comment #19 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 61217 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61217&action=edit Patch which fixes the C front-end part Still looking into the C++ (or post this patch) part. But at least we are able to optimize the testcase correctly without that.