summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-30 11:11:15 +0000
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-30 11:11:15 +0000
commitb0ce9fe7bc9453522386eff08973b66b669a98eb (patch)
treecbd1df796743eae774c7196b0da282b84899ce9b /libstdc++-v3
parentc4defeade15939d0aa11c67626ff841b5f028d6e (diff)
downloadgcc-b0ce9fe7bc9453522386eff08973b66b669a98eb.tar.gz
* testsuite/lib/libstdc++.exp (libstdc++_init): Adjust regexp to
work with previous versions of Tcl. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211077 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/testsuite/lib/libstdc++.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index b9520d3a4e6..b90cc3b3c17 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2014-05-30 Jonathan Wakely <jwakely@redhat.com>
+
+ * testsuite/lib/libstdc++.exp (libstdc++_init): Adjust regexp to
+ work with previous versions of Tcl.
+
2014-05-29 Jonathan Wakely <jwakely@redhat.com>
* include/tr2/bool_set: Use UTF-8 for accented characters.
diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp
index 2b2a38be13a..d91bed64719 100644
--- a/libstdc++-v3/testsuite/lib/libstdc++.exp
+++ b/libstdc++-v3/testsuite/lib/libstdc++.exp
@@ -283,7 +283,7 @@ proc libstdc++_init { testfile } {
append cxxflags " "
append cxxflags [getenv CXXFLAGS]
- if ![regexp "\-O" $cxxflags] {
+ if ![regexp ".*-O" $cxxflags] {
append cxxflags " -g -O2"
}