]> gcc.gnu.org Git - gcc.git/commitdiff
20020312-2.c [__MMIX__]: No pic register.
authorHans-Peter Nilsson <hp@bitrange.com>
Fri, 15 Mar 2002 05:36:43 +0000 (05:36 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Fri, 15 Mar 2002 05:36:43 +0000 (05:36 +0000)
* 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.

From-SVN: r50794

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/debug3.C
gcc/testsuite/g++.old-deja/g++.other/local-alloc1.C
gcc/testsuite/gcc.c-torture/compile/981006-1.x
gcc/testsuite/gcc.dg/20001009-1.c
gcc/testsuite/gcc.dg/20010912-1.c
gcc/testsuite/gcc.dg/20020122-4.c
gcc/testsuite/gcc.dg/20020312-2.c
gcc/testsuite/gcc.dg/inline-2.c

index cc3d5cc34dad29148aeefa2d39a6c2825eacd705..c2e1c161505d2429931dea184c83897ea35ba77e 100644 (file)
@@ -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.
index 91ef35dc096dd57338b1350292a6da0ddfbf28ab..14cd7c5a6cf9e9cd1446740260dd56b41413ac78 100644 (file)
@@ -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; };
 
index d58b9b71289dc9e1ce68ad4ce2bf6a25d055bbc0..2a3130906feebac5290583686ffaf7945adbb950 100644 (file)
@@ -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() {}
index 83a579055977eae0a0baa822d8187ef7d134f9e7..e05547b397b9dd399c3e5a23d1c9311b6cd972e6 100644 (file)
@@ -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 {
index 91b58a63eb9edbcf1b7103edda0ba9d4a8a5c394..42336f70d88bc18eb5189c70ea4d370bc898dd48 100644 (file)
@@ -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
index b33b729cb949f78ce8a21c41474e9f14ab278cdf..9d0d2e03e8dd1a399fe5e973cc194d861ac20731 100644 (file)
@@ -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);
index a6abe182291ef7c709c9e6ab121dbc789383a10f..653dfcb75ddd8535f72a52340cd26ce90f2eb077 100644 (file)
@@ -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()
 {
index 889e152be347083b9f11e9305e781720ad1f133b..5e3a59272ac40381b6b12120e4be3e3642d84d2c 100644 (file)
@@ -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__)
index 403150350f833296b8f017a2c2d71889cd650ffc..1320143c51922ba8178437da409a99216db27dab 100644 (file)
@@ -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)
 {
This page took 0.116681 seconds and 5 git commands to generate.