aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/static11.C9
2 files changed, 8 insertions, 5 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index be64671..879d4ee 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2003-12-29 Mark Mitchell <mark@codesourcery.com>
+
+ * g++.old-deja/g++.pt/static11.C: Correct XFAIL syntax.
+
2003-12-29 Nathan Sidwell <nathan@codesourcery.com>
PR c++/12774
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/static11.C b/gcc/testsuite/g++.old-deja/g++.pt/static11.C
index 1b03766..cb5ee3a 100644
--- a/gcc/testsuite/g++.old-deja/g++.pt/static11.C
+++ b/gcc/testsuite/g++.old-deja/g++.pt/static11.C
@@ -1,12 +1,11 @@
-// { dg-do run }
-// Bug: g++ was failing to destroy C<int>::a because it was using two
-// different sentry variables for construction and destruction.
-//
// Some targets (e.g. those with "set_board_info needs_status_wrapper 1"
// in their dejagnu baseboard description) require that the status is
// final when exit is entered (or main returns), and not "overruled" by a
// destructor calling _exit. It's not really worth it to handle that.
-// Skip if target: mmix-knuth-mmixware xtensa-*-elf*
+// { dg-do run { xfail mmix-knuth-mmixware xtensa-*-elf* arm*-*-elf } }
+
+// Bug: g++ was failing to destroy C<int>::a because it was using two
+// different sentry variables for construction and destruction.
extern "C" void _exit (int);