[Bug c/113106] Missing CSE with cast to volatile

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 21 12:50:29 GMT 2023


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113106

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu.org

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
The situation with address-spaces isn't valid as we need to preserve the second
load because it's volatile.  I think we simply refuse to combine
volatile loads out of caution in the first case.


More information about the Gcc-bugs mailing list