<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:richard-llvm@metafoo.co.uk" title="Richard Smith <richard-llvm@metafoo.co.uk>"> <span class="fn">Richard Smith</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - file-scoped variably modified type erroneously supported in C as a GNU extension (GCC provides the extension only for C++)"
   href="https://bugs.llvm.org/show_bug.cgi?id=44406">bug 44406</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;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Fixed By Commit(s)</td>
           <td>
                
           </td>
           <td>552c6c2328723a248c2b4d2765f75d49129dff20
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - file-scoped variably modified type erroneously supported in C as a GNU extension (GCC provides the extension only for C++)"
   href="https://bugs.llvm.org/show_bug.cgi?id=44406#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - file-scoped variably modified type erroneously supported in C as a GNU extension (GCC provides the extension only for C++)"
   href="https://bugs.llvm.org/show_bug.cgi?id=44406">bug 44406</a>
              from <span class="vcard"><a class="email" href="mailto:richard-llvm@metafoo.co.uk" title="Richard Smith <richard-llvm@metafoo.co.uk>"> <span class="fn">Richard Smith</span></a>
</span></b>
        <pre>The issues in <a href="show_bug.cgi?id=44406#c3">comment#3</a> and <a href="show_bug.cgi?id=44406#c4">comment#4</a> are fixed; we now follow GCC's behavior
in most regards.

Contrary to <a href="show_bug.cgi?id=44406#c0">comment#0</a>, we still do fold VLAs to constant arrays in struct
members where GCC does not. However, that seems justifiable: GCC supports VLAs
as struct members and Clang does not, and folding VLAs to constant arrays
allows us to accept at least some of the cases that GCC accepts here.</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>