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: Fix some testsuite failures on x86-64


Jakub Jelinek <jakub@redhat.com> writes:

>> --- testsuite/gcc.dg/20030926-1.c	26 Sep 2003 18:23:33 -0000	1.1
>> +++ testsuite/gcc.dg/20030926-1.c	11 Nov 2003 15:45:01 -0000
>> @@ -1,6 +1,6 @@
>>  /* PR optimization/11741  */
>>  /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
>> -/* { dg-options "-O2 -minline-all-stringops -march=pentium4" } */
>> +/* { dg-options "-O2 -minline-all-stringops -march=k8" } */
>
> This certainly doesn't seem to be right.

Looking at the testcase, you're right, this changes it.

> I'd go with:
> /* { dg-options "-O2 -minline-all-stringops" } */
> /* { dg-options "-O2 -minline-all-stringops -march=pentium4" { target i?86-*-* } } */
>
> or something like that.

Does the above work?  I didn't know that - and if it does, it looks
fine.  We could do the same for the other testcase...

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


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