Skip to content

Commit

Permalink
re PR testsuite/20772 (x86 tests should run on both i?86 and x86_64)
Browse files Browse the repository at this point in the history
	PR testsuite/20772
	* g++.old-deja/g++.ext/attrib1.C, g++.old-deja/g++.ext/attrib2.C,
	g++.old-deja/g++.ext/attrib3.C,
	g++.old-deja/g++.other/store-expr1.C,
	g++.old-deja/g++.other/store-expr2.C, g++.dg/opt/longbranch2.C,
	gcc.dg/20000609-1.c, gcc.dg/20000720-1.c, gcc.dg/20011107-1.c,
	gcc.dg/20011119-1.c, gcc.dg/20020108-1.c, gcc.dg/20020122-2.c,
	gcc.dg/20020122-3.c, gcc.dg/20020201-3.c, gcc.dg/20020206-1.c,
	gcc.dg/20020218-1.c, gcc.dg/20020310-1.c, gcc.dg/20020411-1.c,
	gcc.dg/20020418-2.c, gcc.dg/20020426-1.c, gcc.dg/20020426-2.c,
	gcc.dg/20020517-1.c, gcc.dg/20020523-1.c, gcc.dg/20020523-2.c,
	gcc.dg/20020729-1.c, gcc.dg/20030204-1.c, gcc.dg/20030826-2.c,
	gcc.dg/20030926-1.c, gcc.dg/20031202-1.c, gcc.dg/980312-1.c,
	gcc.dg/980313-1.c, gcc.dg/990424-1.c, gcc.dg/990524-1.c,
	gcc.dg/991230-1.c, gcc.dg/i386-387-1.c, gcc.dg/i386-387-2.c,
	gcc.dg/i386-387-3.c, gcc.dg/i386-387-4.c, gcc.dg/i386-387-5.c,
	gcc.dg/i386-387-6.c, gcc.dg/i386-bitfield1.c,
	gcc.dg/i386-bitfield2.c, gcc.dg/i386-loop-1.c,
	gcc.dg/i386-loop-2.c, gcc.dg/i386-loop-3.c, gcc.dg/i386-pic-1.c,
	gcc.dg/i386-regparm.c, gcc.dg/i386-signbit-1.c,
	gcc.dg/i386-signbit-2.c, gcc.dg/i386-sse-5.c, gcc.dg/i386-sse-8.c,
	gcc.dg/i386-unroll-1.c, gcc.dg/tls/opt-1.c, gcc.dg/tls/opt-2.c,
	gcc.dg/unroll-1.c: Handle 32-bit x86-64 compilation.

From-SVN: r100225
  • Loading branch information
ajaeger authored and Andreas Jaeger committed May 26, 2005
1 parent 035b7cc commit a9f9113
Show file tree
Hide file tree
Showing 56 changed files with 145 additions and 110 deletions.
26 changes: 26 additions & 0 deletions gcc/testsuite/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
2005-05-26 Andreas Jaeger <aj@suse.de>

