From 91afdf4c797b1768036b2e32728482c2139e05e1 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Fri, 3 Nov 2017 14:18:01 +0000 Subject: [PATCH] [PATCH] Fix testsuire error message https://gcc.gnu.org/ml/gcc-patches/2017-11/msg00196.html * lib/scanlang.exp: Fix error message to refer to scan-lang-dump. From-SVN: r254375 --- gcc/testsuite/ChangeLog | 2 ++ gcc/testsuite/lib/scanlang.exp | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e40224e5564..f8754d43581 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,7 @@ 2017-11-03 Nathan Sidwell + * lib/scanlang.exp: Fix error message to refer to scan-lang-dump. + PR c++/82710 * g++.dg/warn/pr82710.C: More cases. diff --git a/gcc/testsuite/lib/scanlang.exp b/gcc/testsuite/lib/scanlang.exp index 796214385c8..729d3069c2a 100644 --- a/gcc/testsuite/lib/scanlang.exp +++ b/gcc/testsuite/lib/scanlang.exp @@ -28,11 +28,11 @@ load_lib scandump.exp proc scan-lang-dump { args } { if { [llength $args] < 2 } { - error "scan-tree-dump: too few arguments" + error "scan-lang-dump: too few arguments" return } if { [llength $args] > 3 } { - error "scan-tree-dump: too many arguments" + error "scan-lang-dump: too many arguments" return } if { [llength $args] >= 3 } { -- 2.30.2