[llvm-bugs] [Bug 39528] Assertion `(ND->isUsed(false) || !isa<VarDecl>(ND) || !E->getLocation().isValid()) && "Should not use decl without marking it used!"' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Nov 2 19:24:38 PDT 2018


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

Richard Smith <richard-llvm at metafoo.co.uk> changed:

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

--- Comment #3 from Richard Smith <richard-llvm at metafoo.co.uk> ---
r345562 reverted in r346065. We need to fix CodeGen to properly handle
non-odr-used-but-referenced variables before we can do this.

-- 
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/20181103/4e4441e0/attachment.html>


More information about the llvm-bugs mailing list