This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [google] Specify target as ix86 or x86_64 for test builtin_target.c (issue5174041)


Moving test gcc.target/i386

	* testsuite/gcc.dg/builtin_target.c: Remove.
	* testsuite/gcc.target/i386/builtin_target.c: New file.

On Fri, Sep 30, 2011 at 2:33 PM, Richard Henderson <rth@redhat.com> wrote:
> On 09/30/2011 02:09 PM, Sriraman Tallam wrote:
>> ? ? ? * testsuite/gcc.dg/builtin_target.c: Specify target as ix86 or
>> ? ? ? x86_64.
>>
>> Index: gcc.dg/builtin_target.c
>> ===================================================================
>> --- gcc.dg/builtin_target.c ? (revision 179400)
>> +++ gcc.dg/builtin_target.c ? (working copy)
>> @@ -1,6 +1,6 @@
>> ?/* This test checks if the __builtin_cpu_* calls are recognized. */
>>
>> -/* { dg-do run } */
>> +/* { dg-do run { target i?86-*-* x86_64-*-* } } */
>
> This is an indication that the test is in the wrong place.
> It should be in gcc.target/i386/

Sorry, did not realize.


>
>
> r~
>

Attachment: patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]