diff --git a/gcc/testsuite/lib/old-dejagnu.exp b/gcc/testsuite/lib/old-dejagnu.exp index c5d6fb23a89362194bc4ca20dfe924ac6cb2efac..ef291e328c035ea6d6294a4e2a3e953fb77e12e9 100644 --- a/gcc/testsuite/lib/old-dejagnu.exp +++ b/gcc/testsuite/lib/old-dejagnu.exp @@ -526,7 +526,7 @@ proc old-dejagnu { compiler prog name cflagsx default_cflags libs } { #look to see if this is all thats left, if so, all messages have been handled #send_user "comp_output: $comp_output\n" - regsub -all "(^|\n)\[^\n\]*: In ((member)? function|method) \[^\n\]*" $comp_output "" comp_output + regsub -all "(^|\n)\[^\n\]*: In ((member )?function|method) \[^\n\]*" $comp_output "" comp_output regsub -all "(^|\n)\[^\n\]*: In instantiation of \[^\n\]*" $comp_output "" comp_output regsub -all "(^|\n)\[^\n\]*: instantiated from \[^\n\]*" $comp_output "" comp_output regsub -all "(^|\n)\[^\n\]*: At top level:\[^\n\]*" $comp_output "" comp_output