https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125295
--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> --- Code hoisting only is prevented for undefined behavior that traps. E.g. division. Preventing all code hoisting might be an issue.
pinskia at gcc dot gnu.org via Gcc-bugs Tue, 12 May 2026 16:16:00 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125295
--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> --- Code hoisting only is prevented for undefined behavior that traps. E.g. division. Preventing all code hoisting might be an issue.