20020103-1.c: Also test for __PPC__, since that's used by EABI.

* gcc.dg/20020103-1.c: Also test for __PPC__, since that's used
	by EABI.

From-SVN: r48879
This commit is contained in:
Geoffrey Keating 2002-01-15 20:50:41 +00:00 committed by Geoffrey Keating
parent 4a913dd6b7
commit 7ec9c85a1e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-01-15 Geoffrey Keating <geoffk@redhat.com>
* gcc.dg/20020103-1.c: Also test for __PPC__, since that's used
by EABI.
2002-01-15 Janis Johnson <janis187@us.ibm.com>
* gcc.misc-tests/i386-prefetch.exp: New.

View File

@ -8,7 +8,7 @@
#if defined(__i386__)
#define clobber \
asm volatile("#asm" : : : "si", "di")
#elif defined(__powerpc__)
#elif defined(__powerpc__) || defined(__PPC__)
#define clobber \
asm volatile("#asm" : : : "14", "15", "16", "17", "18", "19", "20", \
"21", "22", "23", "24", "25", "26", "27", "28", "29")