https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95967
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pinskia at gcc dot gnu.org --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 50891 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50891&action=edit Start of the patch which should fix most of it This patch which should fix the majority of the problem though I have not tested it on the testcase. Basically it takes the BIT_INSERT_EXPR's and "combines" them such that they become a CONSTRUCTOR. I am still deciding if this belongs in reassoc or as part of forwprop.