PR testsuite/20772
* g++.old-deja/g++.ext/attrib1.C, g++.old-deja/g++.ext/attrib2.C,
g++.old-deja/g++.ext/attrib3.C,
g++.old-deja/g++.other/store-expr1.C,
g++.old-deja/g++.other/store-expr2.C, g++.dg/opt/longbranch2.C,
gcc.dg/20000609-1.c, gcc.dg/20000720-1.c, gcc.dg/20011107-1.c,
gcc.dg/20011119-1.c, gcc.dg/20020108-1.c, gcc.dg/20020122-2.c,
gcc.dg/20020122-3.c, gcc.dg/20020201-3.c, gcc.dg/20020206-1.c,
gcc.dg/20020218-1.c, gcc.dg/20020310-1.c, gcc.dg/20020411-1.c,
gcc.dg/20020418-2.c, gcc.dg/20020426-1.c, gcc.dg/20020426-2.c,
gcc.dg/20020517-1.c, gcc.dg/20020523-1.c, gcc.dg/20020523-2.c,
gcc.dg/20020729-1.c, gcc.dg/20030204-1.c, gcc.dg/20030826-2.c,
gcc.dg/20030926-1.c, gcc.dg/20031202-1.c, gcc.dg/980312-1.c,
gcc.dg/980313-1.c, gcc.dg/990424-1.c, gcc.dg/990524-1.c,
gcc.dg/991230-1.c, gcc.dg/i386-387-1.c, gcc.dg/i386-387-2.c,
gcc.dg/i386-387-3.c, gcc.dg/i386-387-4.c, gcc.dg/i386-387-5.c,
gcc.dg/i386-387-6.c, gcc.dg/i386-bitfield1.c,
gcc.dg/i386-bitfield2.c, gcc.dg/i386-loop-1.c,
gcc.dg/i386-loop-2.c, gcc.dg/i386-loop-3.c, gcc.dg/i386-pic-1.c,
gcc.dg/i386-regparm.c, gcc.dg/i386-signbit-1.c,
gcc.dg/i386-signbit-2.c, gcc.dg/i386-sse-5.c, gcc.dg/i386-sse-8.c,
gcc.dg/i386-unroll-1.c, gcc.dg/tls/opt-1.c, gcc.dg/tls/opt-2.c,
gcc.dg/unroll-1.c: Handle 32-bit x86-64 compilation.

2005-05-26 Andreas Jaeger <aj@suse.de>

* gcc.c-torture/execute/ieee/ieee.exp: Set float-store for 32-bit
Expand Down
5 changes: 3 additions & 2 deletions gcc/testsuite/g++.dg/opt/longbranch2.C
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
// Originator: thor@math.tu-berlin.de

// { dg-do compile }
// { dg-options "-O3 -funroll-loops -mtune=k6 -fomit-frame-pointer" { target i?86-*-* } }
// { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } }
// { dg-options "-O3 -funroll-loops -mtune=k6 -fomit-frame-pointer" { target { i?86-*-* && ilp32 } } }
// { dg-options "-O3 -funroll-loops -mtune=k6 -fomit-frame-pointer" { target { x86_64-*-* && ilp32 } } }


// This used to fail to assemble because of an out-of-range 'loop' instructions.

Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/g++.old-deja/g++.ext/attrib1.C
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// { dg-do assemble { target i?86-*-* } }
// { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } }
// { dg-do assemble { target i?86-*-* x86_64-*-* } }
// { dg-require-effective-target ilp32 }
// Test for using prefix attributes in a parameter decl.
// Contributed by Jason Merrill <jason@cygnus.com>

Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/g++.old-deja/g++.ext/attrib2.C
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// { dg-do run { target i?86-*-* } }
// { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } }
// { dg-do run { target i?86-*-* x86_64-*-* } }
// { dg-require-effective-target ilp32 }
// Test that stdcall doesn't prevent us from using op delete.
// Contributed by Jason Merrill <jason@cygnus.com>

Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/g++.old-deja/g++.ext/attrib3.C
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// { dg-do run { target i?86-*-* } }
// { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } }
// { dg-do run { target i?86-*-* x86_64-*-* } }
// { dg-require-effective-target ilp32 }
// Test for proper handling of attributes in template instantiation.
// Contributed by Jason Merrill <jason@cygnus.com>

Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/g++.old-deja/g++.other/store-expr1.C
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// { dg-do run { target i?86-*-* } }
// { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } }
// { dg-do run { target i?86-*-* x86_64-*-* } }
// { dg-require-effective-target ilp32 }
// { dg-options "-mtune=i686 -O2 -fpic" }
// { dg-bogus "\[Uu\]nresolved symbol .(_GLOBAL_OFFSET_TABLE_|\[_.A-Za-z\]\[_.0-9A-Za-z\]*@(PLT|GOT|GOTOFF))" "PIC unsupported" { xfail *-*-netware* } 0 }
class G {};
Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/g++.old-deja/g++.other/store-expr2.C
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// { dg-do run { target i?86-*-* } }
// { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } }
// { dg-do run { target i?86-*-* x86_64-*-*} }
// { dg-require-effective-target ilp32 }
// { dg-options "-mtune=i686 -O2" }
class G {};

