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

Alexander Monakov <amonakov at gcc dot gnu.org> changed:

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

--- Comment #14 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Indeed, I agree the documentation should mention that (I can write a patch).
IIRC 'volatile register' also does not behave intuitively (I'll try to double
check).

I'm unsure about a warning, it seems "doing it right" might require changes in
both C and C++ frontends, and issuing a warning only if an asm statement using
the register variable is present?

Adding Jakub to Cc.

Reply via email to