From dd37368c6d2f0e2b4c4c774820c113f605e8086d Mon Sep 17 00:00:00 2001 From: David Billinghurst Date: Thu, 3 Jan 2002 14:25:14 +0000 Subject: [PATCH] prune.exp: Correct regular expression for -ffunction-sections 2002-01-03 David Billinghurst * testsuite/lib/prune.exp: Correct regular expression for -ffunction-sections From-SVN: r48511 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/testsuite/lib/prune.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index cf7f6bd8d17..24d1889a39b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2002-01-03 David Billinghurst + + * testsuite/lib/prune.exp: Correct regular expression for + -ffunction-sections + 2002-01-02 Phil Edwards * include/bits/stl_algo.h (upper_bound, equal_range, binary_search): diff --git a/libstdc++-v3/testsuite/lib/prune.exp b/libstdc++-v3/testsuite/lib/prune.exp index 3fcbf306b60..55c108056f2 100644 --- a/libstdc++-v3/testsuite/lib/prune.exp +++ b/libstdc++-v3/testsuite/lib/prune.exp @@ -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 }