<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:spatel+llvm@rotateright.com" title="Sanjay Patel <spatel+llvm@rotateright.com>"> <span class="fn">Sanjay Patel</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WORKSFORME - clang crashes on valid code at -O3 on x86_64-linux-gnu: Assertion `L && L->getHeader() == P->getParent()' failed"
   href="https://bugs.llvm.org/show_bug.cgi?id=51592">bug 51592</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>WORKSFORME
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WORKSFORME - clang crashes on valid code at -O3 on x86_64-linux-gnu: Assertion `L && L->getHeader() == P->getParent()' failed"
   href="https://bugs.llvm.org/show_bug.cgi?id=51592#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WORKSFORME - clang crashes on valid code at -O3 on x86_64-linux-gnu: Assertion `L && L->getHeader() == P->getParent()' failed"
   href="https://bugs.llvm.org/show_bug.cgi?id=51592">bug 51592</a>
              from <span class="vcard"><a class="email" href="mailto:spatel+llvm@rotateright.com" title="Sanjay Patel <spatel+llvm@rotateright.com>"> <span class="fn">Sanjay Patel</span></a>
</span></b>
        <pre>I glanced at this yesterday and confirmed that it was crashing on godbolt, but
didn't have time to look further. 

But today it is not crashing on godbolt, so something changed...

I found these recent commits in SCEV (cc @reames) which change functions in the
crash backtrace:
<a href="https://github.com/llvm/llvm-project/commit/914836b1c8b36d4a317ef6c233746f6ec37b57a5">https://github.com/llvm/llvm-project/commit/914836b1c8b36d4a317ef6c233746f6ec37b57a5</a>
<a href="https://github.com/llvm/llvm-project/commit/ec8d87e9f56203df851e2d20750224d4a04803be">https://github.com/llvm/llvm-project/commit/ec8d87e9f56203df851e2d20750224d4a04803be</a>

...but I reverted past/to those locally, and I still don't see an assert.

So I'm going to mark this as "works for me", but if this repros on a more
recent build for someone (or someone can see that the bug is only hidden rather
than fixed), please reopen.</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>