[llvm-bugs] [Bug 32864] tools/clang/include/clang/AST/APValue.h:314: clang::APValue &clang::APValue::getStructField(unsigned int): Assertion `isStruct() && "Invalid accessor"' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Thu May 4 08:53:00 PDT 2017


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

Yaron Keren <yaron.keren at gmail.com> changed:

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

--- Comment #4 from Yaron Keren <yaron.keren at gmail.com> ---
in comment 3 I thought this was solved since I verified it on Windows with MSVC
target, but -fdelayed-template-parsing used with MSVC target makes the crash
disappear.

as of r302053 the example still crashes, building with
-DLLVM_ENABLE_ASSERTIONS:BOOL=ON and specifying target

clang -target x86_64-unknown-linux-gnu -std=c++14 file1.cpp

reporduces the crash on Windows as well as Linux.

-- 
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/20170504/05b5440e/attachment.html>


More information about the llvm-bugs mailing list