[Bug c++/67064] Register asm variable broken

daniel.gutson at tallertechnologies dot com gcc-bugzilla@gcc.gnu.org
Thu Jul 30 18:27:00 GMT 2015


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

--- Comment #9 from Daniel Gutson <daniel.gutson at tallertechnologies dot com> ---
Thanks Ville and Jens for looking into this.
I'll be able to fix this during next week, so if nobody is available to solve
this sooner, then please assign it to me.

Regarding the global register variables, it's a GNU C extension (see
https://gcc.gnu.org/onlinedocs/gcc/Explicit-Reg-Vars.html), but I think it
should be rejected when compiling in strict mode (e.g. -ansi or -std=c++14). I
think this should be filed as a separate issue.



More information about the Gcc-bugs mailing list