prune.exp: Correct regular expression for -ffunction-sections
authorDavid Billinghurst <David.Billinghurst@riotinto.com>
Thu, 3 Jan 2002 14:25:14 +0000 (14:25 +0000)
committerDavid Billinghurst <billingd@gcc.gnu.org>
Thu, 3 Jan 2002 14:25:14 +0000 (14:25 +0000)
2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>

* testsuite/lib/prune.exp: Correct regular expression for
-ffunction-sections

From-SVN: r48511

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/lib/prune.exp

index cf7f6bd8d173b7e1f297e703cdd746249cc41e7d..24d1889a39ba6829566ab4dd9b46a5d69d7fe852 100644 (file)
@@ -1,3 +1,8 @@
+2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>
+
+       * testsuite/lib/prune.exp: Correct regular expression for
+       -ffunction-sections
+
 2002-01-02  Phil Edwards  <pme@gcc.gnu.org>
 
        * include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
index 3fcbf306b60c766b140a53eb6cb6b27ae886d993..55c108056f2bc7517137970ccf3d5454267e32c2 100644 (file)
@@ -19,7 +19,7 @@
 proc prune_g++_output { text } {
 
     # Cygwin warns about -ffunction-sections
-    regsub -all "(^|\n)\[^\n\].*: -ffunction-sections may affect debugging on some targets.*" $text "" text
+    regsub -all "(^|\n)\[^\n\]*: -ffunction-sections may affect debugging on some targets\[^\n\]*" $text "" text
 
     return $text
 }