[Bug lto/66295] [5/6/7 Regression] LTO generates incorrect resolver call for function multiversioning
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 31 10:59:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66295
--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
__attribute__((target("default"))) int foo() { return 1; }
__attribute__((target("arch=core2"))) int foo() { return 2; }
int main() {
if (foo() != 1 && foo() != 2)
__builtin_abort();
}
More information about the Gcc-bugs
mailing list