<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:davide@freebsd.org" title="Davide Italiano <davide@freebsd.org>"> <span class="fn">Davide Italiano</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - crash on valid C code at -Os and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (Assertion `Headers.size() >= 2 && "Expected irreducible CFG; -loop-info is likely invalid"' failed.)"
   href="https://llvm.org/bugs/show_bug.cgi?id=31117">bug 31117</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>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - crash on valid C code at -Os and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (Assertion `Headers.size() >= 2 && "Expected irreducible CFG; -loop-info is likely invalid"' failed.)"
   href="https://llvm.org/bugs/show_bug.cgi?id=31117#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - crash on valid C code at -Os and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (Assertion `Headers.size() >= 2 && "Expected irreducible CFG; -loop-info is likely invalid"' failed.)"
   href="https://llvm.org/bugs/show_bug.cgi?id=31117">bug 31117</a>
              from <span class="vcard"><a class="email" href="mailto:davide@freebsd.org" title="Davide Italiano <davide@freebsd.org>"> <span class="fn">Davide Italiano</span></a>
</span></b>
        <pre>Fixed in trunk.

$ ./clang blah.c -O3 -o /dev/null
blah.c:12:15: warning: implicitly declaring library function 'printf' with type
'int (const char *, ...)' [-Wimplicit-function-declaration]
      int k = printf("%d\n", g);
              ^
blah.c:12:15: note: include the header <stdio.h> or explicitly provide a
declaration for 'printf'
blah.c:37:5: warning: expression result unused [-Wunused-value]
    e;
    ^
2 warnings generated.</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>