[Bug rtl-optimization/44281] [4.9/5/6 Regression] Global Register variable pessimisation

bernds at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 29 15:26:00 GMT 2016


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

Bernd Schmidt <bernds at gcc dot gnu.org> changed:

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

--- Comment #24 from Bernd Schmidt <bernds at gcc dot gnu.org> ---
There is a possibility to fix it, but concerns that doing so would be invalid
in the presence of signal handlers that want to access the global reg.
Discussion here:

https://gcc.gnu.org/ml/gcc-patches/2016-02/msg01401.html

Therefore, WONTFIX. I think the real recommendation here is not to use global
register vars.


More information about the Gcc-bugs mailing list