<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:fjahanian@apple.com" title="Fariborz Jahanian <fjahanian@apple.com>"> <span class="fn">Fariborz Jahanian</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - Crash on invalid in Microsoft anonymous struct extension"
href="http://llvm.org/bugs/show_bug.cgi?id=11847">bug 11847</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>fjahanian@apple.com
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>FIXED
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - Crash on invalid in Microsoft anonymous struct extension"
href="http://llvm.org/bugs/show_bug.cgi?id=11847#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - Crash on invalid in Microsoft anonymous struct extension"
href="http://llvm.org/bugs/show_bug.cgi?id=11847">bug 11847</a>
from <span class="vcard"><a class="email" href="mailto:fjahanian@apple.com" title="Fariborz Jahanian <fjahanian@apple.com>"> <span class="fn">Fariborz Jahanian</span></a>
</span></b>
<pre>Here is a related test case which crashes with -fms-extensions.
I am not sure what the treatment should be. Two possibilities:
1) Issue error when used in sizeof.
2) Just like c/c++'s undefined struct ignore it when used in sizeof.
struct anon_fault {
struct undefined;
};
int main()
{
return sizeof(struct anon_fault);
}</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>