Committed: Fix ext/profile/mutex_extensions.cc regression

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Thu Dec 3 06:44:00 GMT 2009


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



More information about the Libstdc++ mailing list