[llvm-bugs] [Bug 51592] clang crashes on valid code at -O3 on x86_64-linux-gnu: Assertion `L && L->getHeader() == P->getParent()' failed

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 25 05:10:15 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=51592

Sanjay Patel <spatel+llvm at rotateright.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #3 from Sanjay Patel <spatel+llvm at rotateright.com> ---
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:
https://github.com/llvm/llvm-project/commit/914836b1c8b36d4a317ef6c233746f6ec37b57a5
https://github.com/llvm/llvm-project/commit/ec8d87e9f56203df851e2d20750224d4a04803be

...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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210825/9af73eae/attachment.html>


More information about the llvm-bugs mailing list