[Bug c++/69302] parentheses cause address of register variable to be requested (c++1y)

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 5 00:42:04 GMT 2021


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
   Target Milestone|---                         |8.0
         Resolution|---                         |FIXED

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed in GCC 8+.

Note GCC11+ default to C++17 and register storage class is rejected.


More information about the Gcc-bugs mailing list