Expand Down
5 changes: 3 additions & 2 deletions gcc/testsuite/gcc.dg/20000609-1.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* { dg-do run { target i?86-*-* } } */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O1 -ffast-math -march=i686" } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */


/* Sanity check for fp_jcc_* with TARGET_CMOVE. */

Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.dg/20000720-1.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* { dg-do compile { target i?86-*-* } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-mpreferred-stack-boundary=2 -march=i586 -O2 -fomit-frame-pointer" } */

extern void *foo(void *a, const void *b, unsigned c);
Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.dg/20011107-1.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* { dg-do compile { target i?86-*-* } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -mtune=k6" } */

void
Expand Down
5 changes: 3 additions & 2 deletions gcc/testsuite/gcc.dg/20011119-1.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* Test for reload failing to eliminate from argp to sp. */
/* { dg-do run { target i?86-*-* } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" "-fpic" "-fPIC" } { "" } } */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-skip-if "" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */
/* { dg-options "-O2 -fomit-frame-pointer" } */

static int ustrsize (const char *s);
Expand Down
5 changes: 3 additions & 2 deletions gcc/testsuite/gcc.dg/20020108-1.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
is not valid general_operand in HImode. */
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-options "-O2 -mtune=i686" { target i?86-*-* } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-options "-O2 -mtune=i686" { target { i?86-*-* && ilp32 } } } */
/* { dg-options "-O2 -mtune=i686" { target { x86_64-*-* && ilp32 } } } */


void
foo (unsigned short *cp)
Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.dg/20020122-2.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

/* { dg-do compile } */
/* { dg-options "-O2 -fprefetch-loop-arrays -w" } */
/* { dg-options "-O2 -fprefetch-loop-arrays -march=athlon" { target i?86-*-* } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-options "-Os -fprefetch-loop-arrays -mtune=athlon" { target { i?86-*-* && ilp32 } } } */
/* { dg-options "-Os -fprefetch-loop-arrays -mtune=athlon" { target { x86_64-*-* && ilp32 } } } */

extern int access( char* );
extern int a();
Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.dg/20020122-3.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

/* { dg-do compile } */
/* { dg-options "-Os -fprefetch-loop-arrays -w" } */
/* { dg-options "-Os -fprefetch-loop-arrays -mtune=pentium3 -w" { target i?86-*-* } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-options "-Os -fprefetch-loop-arrays -mtune=pentium3 -w" { target { i?86-*-* && ilp32 } } } */
/* { dg-options "-Os -fprefetch-loop-arrays -mtune=pentium3 -w" { target { x86_64-*-* && ilp32 } } } */

int foo (int *p, int n)
{
Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.dg/20020201-3.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* This testcase ICEd because a SFmode variable was given a MMX register
for which there is no movsf exists. */
/* { dg-do compile { target i?86-*-* } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -march=i686 -mmmx -fno-strict-aliasing" } */

struct A { unsigned int a, b; };
Expand Down
5 changes: 3 additions & 2 deletions gcc/testsuite/gcc.dg/20020206-1.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@

/* { dg-do run } */
/* { dg-options "-O2 -fprefetch-loop-arrays -w" } */
/* { dg-options "-O2 -fprefetch-loop-arrays -mtune=pentium3 -w" { target i?86-*-* } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-options "-O2 -fprefetch-loop-arrays -mtune=pentium3 -w" { target { i?86-*-* && ilp32 } } } */
/* { dg-options "-O2 -fprefetch-loop-arrays -mtune=pentium3 -w" { target { x86_64-*-* && ilp32 } } } */


struct reload
{
Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.dg/20020218-1.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Verify that X86-64 only SSE registers aren't restored on IA-32. */
/* { dg-do compile { target i?86-*-* } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -msse" } */
/* { dg-final { scan-assembler-not "xmm8" } } */

Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.dg/20020310-1.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
This testcase was miscompiled because of an rtx sharing bug. */
/* { dg-do run } */
/* { dg-options "-O2" } */
/* { dg-options "-O2 -mtune=i586" { target i?86-*-* } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-options "-O2 -mtune=i586" { target { i?86-*-* && ilp32 } } } */
/* { dg-options "-O2 -mtune=i586" { target { x86_64-*-* && ilp32 } } } */

struct A
{
Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.dg/20020411-1.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
for its mode. */
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-options "-O2 -march=i686" { target i?86-*-* } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-options "-O2 -march=i686" { target { i?86-*-* && ilp32 } } } */
/* { dg-options "-O2 -march=i686" { target { x86_64-*-* && ilp32 } } } */

#if __INT_MAX__ > 32767

Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.dg/20020418-2.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* PR optimization/6010 */
/* { dg-do compile } */
/* { dg-options "-O2 -funroll-all-loops" } */
/* { dg-options "-O2 -funroll-all-loops -march=pentium3" { target i?86-*-* } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-options "-O2 -funroll-all-loops -march=pentium3" { target { i?86-*-* && ilp32 } } } */
/* { dg-options "-O2 -funroll-all-loops -march=pentium3" { target { x86_64-*-* && ilp32 } } } */

void bar (float);

Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.dg/20020426-1.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* { dg-do compile { target i?86-*-* } } */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-msoft-float -mfp-ret-in-387" } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */

void f() {
__builtin_apply(0, 0, 0);
Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.dg/20020426-2.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Distilled from zlib sources. */
/* { dg-do run } */
/* { dg-options "-O2" } */
/* { dg-options "-O2 -frename-registers -fomit-frame-pointer -fPIC -mtune=i686" { target i?86-*-* } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-options "-O2 -frename-registers -fomit-frame-pointer -fPIC -mtune=i686" { target { i?86-*-* && ilp32 } } } */
/* { dg-options "-O2 -frename-registers -fomit-frame-pointer -fPIC -mtune=i686" { target { x86_64-*-* && ilp32 } } } */
/* { dg-bogus "\[Uu\]nresolved symbol .(_GLOBAL_OFFSET_TABLE_|\[_.A-Za-z\]\[_.0-9A-Za-z\]*@(PLT|GOT|GOTOFF))" "PIC unsupported" { xfail *-*-netware* } 0 } */

extern void exit (int);
Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.dg/20020517-1.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
was not sign-extended for QImode. */
/* { dg-do run } */
/* { dg-options "-O2" } */
/* { dg-options "-O2 -mtune=i686" { target i?86-*-* } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-options "-O2 -mtune=i686" { target { i?86-*-* && ilp32 } } } */
/* { dg-options "-O2 -mtune=i686" { target { x86_64-*-* && ilp32 } } } */

#include <limits.h>

Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.dg/20020523-1.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* PR target/6753
This testcase was miscompiled because sse_mov?fcc_const0*
patterns were missing earlyclobber. */
/* { dg-do run { target i386-*-* } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-march=pentium3 -msse -ffast-math -O2" } */

extern void abort (void);
Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.dg/20020523-2.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* PR target/6753
This testcase was miscompiled because sse_mov?fcc_const0*
patterns were missing earlyclobber. */
/* { dg-do run { target i386-*-* } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-march=pentium3 -msse -ffast-math -O2" } */

#include "i386-cpuid.h"
Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.dg/20020729-1.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* { dg-do compile { target i?86-*-* } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -march=k6" } */

static inline void *
Expand Down
5 changes: 3 additions & 2 deletions gcc/testsuite/gcc.dg/20030204-1.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/* PR optimization/8555 */
/* { dg-do compile } */
/* { dg-options "-O -ffast-math -funroll-loops" } */
/* { dg-options "-march=pentium3 -O -ffast-math -funroll-loops" { target i?86-*-* } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-options "-march=pentium3 -O -ffast-math -funroll-loops" { target { i?86-*-* && ilp32 } } } */
/* { dg-options "-march=pentium3 -O -ffast-math -funroll-loops" { target { x86_64-*-* && ilp32 } } } */


float foo (float *a, int i)
{
Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.dg/20030826-2.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* { dg-do run } */
/* { dg-options "-O2 -fomit-frame-pointer" } */
/* { dg-options "-O2 -fomit-frame-pointer -march=i386" { target i?86-*-* } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-options "-O2 -fomit-frame-pointer -march=i386" { target { i?86-*-* && ilp32 } } } */
/* { dg-options "-O2 -fomit-frame-pointer -march=i386" { target { x86_64-*-* && ilp32 } } } */

extern void abort (void);
extern void exit (int);
Expand Down
3 changes: 2 additions & 1 deletion gcc/testsuite/gcc.dg/20030926-1.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-O2 -minline-all-stringops" } */
/* { dg-options "-O2 -minline-all-stringops -march=pentium4" { target i?86-*-* } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-options "-O2 -minline-all-stringops -march=pentium4" { target { i?86-*-* && ilp32 } } */
/* { dg-options "-O2 -minline-all-stringops -march=pentium4" { target { x86_64-*-* && ilp32 } } */

extern void *memcpy (void *, const void *, __SIZE_TYPE__);
extern __SIZE_TYPE__ strlen (const char *);
Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.dg/20031202-1.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* { dg-do run } */
/* { dg-options "-O2" } */
/* { dg-options "-O2 -mtune=i686" { target i?86-*-* } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-options "-O2 -mtune=i686" { target { i?86-*-* && ilp32 } } } */
/* { dg-options "-O2 -mtune=i686" { target { x86_64-*-* && ilp32 } } } */

extern void abort (void);
extern void exit (int);
Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.dg/980312-1.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* { dg-do link { target i?86-*-* } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-do link { target i?86-*-* x86_64-*-* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -march=pentiumpro" } */

extern __inline double
Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.dg/980313-1.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* { dg-do link { target i?86-*-* } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-do link { target i?86-*-* x86_64-*-* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -march=pentiumpro" } */

extern __inline double
Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.dg/990424-1.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* Test that stack alignment is preserved with pending_stack_adjust
with stdcall functions. */

/* { dg-do run { target i?86-*-* } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options -mpreferred-stack-boundary=4 } */

void __attribute__((stdcall)) foo(int a, int b, int c);
Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.dg/990524-1.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* { dg-do compile { target i?86-*-* } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -march=pentiumpro" } */

typedef struct t_anim_info {
Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.dg/991230-1.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* { dg-do run { target i?86-*-* } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O -ffast-math -mtune=i486" } */

/* Test that floating point greater-than tests are compiled correctly with
Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.dg/i386-387-1.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Verify that -mno-fancy-math-387 works. */
/* { dg-do compile { target "i?86-*-*" } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O -ffast-math -mfpmath=387 -mno-fancy-math-387 -march=i386" } */
/* { dg-final { scan-assembler "call\t_?sin" } } */
/* { dg-final { scan-assembler "call\t_?cos" } } */
Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.dg/i386-387-2.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Verify that -march overrides -mno-fancy-math-387. */
/* { dg-do compile { target "i?86-*-*" } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O -ffast-math -mfpmath=387 -march=i686 -mno-fancy-math-387" } */
/* { dg-final { scan-assembler "fsin" } } */
/* { dg-final { scan-assembler "fcos" } } */
Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.dg/i386-387-3.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Verify that 387 mathematical constants are recognized. */
/* { dg-do compile { target "i?86-*-*" } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -march=i686" } */
/* { dg-final { scan-assembler "fldpi" } } */

Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gcc.dg/i386-387-4.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* { dg-do compile { target "i?86-*-*" } } */
/* { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } } */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O2 -march=i686" } */
/* { dg-final { scan-assembler "fldpi" } } */

Expand Down
Loading

0 comments on commit a9f9113

Please sign in to comment.