https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109045
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- GCC does optimize much dealing with assume and function calls really so this is not really shocking.
pinskia at gcc dot gnu.org via Gcc-bugs Mon, 06 Mar 2023 11:35:43 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109045
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- GCC does optimize much dealing with assume and function calls really so this is not really shocking.