aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/lib/old-dejagnu.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/lib/old-dejagnu.exp')
-rw-r--r--gcc/testsuite/lib/old-dejagnu.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/lib/old-dejagnu.exp b/gcc/testsuite/lib/old-dejagnu.exp
index 105c37d5605..2e2acff2bd4 100644
--- a/gcc/testsuite/lib/old-dejagnu.exp
+++ b/gcc/testsuite/lib/old-dejagnu.exp
@@ -443,7 +443,7 @@ proc old-dejagnu { compiler prog name cflagsx default_cflags libs } {
}
# Delete things like "ld.so: warning" messages.
- set comp_output [prune_warnings $comp_output]
+ set comp_output [prune_gcc_output [prune_warnings $comp_output]]
if [regexp "Internal (compiler )?error" $comp_output] then {
if $expect_crash then {