<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7601.17824"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px"
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT size=2 face=Consolas>On Tuesday, July 10, 2012 12:08 AM, Richard
Smith wrote: <BR>> On Mon, Jul 9, 2012 at 2:14 PM, Andy Gibbs
wrote:<BR>>> The question at hand here relates to how -verify should
handle<BR>>> fatal errors generated within test cases. At the
moment,<BR>>> -verify doesn't handle them at all: it cannot be used to
check<BR>>> for the generation of fatal errors, nor does it provide
any<BR>>> diagnostics back to the user.<BR>><BR>> For those not
following on cfe-commits, this is an inaccurate<BR>> summary. We use -verify
to check fatal errors in a few tests<BR>> (for instance,
test/SemaTemplate/instantiation-depth*), and it<BR>> works, but if the test
fails then -verify is unable to produce<BR>> a diagnostic explaining why,
because all diagnostics are<BR>> suppressed after a fatal error</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Consolas>Yes, and I kicked myself too because I did
know it but I had totally</FONT></DIV>
<DIV><FONT size=2 face=Consolas>forgotten it in all the discussions</FONT><FONT
size=2 face=Consolas>. Apologies to all for bungling</FONT></DIV>
<DIV><FONT size=2 face=Consolas>my post. So, the behaviour needs to be
option 2 (i.e. treat fatal</FONT></DIV>
<DIV><FONT size=2 face=Consolas>errors as all other errors/warnings), but fix
the fact that it doesn't</FONT></DIV>
<DIV><FONT size=2 face=Consolas>produce diagnostics to the user.</FONT></DIV>
<DIV><FONT size=2 face=Consolas></FONT> </DIV>
<DIV><FONT size=2 face=Consolas>Jordan, I will post the patch for this on
cfe-commits this morning</FONT></DIV>
<DIV><FONT size=2 face=Consolas>when I'm properly awake (unlike last night!).
</FONT><FONT size=2 face=Consolas>I have just noted that</FONT></DIV>
<DIV><FONT size=2 face=Consolas>you've committed the first three parts: many
</FONT><FONT size=2 face=Consolas>thanks!!</FONT></DIV>
<DIV><FONT size=2 face=Consolas></FONT> </DIV>
<DIV><FONT size=2 face=Consolas>Cheers,</FONT></DIV>
<DIV><FONT size=2 face=Consolas>Andy<BR></FONT></DIV></BODY></HTML>