[Bug c/82323] circular ifunc attribute on a function definition silently accepted
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Oct 11 22:23:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82323
--- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> ---
(In reply to Bernd Edlinger from comment #6)
Sounds reasonable. I put the following example together to illustrate an
incompatible alias declaration that should be diagnosed but isn't.
char* f (void) __attribute__ ((alias ("g"))); // missing -Wattribute-alias
int g (s)
char *s;
{
return __builtin_strlen (s);
}
More information about the Gcc-bugs
mailing list