summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-09 23:30:51 +0000
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-09 23:30:51 +0000
commit6a38a0a137c4e8bf9bcb19f98250359902064655 (patch)
tree47b02cc99fd5c3b4b13f1c9e2f7d0bfbd4149d99
parent51ea7dcde1afea553ed9f2be3868544b50af18fd (diff)
downloadgcc-6a38a0a137c4e8bf9bcb19f98250359902064655.tar.gz
* gcc.dg/20020312-2.c: Check for __PPC__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55349 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/20020312-2.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 8509c72c90d..efb9c889308 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2002-07-09 Aldy Hernandez <aldyh@redhat.com>
+
+ * gcc.dg/20020312-2.c: Check for __PPC__.
+
2002-07-09 Diego Novillo <dnovillo@redhat.com>
* gcc.c-torture/compile/20020709-1.c: New test.
diff --git a/gcc/testsuite/gcc.dg/20020312-2.c b/gcc/testsuite/gcc.dg/20020312-2.c
index 0ceffc72e5c..e9db7b50d69 100644
--- a/gcc/testsuite/gcc.dg/20020312-2.c
+++ b/gcc/testsuite/gcc.dg/20020312-2.c
@@ -72,7 +72,7 @@
/* No pic register. */
#elif defined(__pj__)
/* No pic register. */
-#elif defined(__powerpc__)
+#elif defined(__powerpc__) || defined(__PPC__)
# ifdef __darwin__
# define PIC_REG "31"
# else