https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122058
--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >10 works and >=11 fails. I haven't bisected between 10 and 11 yet. So modref was introduced in GCC 11, at r11-3308-gd119f34c952f87 and this has the feeling of an aliasing violation.
