<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Assertion `currentLoop->isLCSSAForm(*DT)' failed."
   href="http://llvm.org/bugs/show_bug.cgi?id=18753">18753</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Assertion `currentLoop->isLCSSAForm(*DT)' failed.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kcc@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>chandlerc@gmail.com, llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>at r200919:



a;
b;
c[];
d;
e;
static
check_1minuseps () {
  int f;
  for (; sizeof 0; f++)
    for (; d; d++)
      for (; e; e++)
        for (; a; a++) {
          mpfr_prec_round (c[f]);
          b || mpfr_equal_p ();
          if (b) {
            printf ("ia =     %u\n", f);
            exit (0);
          }
        }
}
main () {
  check_1minuseps ();
}

clang -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -O2 a.c

virtual bool {anonymous}::LoopUnswitch::runOnLoop(llvm::Loop*,
llvm::LPPassManager&): Assertion `currentLoop->isLCSSAForm(*DT)' failed.


test case reduced from mpfr-3.1.2
This is similar to <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - clang crashes on valid code at -O3 on x86_64-linux-gnu"
   href="show_bug.cgi?id=18688">http://llvm.org/bugs/show_bug.cgi?id=18688</a>,
but happens after the fix.</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>