This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Committed: Fix ext/profile/mutex_extensions.cc regression
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Cc: dave dot korn dot cygwin at gmail dot com
- Date: Thu, 3 Dec 2009 07:44:48 +0100
- Subject: Committed: Fix ext/profile/mutex_extensions.cc regression
In r154852:154860, there was a change shifting the
libstdc++-v3/include/bits/c++config line-numbers, causing this
test to fail since then on all platforms; see gcc-testresults@.
I'm not sure how regression was missed in testing (other than
perhaps a missing run on a _GLIBCXX_HAVE_ATTRIBUTE_VISIBILITY
platform), but either way, the trivial fix just committed was:
libstdc++-v3:
* testsuite/ext/profile/mutex_extensions.cc: Adjust dg-error line
number.
Index: testsuite/ext/profile/mutex_extensions.cc
===================================================================
--- testsuite/ext/profile/mutex_extensions.cc (revision 154935)
+++ testsuite/ext/profile/mutex_extensions.cc (working copy)
@@ -22,5 +22,5 @@
#include <vector>
-// { dg-error "Cannot use -D_GLIBCXX_PROFILE with " "" { target *-*-* } 165 }
+// { dg-error "Cannot use -D_GLIBCXX_PROFILE with " "" { target *-*-* } 167 }
// { dg-excess-errors "In file included from" }
brgds, H-P