Fix some testsuite failures on x86-64

Andreas Jaeger aj@suse.de
Tue Nov 11 16:14:00 GMT 2003


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20031111/9ed873ad/attachment.sig>


More information about the Gcc-patches mailing list