aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2007-06-12 22:49:16 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2007-06-12 22:49:16 +0000
commit5d006428c4ad4dc85888c39643510c1f0852ab97 (patch)
tree7d804b67a7c89fb95e782c5f41dfc69baae9a839
parentb718216c5ad4bc0054646d701d3b4fa67d74c96b (diff)
downloadgcc-5d006428c4ad4dc85888c39643510c1f0852ab97.zip
gcc-5d006428c4ad4dc85888c39643510c1f0852ab97.tar.gz
gcc-5d006428c4ad4dc85888c39643510c1f0852ab97.tar.bz2
weak1.C: Suppress on Darwin.
* g++.dg/warn/weak1.C: Suppress on Darwin. * g++.dg/other/unused1.C: Accept tabs or spaces in assembly. From-SVN: r125659
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/g++.dg/other/unused1.C4
-rw-r--r--gcc/testsuite/g++.dg/warn/weak1.C4
3 files changed, 10 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index ee237de..7d677eb 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2007-06-12 Geoff Keating <geoffk@apple.com>
+
+ * g++.dg/warn/weak1.C: Suppress on Darwin.
+ * g++.dg/other/unused1.C: Accept tabs or spaces in assembly.
+
2007-06-12 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR middle-end/31579
diff --git a/gcc/testsuite/g++.dg/other/unused1.C b/gcc/testsuite/g++.dg/other/unused1.C
index ce436a0..e7e9215 100644
--- a/gcc/testsuite/g++.dg/other/unused1.C
+++ b/gcc/testsuite/g++.dg/other/unused1.C
@@ -44,5 +44,5 @@ int bar5 (void)
/* { dg-final { scan-assembler "foo" } } */
/* { dg-final { scan-assembler "boo" } } */
/* { dg-final { scan-assembler "cue" } } */
-/* { dg-final { scan-assembler "(string|ascii?)z?\t\"class2(\"|\\\\000)" } } */
-/* { dg-final { scan-assembler "(string|ascii?)z?\t\"printer(\"|\\\\000)" } } */
+/* { dg-final { scan-assembler "(string|ascii?)z?\[\t \]\"class2(\"|\\\\0)" } } */
+/* { dg-final { scan-assembler "(string|ascii?)z?\[\t \]\"printer(\"|\\\\0)" } } */
diff --git a/gcc/testsuite/g++.dg/warn/weak1.C b/gcc/testsuite/g++.dg/warn/weak1.C
index 034716a..8802a8f 100644
--- a/gcc/testsuite/g++.dg/warn/weak1.C
+++ b/gcc/testsuite/g++.dg/warn/weak1.C
@@ -1,7 +1,9 @@
-// The PA HP-UX dynamic loader doesn't support unsatisfied weak symbols.
// { dg-do run }
// { dg-require-weak "" }
+// The PA HP-UX dynamic loader doesn't support unsatisfied weak symbols.
// { dg-skip-if "No unsat" { hppa*-*-hpux* } { "*" } { "" } }
+// The darwin loader does, but they do need to exist at link time.
+// { dg-skip-if "No link unsat" { *-*-darwin* } { "*" } { "" } }
extern void foo (void) __attribute__ ((weak));