From f4a11c6009b0eaa86403b03faae77555465e1126 Mon Sep 17 00:00:00 2001 From: Janis Johnson Date: Tue, 1 Feb 2005 21:27:16 +0000 Subject: [PATCH] ppc64-toc.c: Don't explicitly use -m64. * gcc.dg/ppc64-toc.c: Don't explicitly use -m64. * gcc.dg/ppc-eabi.c: Don't explicity use -m32. From-SVN: r94562 --- gcc/testsuite/ChangeLog | 3 +++ gcc/testsuite/gcc.dg/ppc-eabi.c | 4 ++-- gcc/testsuite/gcc.dg/ppc64-toc.c | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 325b63d6db6..315563d82a7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2005-02-01 Janis Johnson + * gcc.dg/ppc64-toc.c: Don't explicitly use -m64. + * gcc.dg/ppc-eabi.c: Don't explicity use -m32. + * gcc.dg/ppc64-abi-3.c: Add xfail for error checks. 2005-02-01 Richard Henderson diff --git a/gcc/testsuite/gcc.dg/ppc-eabi.c b/gcc/testsuite/gcc.dg/ppc-eabi.c index 667463bc8ee..47ba1a73390 100644 --- a/gcc/testsuite/gcc.dg/ppc-eabi.c +++ b/gcc/testsuite/gcc.dg/ppc-eabi.c @@ -1,4 +1,4 @@ /* PR target/16952 */ -/* { dg-do compile { target powerpc*-*-linux* } } */ -/* { dg-options "-m32 -meabi -mrelocatable" } */ +/* { dg-do compile { target { powerpc*-*-linux* && ilp32 } } } */ +/* { dg-options "-meabi -mrelocatable" } */ char *s = "boo"; diff --git a/gcc/testsuite/gcc.dg/ppc64-toc.c b/gcc/testsuite/gcc.dg/ppc64-toc.c index 747f137e83f..ed555a9b6d7 100644 --- a/gcc/testsuite/gcc.dg/ppc64-toc.c +++ b/gcc/testsuite/gcc.dg/ppc64-toc.c @@ -1,5 +1,5 @@ /* { dg-do link } */ -/* { dg-options "-m64 -mminimal-toc" { target powerpc64-*-* } } */ +/* { dg-options "-mminimal-toc" { target { powerpc64-*-* && lp64 } } } */ char *strchr (const char *, int);