https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103882
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- noipa might help also. Though I can't remember if the IPA RA checks that (it should).
pinskia at gcc dot gnu.org via Gcc-bugs Fri, 31 Dec 2021 12:51:55 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103882
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- noipa might help also. Though I can't remember if the IPA RA checks that (it should).