weak-1.c: xfail on Darwin.
authorStan Shebs <shebs@apple.com>
Thu, 5 Sep 2002 16:49:02 +0000 (16:49 +0000)
committerStan Shebs <shebs@gcc.gnu.org>
Thu, 5 Sep 2002 16:49:02 +0000 (16:49 +0000)
        * gcc.dg/weak-1.c: xfail on Darwin.
        * gcc.dg/weak-2.c: Ditto.
        * gcc.dg/weak-3.c: Ditto.
        * gcc.dg/weak-4.c: Ditto.
        * gcc.dg/weak-5.c: Ditto.
        * gcc.dg/weak-6.c: Ditto.
        * gcc.dg/weak-7.c: Ditto.
        * gcc.dg/weak-8.c: Ditto.
        * gcc.dg/weak-9.c: Ditto.

From-SVN: r56855

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/weak-1.c
gcc/testsuite/gcc.dg/weak-2.c
gcc/testsuite/gcc.dg/weak-3.c
gcc/testsuite/gcc.dg/weak-4.c
gcc/testsuite/gcc.dg/weak-5.c
gcc/testsuite/gcc.dg/weak-6.c
gcc/testsuite/gcc.dg/weak-7.c
gcc/testsuite/gcc.dg/weak-8.c
gcc/testsuite/gcc.dg/weak-9.c

index 82c56ca..0fa5382 100644 (file)
@@ -1,3 +1,15 @@
+2002-09-05  Stan Shebs  <shebs@apple.com>
+
+       * gcc.dg/weak-1.c: xfail on Darwin.
+       * gcc.dg/weak-2.c: Ditto.
+       * gcc.dg/weak-3.c: Ditto.
+       * gcc.dg/weak-4.c: Ditto.
+       * gcc.dg/weak-5.c: Ditto.
+       * gcc.dg/weak-6.c: Ditto.
+       * gcc.dg/weak-7.c: Ditto.
+       * gcc.dg/weak-8.c: Ditto.
+       * gcc.dg/weak-9.c: Ditto.
+
 Thu Sep  5 00:34:33 2002  J"orn Rennecke <joern.rennecke@superh.com>
 
        * gcc.c-torture/execute/loop-14.c: New test.
index 0ee5d54..6cedfea 100644 (file)
@@ -2,9 +2,10 @@
 /* { dg-options "-fno-common" } */
 
 /* COFF does not support weak, and dg doesn't support UNSUPPORTED.  */
-/* { dg-do compile { xfail *-*-coff i?86-pc-cygwin h8300-*-hms } } */
+/* { dg-do compile { xfail *-*-coff i?86-pc-cygwin h8300-*-hms *-*-darwin* } } */
 
 /* { dg-final { global target_triplet } } */
+/* { dg-final { if [string match *-*-darwin* $target_triplet ] {return} } } */
 /* { dg-final { if [string match h8300-*-hms $target_triplet ] {return} } } */
 /* { dg-final { if [string match i?86-pc-cygwin $target_triplet ] {return} } } */
 /* { dg-final { if [string match *-*-coff $target_triplet ] {return} } } */
index 098cc38..5310faa 100644 (file)
@@ -2,9 +2,10 @@
 /* { dg-options "-fno-common" } */
 
 /* COFF does not support weak, and dg doesn't support UNSUPPORTED.  */
-/* { dg-do compile { xfail *-*-coff i?86-pc-cygwin h8300-*-hms } } */
+/* { dg-do compile { xfail *-*-coff i?86-pc-cygwin h8300-*-hms *-*-darwin* } } */
 
 /* { dg-final { global target_triplet } } */
+/* { dg-final { if [string match *-*-darwin* $target_triplet ] {return} } } */
 /* { dg-final { if [string match h8300-*-hms $target_triplet ] {return} } } */
 /* { dg-final { if [string match i?86-pc-cygwin $target_triplet ] {return} } } */
 /* { dg-final { if [string match *-*-coff $target_triplet ] {return} } } */
@@ -30,7 +31,7 @@ void * foo1b (void)
   return (void *)ffoo1b;
 }
 
-extern void * ffoo1c (void);  /* { dg-warning "applying #pragma weak" "applying #pragma weak" { xfail *-*-coff i?86-pc-cygwin h8300-*-hms } } */
+extern void * ffoo1c (void);  /* { dg-warning "applying #pragma weak" "applying #pragma weak" { xfail *-*-coff i?86-pc-cygwin h8300-*-hms *-*-darwin* } } */
 void * foo1c (void)
 {
   return (void *)ffoo1c;
index f474bab..26061c2 100644 (file)
@@ -2,10 +2,12 @@
 /* { dg-options "-fno-common" } */
 
 /* COFF does not support weak, and dg doesn't support UNSUPPORTED.  */
-/* { dg-do compile { xfail *-*-coff i?86-pc-cygwin h8300-*-hms } } */
+/* { dg-do compile { xfail *-*-coff i?86-pc-cygwin h8300-*-hms *-*-darwin* } } */
 /* { dg-excess-errors "COFF does not support weak symbols" { target *-*-coff i?86-pc-cygwin h8300-*-hms } } */
+/* { dg-excess-errors "Darwin does not support weak symbols" { target *-*-darwin* } } */
 
 /* { dg-final { global target_triplet } } */
+/* { dg-final { if [string match *-*-darwin* $target_triplet ] {return} } } */
 /* { dg-final { if [string match h8300-*-hms $target_triplet ] {return} } } */
 /* { dg-final { if [string match i?86-pc-cygwin $target_triplet ] {return} } } */
 /* { dg-final { if [string match *-*-coff $target_triplet ] {return} } } */
index 90d64de..f371586 100644 (file)
@@ -2,9 +2,10 @@
 /* { dg-options "-fno-common" } */
 
 /* COFF does not support weak, and dg doesn't support UNSUPPORTED.  */
-/* { dg-do compile { xfail *-*-coff i?86-pc-cygwin h8300-*-hms } } */
+/* { dg-do compile { xfail *-*-coff i?86-pc-cygwin h8300-*-hms *-*-darwin* } } */
 
 /* { dg-final { global target_triplet } } */
+/* { dg-final { if [string match *-*-darwin* $target_triplet ] {return} } } */
 /* { dg-final { if [string match h8300-*-hms $target_triplet ] {return} } } */
 /* { dg-final { if [string match i?86-pc-cygwin $target_triplet ] {return} } } */
 /* { dg-final { if [string match *-*-coff $target_triplet ] {return} } } */
@@ -38,7 +39,7 @@ void * foo1b (void)
 }
 
 
