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: unassignedb...@nondot.org
Reporter: mar...@martin.st
CC: llvm-bugs@lists.llvm.org, r...@google.com,
timshe...@gmail.com, w3c...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs