From: Janis Johnson Date: Tue, 20 Dec 2005 00:11:27 +0000 (+0000) Subject: ppc-eabi.c: Test on ilp32. X-Git-Tag: releases/gcc-3.4.6~226 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0128359da12404f1bab3951de43dc953a8dc3982;p=thirdparty%2Fgcc.git ppc-eabi.c: Test on ilp32. * gcc.dg/ppc-eabi.c: Test on ilp32. * gcc.dg/ppc64-abi-1.c, gcc.dg/ppc64-abi-2.c, gcc.dg/ppc64-abi-3.c: Test on lp64. From-SVN: r108818 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5bcd2672142a..45f94a4627a8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2005-12-19 Janis Johnson + * gcc.dg/ppc-eabi.c: Test on ilp32. + * gcc.dg/ppc64-abi-1.c, gcc.dg/ppc64-abi-2.c, gcc.dg/ppc64-abi-3.c: + Test on lp64. + Backport (missed in previous batch): * lib/target-supports.exp (get_compiler_messages, diff --git a/gcc/testsuite/gcc.dg/ppc-eabi.c b/gcc/testsuite/gcc.dg/ppc-eabi.c index 667463bc8ee7..47ba1a733906 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-abi-1.c b/gcc/testsuite/gcc.dg/ppc64-abi-1.c index fa196595f382..c2c08a8605cd 100644 --- a/gcc/testsuite/gcc.dg/ppc64-abi-1.c +++ b/gcc/testsuite/gcc.dg/ppc64-abi-1.c @@ -1,4 +1,4 @@ -/* { dg-do run { target powerpc64-*-* } } */ +/* { dg-do run { target { powerpc*-*-* && lp64 } } } */ /* { dg-options "-O2" } */ #include #include diff --git a/gcc/testsuite/gcc.dg/ppc64-abi-2.c b/gcc/testsuite/gcc.dg/ppc64-abi-2.c index ab0e1a14710c..312d4c6cc99e 100644 --- a/gcc/testsuite/gcc.dg/ppc64-abi-2.c +++ b/gcc/testsuite/gcc.dg/ppc64-abi-2.c @@ -1,4 +1,4 @@ -/* { dg-do run { target powerpc64-*-linux* } } */ +/* { dg-do run { target { powerpc*-*-linux* && lp64 } } } */ /* { dg-options "-O2 -fprofile -mprofile-kernel -maltivec -mabi=altivec" } */ #include #include diff --git a/gcc/testsuite/gcc.dg/ppc64-abi-3.c b/gcc/testsuite/gcc.dg/ppc64-abi-3.c index 58f161dae6c6..8d2a5952ded0 100644 --- a/gcc/testsuite/gcc.dg/ppc64-abi-3.c +++ b/gcc/testsuite/gcc.dg/ppc64-abi-3.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target powerpc64-*-linux* } } */ +/* { dg-do compile { target { powerpc*-*-linux* && lp64 } } } */ /* { dg-options "-Wall" } */ /* Testcase to check for ABI compliance of parameter passing for the PowerPC64 ABI. */