summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-15 05:36:43 +0000
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-15 05:36:43 +0000
commita63f3eb3f6d9fb5ba08a4845fda49716189fd2b0 (patch)
tree534a160beb1cae005a11a20ce5ee0d4a31bb0963
parent8e8910f69b853e6c1d90cf84708bba3d11cbe753 (diff)
downloadppe42-gcc-a63f3eb3f6d9fb5ba08a4845fda49716189fd2b0.tar.gz
ppe42-gcc-a63f3eb3f6d9fb5ba08a4845fda49716189fd2b0.zip
* gcc.dg/20020312-2.c [__MMIX__]: No pic register.
* gcc.c-torture/compile/981006-1.x: Don't use -fpic on cris-*-elf* cris-*-aout* mmix-*-*. * g++.old-deja/g++.other/local-alloc1.C: Skip on cris-*-elf* cris-*-aout* mmix-*-*. * g++.dg/debug/debug3.C: Expect warning for unsupported -fpic on cris-*-elf* cris-*-aout* and mmix-*-*. * gcc.dg/20001009-1.c: Ditto. * gcc.dg/20010912-1.c: Ditto. * gcc.dg/20020122-4.c: Ditto. * gcc.dg/inline-2.c: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50794 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog14
-rw-r--r--gcc/testsuite/g++.dg/debug/debug3.C1
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/local-alloc1.C1
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/981006-1.x3
-rw-r--r--gcc/testsuite/gcc.dg/20001009-1.c1
-rw-r--r--gcc/testsuite/gcc.dg/20010912-1.c1
-rw-r--r--gcc/testsuite/gcc.dg/20020122-4.c1
-rw-r--r--gcc/testsuite/gcc.dg/20020312-2.c2
-rw-r--r--gcc/testsuite/gcc.dg/inline-2.c1
9 files changed, 25 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index cc3d5cc34da..c2e1c161505 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,17 @@
+2002-03-15 Hans-Peter Nilsson <hp@bitrange.com>
+
+ * gcc.dg/20020312-2.c [__MMIX__]: No pic register.
+ * gcc.c-torture/compile/981006-1.x: Don't use -fpic on cris-*-elf*
+ cris-*-aout* mmix-*-*.
+ * g++.old-deja/g++.other/local-alloc1.C: Skip on cris-*-elf*
+ cris-*-aout* mmix-*-*.
+ * g++.dg/debug/debug3.C: Expect warning for unsupported -fpic on
+ cris-*-elf* cris-*-aout* and mmix-*-*.
+ * gcc.dg/20001009-1.c: Ditto.
+ * gcc.dg/20010912-1.c: Ditto.
+ * gcc.dg/20020122-4.c: Ditto.
+ * gcc.dg/inline-2.c: Ditto.
+
Thu Mar 14 14:28:38 2002 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/20020314-1.c: New test.
diff --git a/gcc/testsuite/g++.dg/debug/debug3.C b/gcc/testsuite/g++.dg/debug/debug3.C
index 91ef35dc096..14cd7c5a6cf 100644
--- a/gcc/testsuite/g++.dg/debug/debug3.C
+++ b/gcc/testsuite/g++.dg/debug/debug3.C
@@ -3,6 +3,7 @@
// to emit location expression for parameter a of operator+.
// { dg-do compile }
// { dg-options "-fpic" }
+// { dg-warning "not supported" "PIC unsupported" { target cris-*-elf* cris-*-aout* mmix-*-* } 0 }
struct A { char *s; };
diff --git a/gcc/testsuite/g++.old-deja/g++.other/local-alloc1.C b/gcc/testsuite/g++.old-deja/g++.other/local-alloc1.C
index d58b9b71289..2a3130906fe 100644
--- a/gcc/testsuite/g++.old-deja/g++.other/local-alloc1.C
+++ b/gcc/testsuite/g++.old-deja/g++.other/local-alloc1.C
@@ -1,6 +1,7 @@
// Build don't link:
// Origin: Jakub Jelinek <jakub@redhat.com>
// Special g++ Options: -O0 -fpic
+// Skip if target: cris-*-elf* cris-*-aout* mmix-*-*
struct bar {
bar() {}
diff --git a/gcc/testsuite/gcc.c-torture/compile/981006-1.x b/gcc/testsuite/gcc.c-torture/compile/981006-1.x
index 83a57905597..e05547b397b 100644
--- a/gcc/testsuite/gcc.c-torture/compile/981006-1.x
+++ b/gcc/testsuite/gcc.c-torture/compile/981006-1.x
@@ -8,6 +8,9 @@ if { [istarget rs6000-*-aix*]
|| [istarget sh-*-hms]
|| [istarget sh-*-coff]
|| [istarget h8300*-*-*]
+ || [istarget cris-*-elf*]
+ || [istarget cris-*-aout*]
+ || [istarget mmix-*-*]
} {
set options "-Wuninitialized -Werror"
} else {
diff --git a/gcc/testsuite/gcc.dg/20001009-1.c b/gcc/testsuite/gcc.dg/20001009-1.c
index 91b58a63eb9..42336f70d88 100644
--- a/gcc/testsuite/gcc.dg/20001009-1.c
+++ b/gcc/testsuite/gcc.dg/20001009-1.c
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-O2 -fpic" } */
+/* { dg-warning "not supported" "PIC unsupported" { target cris-*-elf* cris-*-aout* mmix-*-* } 0 } */
extern void foo (void *a, double x, double y);
void
diff --git a/gcc/testsuite/gcc.dg/20010912-1.c b/gcc/testsuite/gcc.dg/20010912-1.c
index b33b729cb94..9d0d2e03e8d 100644
--- a/gcc/testsuite/gcc.dg/20010912-1.c
+++ b/gcc/testsuite/gcc.dg/20010912-1.c
@@ -1,5 +1,6 @@
/* { dg-do run } */
/* { dg-options "-O2 -fpic" } */
+/* { dg-warning "not supported" "PIC unsupported" { target cris-*-elf* cris-*-aout* mmix-*-* } 0 } */
extern void abort (void);
extern void exit (int);
diff --git a/gcc/testsuite/gcc.dg/20020122-4.c b/gcc/testsuite/gcc.dg/20020122-4.c
index a6abe182291..653dfcb75dd 100644
--- a/gcc/testsuite/gcc.dg/20020122-4.c
+++ b/gcc/testsuite/gcc.dg/20020122-4.c
@@ -2,6 +2,7 @@
(mem (lo_sum pic (symbol_ref))) within an asm at the right time. */
/* { dg-do compile } */
/* { dg-options "-O2 -fpic" } */
+/* { dg-warning "not supported" "PIC unsupported" { target cris-*-elf* cris-*-aout* mmix-*-* } 0 } */
void foo()
{
diff --git a/gcc/testsuite/gcc.dg/20020312-2.c b/gcc/testsuite/gcc.dg/20020312-2.c
index 889e152be34..5e3a59272ac 100644
--- a/gcc/testsuite/gcc.dg/20020312-2.c
+++ b/gcc/testsuite/gcc.dg/20020312-2.c
@@ -56,6 +56,8 @@
/* No pic register. */
#elif defined(__mips__)
/* PIC register is $28, but is used even without -fpic. */
+#elif defined(__MMIX__)
+/* No pic register. */
#elif defined(__mn10200__)
/* No pic register. */
#elif defined(__mn10300__)
diff --git a/gcc/testsuite/gcc.dg/inline-2.c b/gcc/testsuite/gcc.dg/inline-2.c
index 403150350f8..1320143c519 100644
--- a/gcc/testsuite/gcc.dg/inline-2.c
+++ b/gcc/testsuite/gcc.dg/inline-2.c
@@ -2,6 +2,7 @@
it has been deferred. */
/* { dg-do compile } */
/* { dg-options "-O3 -finline-limit=0 -fpic" } */
+/* { dg-warning "not supported" "PIC unsupported" { target cris-*-elf* cris-*-aout* mmix-*-* } 0 } */
static int foo(void)
{
OpenPOWER on IntegriCloud