[Bug ipa/94656] target_clones on alias leads to segfault in the compiler
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Apr 20 07:19:12 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94656
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Last reconfirmed| |2020-04-20
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 10 now rejects this:
> ./cc1 -quiet x.c
x.c:6:52: error: clones for ‘target_clones’ attribute cannot be created
6 | __attribute__((target_clones("default,avx"))) void f2()
__attribute__((alias("f1")));
| ^~
x.c:6:52: note: ‘target_clones’ cannot be combined with ‘alias’ attribute
so likely a duplicate bug and a backport is missing.
More information about the Gcc-bugs
mailing list