This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/81214] GCC target_clone support does not work for global functions with no references
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 03 Jul 2017 13:42:14 +0000
- Subject: [Bug ipa/81214] GCC target_clone support does not work for global functions with no references
- Auto-submitted: auto-generated
- References: <bug-81214-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81214
--- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #6)
> At revision r249851 I see the following regression on darwin
>
> FAIL: gcc.target/i386/mvc6.c (test for excess errors)
> UNRESOLVED: gcc.target/i386/mvc6.c scan-assembler punpcklbw
> UNRESOLVED: gcc.target/i386/mvc6.c scan-assembler vpshufb
>
> % gcc8 -c -O3 /opt/gcc/_clean/gcc/testsuite/gcc.target/i386/mvc6.c
> /opt/gcc/_clean/gcc/testsuite/gcc.target/i386/mvc6.c:8:1: error: the call
> requires ifunc, which is not supported by this target
> foo(char *in, char *out, int size)
> ^~~
>
> I suspect this to be caused by revision r249840.
Fixed by Rainer's commit r249912.