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

Martin Uecker <uecker at eecs dot berkeley.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |uecker at eecs dot berkeley.edu

--- Comment #4 from Martin Uecker <uecker at eecs dot berkeley.edu> ---
One other simply fix would be to simple remove the error in varasm.c.
This then allows also register variables without __asm
at file scope but does not seem to have any other
negative effect. Register at file scope is also already
diagnosed by the C FE when using --pedantic, so at some
point this was supposed to work I think.


There is a proposal for C2x which would allow
register at file scope:

http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2486.htm

Reply via email to