<div class="gmail_quote">On 18 July 2012 15:55, Robinson, Paul <span dir="ltr"><<a href="mailto:Paul.Robinson@am.sony.com" target="_blank">Paul.Robinson@am.sony.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Guard use of a possibly uninitialized field.<br>
<br>
This was causing very unpredictable compiler crashes. I have not<br>
provided a test because even our most reliable reproducer still failed<br>
less than 10% of the time.<br></blockquote><div><br></div><div>Can you get a reproducer that reliably triggers a valgrind notice? Can you produce a reduced testcase which does that?</div><div><br></div><div>Nick</div><div>

<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I really really really don't like sometimes-uninitialized fields<br>
guarded by flags. It is not a robust practice and took us a couple of<br>
weeks of poking at it to find the root cause. But it is how the rest<br>
of SemaOverload handles this field, so we fixed it using the<br>
prevailing practice in the module.<br>
--paulr<br>_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br></blockquote></div><br>