<div class="gmail_quote">On Tue, Nov 22, 2011 at 2:30 PM, Richard Smith <span dir="ltr"><<a href="mailto:richard@metafoo.co.uk">richard@metafoo.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
The attached patch fixes the compound-literals-in-C++ extension to always use<br>
static storage duration for file-scope compound literals, as per GCC's<br>
documentation for this extension. Currently we only give them static storage<br>
duration if the initializer in which they appear is a constant.<br>
<br>
OK to commit?<br></blockquote><div><br></div><div>It's not clear to me why we need the helper function? Otherwise this looks fine to me...</div></div>