[Bug c/82512] New: attribute alias warning suppressed (the wrong way)
bernd.edlinger at hotmail dot de
gcc-bugzilla@gcc.gnu.org
Wed Oct 11 06:11:00 GMT 2017
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
More information about the Gcc-bugs
mailing list