https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107920
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #3) > Which was added by r13-1055-g494bec025002df . > > The question becomes is gimple folding allowed to add MEM references here or > not? No other target (or even base builtins) has a gimple folder that is conditional based on the input that adds a load as far as I see which is one of the reasons why this was not hit before. I suspect anytime we invoke the gimple folder, we might run into this issue .....