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

            Bug ID: 82512
           Summary: attribute alias warning suppressed (the wrong way)
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bernd.edlinger at hotmail dot de
  Target Milestone: ---

$ cat test.c
int f(int) __attribute__((alias("z")));
float z()
{
  return 0;
}
$ gcc -Wall -W -c test.c
no warning.

I think this is actually unintentional

Reply via email to