This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] New attribute to create target clones
- From: Dominique d'HumiÃres <dominiq at lps dot ens dot fr>
- To: Evgeny Stupachenko <evstupac at gmail dot com>
- Cc: Jeff Law <law at redhat dot com>, Jan Hubicka <hubicka at ucw dot cz>, Bernd Schmidt <bschmidt at redhat dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 2 Nov 2015 16:22:13 +0100
- Subject: Re: [PATCH] New attribute to create target clones
- Authentication-results: sourceware.org; auth=none
- References: <2162EEAE-7C34-4AAE-B1FD-BDB9F9EC4860 at lps dot ens dot fr> <CAOvf_xyhicueMFY2FLZHCAhyhONEBoZ1NYEm3ryrH4X8hWFaBA at mail dot gmail dot com>
Evgeny,
I have already checked that the addition of
+/* { dg-require-ifunc "" } */
fixes the failures. Iâll test your full patch later today (currently chasing regression with gfortran).
Thanks,
Dominique
> Le 2 nov. 2015 Ã 15:50, Evgeny Stupachenko <evstupac@gmail.com> a Ãcrit :
>
> Yes, that is exactly what should fix the tests.
> Unfortunately I don't have access to darwin machine right now.
> Can you please test if the patch (attached) fixes the tests?
>
> gcc/
> * multiple_target.c (create_dispatcher_calls): Add target check
> on ifunc.
> (create_target_clone): Change assembler name for versioned declarations.
>
> gcc/testsuite
> * gcc.dg/mvc1.c: Add dg-require-ifunc condition.
> * gcc.dg/mvc4.c: Ditto.
> * gcc.dg/mvc5.c: Ditto.
> * g++.dg/ext/mvc1.C: Ditto.
> * g++.dg/ext/mvc4.C: Ditto.
> * gcc.dg/mvc7.c: Add dg-require-ifunc condition and checks on resolver.
>
> Thanks,
> Evgeny
>