[PATCH] New attribute to create target clones

Evgeny Stupachenko evstupac@gmail.com
Tue Nov 3 11:45:00 GMT 2015


Some tests in the patch already updated (ifunc require condition
added) by Uros commit: ac39b078992c27934ea53cb580dbd79f75b6c727

I'll ask to commit attached patch.
x86 bootstrap and make check passed.

2015-11-03  Evgeny Stupachenko  <evstupac@gmail.com>

gcc/
        * multiple_target.c (create_dispatcher_calls): Add target check
        on ifunc.
        (create_target_clone): Change assembler name for versioned declarations.

gcc/testsuite
        * g++.dg/ext/mvc4.C: Add dg-require-ifunc condition.
        * gcc.target/i386/mvc5.c: Ditto.
        * gcc.target/i386/mvc7.c: Add dg-require-ifunc condition and checks on
        resolver.

Thanks,
Evgeny

On Mon, Nov 2, 2015 at 8:02 PM, Jeff Law <law@redhat.com> wrote:
> On 11/02/2015 07:50 AM, Evgeny Stupachenko wrote:
>>
>> 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.
>>
> OK.
>
> jeff
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: target_clones_tests_fix.patch
Type: application/octet-stream
Size: 2425 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20151103/544606ae/attachment.obj>


More information about the Gcc-patches mailing list