[LLVMbugs] [Bug 14442] New: __int128 atomic hangs compiler
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Nov 26 23:53:59 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=14442
Bug #: 14442
Summary: __int128 atomic hangs compiler
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: dvyukov at google.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
$ clang++ -v
clang version 3.3 (trunk 168584)
Target: x86_64-unknown-linux-gnu
Thread model: posix
$ cat /tmp/test.cc
int main() {
__int128 a;
__sync_fetch_and_add(&a, 1);
}
$ clang++ /tmp/test.cc
[burns 100% CPU and hangs forever in]
#0 0x0000000000b943df in llvm::DAGTypeLegalizer::ExpandAtomic(llvm::SDNode*)
()
#1 0x0000000000bacf42 in
llvm::DAGTypeLegalizer::ExpandIntegerResult(llvm::SDNode*, unsigned int) ()
#2 0x0000000000b3f40c in llvm::SelectionDAG::LegalizeTypes() ()
#3 0x0000000000aee1a9 in llvm::SelectionDAGISel::CodeGenAndEmitDAG() ()
#4 0x0000000000af4e4e in
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) ()
#5 0x0000000000af5fb8 in
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) ()
#6 0x00000000010f024c in llvm::FPPassManager::runOnFunction(llvm::Function&)
()
#7 0x00000000010f02f3 in llvm::FPPassManager::runOnModule(llvm::Module&) ()
#8 0x00000000010efe66 in llvm::MPPassManager::runOnModule(llvm::Module&) ()
#9 0x00000000010effa2 in llvm::PassManagerImpl::run(llvm::Module&) ()
#10 0x00000000011e886a in clang::EmitBackendOutput(clang::DiagnosticsEngine&,
clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions
const&, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) ()
#11 0x00000000011e61a0 in
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) ()
#12 0x000000000146c5ee in clang::ParseAST(clang::Sema&, bool, bool) ()
#13 0x00000000013b3a81 in clang::FrontendAction::Execute() ()
#14 0x0000000001396aa0 in
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) ()
#15 0x00000000011c8aca in
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) ()
#16 0x0000000000640690 in cc1_main(char const**, char const**, char const*,
void*) ()
#17 0x00000000006274a2 in main ()
--
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.
More information about the llvm-bugs
mailing list