[llvm-bugs] [Bug 44361] Crash in clang::Redeclarable<clang::TagDecl>::DeclLink::getPrevious(clang::TagDecl const*)

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 4 05:45:22 PDT 2021


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

Ryan Mansfield <rmansfield at gmail.com> changed:

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

--- Comment #1 from Ryan Mansfield <rmansfield at gmail.com> ---
Verified crash no longer happens with current HEAD (8cd40ece70e5). 

This crash this was fixed by the following commit:

commit 80c1adfd18b5308422827f8372c28cc2ecfaa015
Author: Haojian Wu <hokein.wu at gmail.com>
Date:   Wed May 19 14:28:41 2021 +0200

    [clang] Invalidate a non-dependent-type RecordDecl when it has any
dependent-type base class specifier.

    This happens during the error-recovery, and it would esacpe all
    dependent-type check guards in getTypeInfo/constexpr-evaluator code
    paths, which lead to crashes.

    Differential Revision: https://reviews.llvm.org/D102773

-- 
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/20210804/e7ee4788/attachment-0001.html>


More information about the llvm-bugs mailing list