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

Vincent Lefèvre <vincent-gcc at vinc17 dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vincent-gcc at vinc17 dot net

--- Comment #19 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> ---
(In reply to Jonathan Wakely from comment #17)
> Clang does this now, with -Wreserved-identifier (N.B. singular, not
> "identifiers")

Clang's -Wreserved-identifier does not work correctly: I get no warnings with
the example from comment #15.

BTW, about this example, this should not necessarily be a function. For
instance,

int foo (void)
{
  int signbit = 0;
  return signbit;
}

should also trigger a warning.

Reply via email to