[llvm-bugs] [Bug 51232] New: Assertion `!FoundVal && "Key already in new map?"' failed after D6594
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jul 27 15:43:29 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=51232
Bug ID: 51232
Summary: Assertion `!FoundVal && "Key already in new map?"'
failed after D6594
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Core LLVM classes
Assignee: unassignedbugs at nondot.org
Reporter: martin at martin.st
CC: llvm-bugs at lists.llvm.org, rnk at google.com,
timshen91 at gmail.com, w3cing at gmail.com
Created attachment 25076
--> https://bugs.llvm.org/attachment.cgi?id=25076&action=edit
Reproduction code
After https://reviews.llvm.org/D6594, applied in
https://github.com/llvm/llvm-project/commit/a0757d8ebdefa1c54896d70d2a04f68fc23f7916,
compiling some source files for aarch64-windows-msvc fails with a failed assert
"!FoundVal && "Key already in new map?"
This can be reproduced with the attached source file like this:
$ clang -target aarch64-windows-msvc -w -c -O2 wine-preproc.c
clang: ../include/llvm/ADT/DenseMap.h:408: void llvm::DenseMapBase<DerivedT,
KeyT, ValueT, KeyInfoT, BucketT>::moveFromOldBuckets(BucketT*, BucketT*) [with
DerivedT = llvm::DenseMap<llvm::ConstantExpr*, llvm::detail::DenseSetEmpty,
llvm::ConstantUniqueMap<llvm::ConstantExpr>::MapInfo,
llvm::detail::DenseSetPair<llvm::ConstantExpr*> >; KeyT = llvm::ConstantExpr*;
ValueT = llvm::detail::DenseSetEmpty; KeyInfoT =
llvm::ConstantUniqueMap<llvm::ConstantExpr>::MapInfo; BucketT =
llvm::detail::DenseSetPair<llvm::ConstantExpr*>]: Assertion `!FoundVal && "Key
already in new map?"' failed.
--
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/20210727/23f96320/attachment.html>
More information about the llvm-bugs
mailing list