summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanis Johnson <janisjo@codesourcery.com>2012-07-24 16:55:54 +0000
committerJanis Johnson <janis@gcc.gnu.org>2012-07-24 16:55:54 +0000
commit0c471ab87bdb5fc3ff87560f64f78375ae6d386e (patch)
treea297ba0f3cc53b31eaf409b4211ef0e839f23882
parent1101ed57cfbfc79709ab302689a4568a6e95cd1f (diff)
downloadgcc-0c471ab87bdb5fc3ff87560f64f78375ae6d386e.tar.gz
* lib/gcc-dg.exp (process-message): Don't ignore errors.
From-SVN: r189815
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/lib/gcc-dg.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index abc08c996ad..a27889d619e 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2012-07-24 Janis Johnson <janisjo@codesourcery.com>
+
+ * lib/gcc-dg.exp (process-message): Don't ignore errors.
+
2012-07-24 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
PR target/54051
diff --git a/gcc/testsuite/lib/gcc-dg.exp b/gcc/testsuite/lib/gcc-dg.exp
index 3b9f9c0a514..07a81a5dcfb 100644
--- a/gcc/testsuite/lib/gcc-dg.exp
+++ b/gcc/testsuite/lib/gcc-dg.exp
@@ -739,7 +739,7 @@ proc process-message { msgproc msgprefix dgargs } {
# Process the dg- directive, including adding the regular expression
# to the new message entry in dg-messages.
set msgcnt [llength ${dg-messages}]
- catch { eval $msgproc $dgargs }
+ eval $msgproc $dgargs
# If the target expression wasn't satisfied there is no new message.
if { [llength ${dg-messages}] == $msgcnt } {