<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Nov 25, 2009, at 3:56 PM, John Thompson wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I'm not sure this is optimal, but it seems to fix Bug 5605.</div></blockquote><div><br></div>The parsing is fine, but this is missing some kind of diagnostic, because GCC rejects the test case:</div><div><br></div><div><div>blackthorn:~ dgregor$ gcc t.c</div><div>t.c:3: warning: ‘cf_returns_retained’ attribute directive ignored</div><div>t.c:3: error: expected ‘,’ or ‘;’ before ‘{’ token</div><div>blackthorn:~ dgregor$ g++ t.c</div><div>t.c:2: error: attributes are not allowed on a function-definition</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">   </span>- Doug</div><div><br></div><br><blockquote type="cite">
<div>-John<br><br></div>
<div class="gmail_quote">On Wed, Nov 25, 2009 at 3:13 PM, John Thompson <span dir="ltr"><<a href="mailto:john.thompson.jtsoftware@gmail.com">john.thompson.jtsoftware@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>Thanks.</div>
<div class="im">
<div> </div>
<div>>Any chance you're also interested in tackling the related PR here?</div>
<div> </div></div>
<div>Sure.  I thought it was the same issue, but I guess it's a different code path.  I'm working on it.</div>
<div> </div><font color="#888888">
<div>-John<br></div></font>-- <br>John Thompson<br><a href="mailto:John.Thompson.JTSoftware@gmail.com">John.Thompson.JTSoftware@gmail.com</a><br><br></blockquote></div>
<span><attr_pos2.patch></span>_______________________________________________<br>cfe-dev mailing list<br><a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev<br></blockquote></div><br></body></html>