https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101758 --- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 51253 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51253&action=edit Better patch here is the better patch which also handles the alignment check :).