Commit 0c471ab8 by Janis Johnson Committed by Janis Johnson

* lib/gcc-dg.exp (process-message): Don't ignore errors.

From-SVN: r189815
parent 1101ed57
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> 2012-07-24 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
PR target/54051 PR target/54051
......
...@@ -739,7 +739,7 @@ proc process-message { msgproc msgprefix dgargs } { ...@@ -739,7 +739,7 @@ proc process-message { msgproc msgprefix dgargs } {
# Process the dg- directive, including adding the regular expression # Process the dg- directive, including adding the regular expression
# to the new message entry in dg-messages. # to the new message entry in dg-messages.
set msgcnt [llength ${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 the target expression wasn't satisfied there is no new message.
if { [llength ${dg-messages}] == $msgcnt } { if { [llength ${dg-messages}] == $msgcnt } {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment