[Bug rtl-optimization/124441] The `volatile` keyword will block the optimization of replacing temporary variables in the `expand/TER` RTL pass.

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 11 03:21:21 GMT 2026


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Also this is someone who just wanted to write this assembler directly but with
c++.

I think the snappy code is specific for the compiler version too.

This code all seems should just be in c and let the compiler do the
optimization but Google is google.


More information about the Gcc-bugs mailing list