20020103-1.c: Add rs6000 target and macro.

* gcc.dg/20020103-1.c: Add rs6000 target and macro.
	* gcc.dg/20020103-1.c: Add other -D ppc variants.

From-SVN: r50685
This commit is contained in:
David Edelsohn 2002-03-12 17:22:56 -05:00
parent 3c22a22d8c
commit 9cd7daff23
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2002-03-12 David Edelsohn <edelsohn@gnu.org>
* gcc.dg/20020103-1.c: Add rs6000 target and macro.
2002-03-12 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/20020103-1.c: Add other -D ppc variants.
2002-03-12 Kazu Hirata <kazu@hxi.com>
* gcc.c-torture/execute/20020307-1.c: Use long.

View File

@ -1,6 +1,6 @@
/* Verify that constant equivalences get reloaded properly, either by being
spilled to the stack, or regenerated, but not dropped to memory. */
/* { dg-do compile { target i?86-*-* powerpc-*-* alpha*-*-* } } */
/* { dg-do compile { target i?86-*-* powerpc-*-* rs6000-*-* alpha*-*-* } } */
/* { dg-options "-O2 -fpic -fno-omit-frame-pointer" } */
/* { dg-final { scan-assembler-not "LC" } } */
@ -8,7 +8,7 @@
#if defined(__i386__)
#define clobber \
asm volatile("#asm" : : : "si", "di")
#elif defined(__powerpc__) || defined(__PPC__)
#elif defined(__powerpc__) || defined(__PPC__) || defined(__ppc__) || defined(__POWERPC__) || defined(PPC) || defined (_IBMR2)
#define clobber \
asm volatile("#asm" : : : "14", "15", "16", "17", "18", "19", "20", \
"21", "22", "23", "24", "25", "26", "27", "28", "29")