-extern int vfoo1c;  /* { dg-warning "applying #pragma weak" "applying #pragma weak" { xfail *-*-coff i?86-pc-cygwin h8300-*-hms } } */
+extern int vfoo1c;  /* { dg-warning "applying #pragma weak" "applying #pragma weak" { xfail *-*-coff i?86-pc-cygwin h8300-*-hms *-*-darwin* } } */
 void * foo1c (void)
 {
   return (void *)&vfoo1c;
@@ -70,7 +71,7 @@ void * foo1f (void)
 #pragma weak vfoo1f
 
 
-extern int vfoo1g;  /* { dg-warning "applying #pragma weak" "applying #pragma weak" { xfail *-*-coff i?86-pc-cygwin h8300-*-hms } } */
+extern int vfoo1g;  /* { dg-warning "applying #pragma weak" "applying #pragma weak" { xfail *-*-coff i?86-pc-cygwin h8300-*-hms *-*-darwin* } } */
 void * foo1g (void)
 {
   return (void *)&vfoo1g;
index e6755cc..383e36d 100644 (file)
@@ -2,10 +2,12 @@
 /* { dg-options "-fno-common" } */
 
 /* COFF does not support weak, and dg doesn't support UNSUPPORTED.  */
-/* { dg-do compile { xfail *-*-coff i?86-pc-cygwin h8300-*-hms } } */
+/* { dg-do compile { xfail *-*-coff i?86-pc-cygwin h8300-*-hms *-*-darwin* } } */
 /* { dg-excess-errors "COFF does not support weak symbols" { target *-*-coff i?86-pc-cygwin h8300-*-hms } } */
+/* { dg-excess-errors "Darwin does not support weak symbols" { target *-*-darwin* } } */
 
 /* { dg-final { global target_triplet } } */
+/* { dg-final { if [string match *-*-darwin* $target_triplet ] {return} } } */
 /* { dg-final { if [string match h8300-*-hms $target_triplet ] {return} } } */
 /* { dg-final { if [string match i?86-pc-cygwin $target_triplet ] {return} } } */
 /* { dg-final { if [string match *-*-coff $target_triplet ] {return} } } */
index 6e45b18..a6e49c8 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 
 extern void * foo (void);
-void * foo (void) { return (void *)foo; } /* { dg-error "precede" "" { xfail *-*-coff i?86-pc-cygwin h8300-*-hms } } */
+void * foo (void) { return (void *)foo; } /* { dg-error "precede" "" { xfail *-*-coff i?86-pc-cygwin h8300-*-hms *-*-darwin* } } */
 
 #pragma weak foo
index 7a24f76..77a231d 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-excess-errors "COFF does not support weak symbols" { target *-*-coff i?86-pc-cygwin h8300-*-hms } } */
+/* { dg-excess-errors "Darwin does not support weak symbols" { target *-*-darwin* } } */
 
 extern void * foo (void);
 void * foo (void) { return (void *)foo; } /* { dg-error "precede" } */
index 9cfb517..b5bb120 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do assemble } */
 
 /* COFF does not support weak, and dg doesn't support UNSUPPORTED.  */
-/* { dg-do assemble { xfail *-*-coff i?86-pc-cygwin h8300-*-hms } } */
+/* { dg-do assemble { xfail *-*-coff i?86-pc-cygwin h8300-*-hms *-*-darwin* } } */
 
 __attribute__ ((weak)) int i;
 
index dd5f625..ee919b5 100644 (file)
@@ -2,12 +2,12 @@
 /* { dg-options "-fno-common" } */
 
 /* COFF does not support weak, and dg doesn't support UNSUPPORTED.  */
-/* { dg-do compile { xfail *-*-coff i?86-pc-cygwin h8300-*-hms } } */
+/* { dg-do compile { xfail *-*-coff i?86-pc-cygwin h8300-*-hms *-*-darwin* } } */
 
 /* { dg-final { global target_triplet } } */
+/* { dg-final { if [string match *-*-darwin* $target_triplet ] {return} } } */
 /* { dg-final { if [string match h8300-*-hms $target_triplet ] {return} } } */
-/* { dg-final { if [string match i?86-pc-cygwin $target_triplet ] {return} } } *
-/
+/* { dg-final { if [string match i?86-pc-cygwin $target_triplet ] {return} } } */
 /* { dg-final { if [string match *-*-coff $target_triplet ] {return} } } */
 /* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t\]_?f1" } } */
 /* { dg-final { scan-assembler "weak\[^ \t\]*\[ \t\]_?f2" } } */