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 82c56ca6094e1ec211f94f1b4628c566b9bd8684..0fa538279f8da6f29b8fee5d18b2a9ce4f59cd02 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 0ee5d549ff3a0bac3025b6dbddafbead57807211..6cedfeabeda9d67f87ec6e5a4c93e99e35e6572e 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 098cc38e7f50242eafc1940ccbe9ea79fa227904..5310faa0c6fcbd95549adbc8298d10f228025103 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 f474bab49adcc4192b63ced722a57c391a898ed0..26061c2bebc6eef862b928af3b18645a9f6f6590 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 90d64de5643995c875e1ce3a8ef7341b04ffb4e7..f371586be7910e3d9ed338ba1da25912dd105062 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 e6755cc468089dc3acabff362c6b45b06ed5b332..383e36d85977f8690270f5c78c73886cff1f3de5 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 6e45b186e34bfc1014799229881b374201227cb1..a6e49c83717b3333c298ab68b380caf7ab7edc4b 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 7a24f7640a73ce18fac3c8170a7a5f89f0224e7f..77a231d88c05851e331997945b7cccc89f843efd 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 9cfb51706aaa7ab0037c4521d010cc5ce13f24b5..b5bb120a87b68e4c2df641c81095c99bb6f4854d 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 dd5f6256693fe5cee3b1ddf2469c2773cd2931c3..ee919b590ab80f965bac30f72ff75892f8689e3a 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" } } */