[Bug c/81854] weak alias of an incompatible symbol accepted
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Sep 21 10:15:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81854
--- Comment #11 from Uroš Bizjak <ubizjak at gmail dot com> ---
gcc.target/i386/pr80732.c fails with:
pr80732.c:46:8: warning: ‘f2’ ‘ifunc’ resolver should return a function pointer
[-Wattributes]
double f2(double a, double b, double c) __attribute__((ifunc("f2_resolve")));
^~
pr80732.c:37:14: note: resolver declaration here
static void *f2_resolve(void)
^~~~~~~~~~
More information about the Gcc-bugs
mailing list