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


Gernot Hillier <gernot.hillier@siemens.com> writes:

> Hi!
>
> Am Dienstag, 11. November 2003 17:04 schrieb Andreas Jaeger:
>> 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...
>
> I'm not sure if this is somehow related (sorry if not), but I encountered also 
> problems in 3.3 with (from my notes)...
>
> FAIL: gcc.dg/i386-mmx-3.c: error in compiler options (-march=athlon doesn't 
> work with AMD64) -> manual compile with -march=k8 works

Those should be fixed for CVS mainline, they use -march=k8 to avoid
this problem.

> FAIL: gcc.dg/i386-ssetype-1.c: error in compiler options (-march=athlon 
> doesn't work with AMD64) -> manual compile with -march=k8 works
> FAIL: gcc.dg/i386-ssetype-2.c: error in compiler options (-march=athlon 
> doesn't work with AMD64) -> manual compile with -march=k8 works
> FAIL: gcc.dg/i386-ssetype-3.c: error in compiler options (-march=athlon 
> doesn't work with AMD64) -> manual compile with -march=k8 works
> FAIL: gcc.dg/i386-ssetype-4.c: error in compiler options (-march=athlon 
> doesn't work with AMD64) -> manual compile with -march=k8 works
> FAIL: gcc.dg/i386-ssetype-5.c: error in compiler options (-march=athlon 
> doesn't work with AMD64) -> manual compile with -march=k8 works

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]