https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Daniel Gutson from comment #9)
> 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.
Those flags only disable extensions that interfere with well-formed code. To
reject extensions, you want the -Werror=pedantic flag.