+chandlerc, richardsmith, klimek, dgregor<div><br></div><div>Yes, it's really my patch, but I'm not really sure if we want to fix this.</div><div><br></div><div>Any idea of whether we should care about this behavior or not?<br>
<br><div class="gmail_quote">On Wed, Aug 29, 2012 at 5:48 PM, Alexander Kornienko <span dir="ltr"><<a href="mailto:alexfh@google.com" target="_blank">alexfh@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm not really sure if that was my patch, but I'm looking into it now.<div><br></div><div>Anyone else has any preferences except compatibility with gcc?<div><div class="h5"><br><br><div class="gmail_quote">On Wed, Aug 29, 2012 at 5:16 PM, Eli Friedman <span dir="ltr"><<a href="mailto:eli.friedman@gmail.com" target="_blank">eli.friedman@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Wed, Aug 29, 2012 at 4:40 PM, Alexander Kornienko <<a href="mailto:alexfh@google.com" target="_blank">alexfh@google.com</a>> wrote:<br>


> No, there was no intention to change behavior. But could you provide more<br>
> details on this?<br>
<br>
</div>Just compile it with clang; before, it would fail to compile:<br>
[...]gcc-4_2-testsuite/src/gcc.dg/cpp/mac-dir-1.c:27:15: error: too<br>
many arguments provided to function-like macro invocation<br>
     if (1 != f(2<br>
              ^<br>
[...]/gcc-4_2-testsuite/src/gcc.dg/cpp/mac-dir-1.c:27:15: error: use<br>
of undeclared identifier 'f'<br>
<br>
With your patch, it compiles without errors, but the compiled program<br>
aborts.  For comparison, with gcc, the program compiles and runs<br>
successfully.  (I'm pretty sure this is all undefined behavior per<br>
C99, but it would be nice to be consistent with gcc.)<br>
<span><font color="#888888"><br>
-Eli<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br>
<div>Regards,</div><div>Alex</div></font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>
</div><div>Regards,</div><div>Alex</div>