http://llvm.org/bugs/show_bug.cgi?id=4922
Summary: Clang's Sema::ActOnEndOfTranslationUnit completes
tentative decls in nondeterminstic order
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
While investigating PR4888, I discovered that Sema::ActOnEndOfTranslationUnit
is completing tentative definitions in DenseMap iteration order, leading to
nondeterminstic generated code. This is badness. One possible fix is to have
Sema put tentative definitions in a vector as well as the densemap, and then
emit in vector order.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs