[llvm-bugs] [Bug 44384] New: clang hangs when using -frounding-math on arm
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Dec 26 16:58:25 PST 2019
https://bugs.llvm.org/show_bug.cgi?id=44384
Bug ID: 44384
Summary: clang hangs when using -frounding-math on arm
Product: clang
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: unassignedclangbugs at nondot.org
Reporter: raj.khem at gmail.com
CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
richard-llvm at metafoo.co.uk
Created attachment 22964
--> https://bugs.llvm.org/attachment.cgi?id=22964&action=edit
testcase
Attached testcase ( from musl C library source code) is rendering clang hang
forever with 100% CPU usage
version info:
=============
clang -cc1 version 10.0.0 based upon LLVM 10.0.0git default target
x86_64-unknown-linux-gnu
cmdline:
========
/mnt/b/yoe/build/tmp/work/armv7vet2hf-neon-yoe-linux-musleabi/musl/1.1.24+gitAUTOINC+d01fdc777d-r0/recipe-sysroot-native/usr/bin/clang-10
-cc1 -triple armv7ve-yoe-linux-musleabi -emit-obj -frounding-math a.c
Trace
=====
here is stacktrace when breaking inside debugger
#0 0x0000555557c74c8c in llvm::SmallPtrSetImplBase::insert_imp_big(void
const*) ()
#1 0x0000555558906767 in llvm::SelectionDAG::Legalize() ()
#2 0x00005555589aab5f in llvm::SelectionDAGISel::CodeGenAndEmitDAG() ()
#3 0x00005555589ae908 in
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) ()
#4 0x00005555589b15d9 in
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) ()
#5 0x0000555556944194 in ?? ()
#6 0x00005555572a50ea in ?? ()
#7 0x0000555557619787 in llvm::FPPassManager::runOnFunction(llvm::Function&)
()
#8 0x000055555761a6a3 in llvm::FPPassManager::runOnModule(llvm::Module&) ()
#9 0x000055555761aac9 in llvm::legacy::PassManagerImpl::run(llvm::Module&) ()
#10 0x0000555557f112d7 in clang::EmitBackendOutput(clang::DiagnosticsEngine&,
clang::HeaderSearchOptions const&, clang::CodeGenOptions const&,
clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout
const&, llvm::Module*, clang::BackendAction,
std::unique_ptr<llvm::raw_pwrite_stream,
std::default_delete<llvm::raw_pwrite_stream> >) ()
#11 0x0000555558aaaf12 in ?? ()
#12 0x00005555594b8fd9 in clang::ParseAST(clang::Sema&, bool, bool) ()
#13 0x0000555558aab28c in clang::CodeGenAction::ExecuteAction() ()
#14 0x00005555584bae49 in clang::FrontendAction::Execute() ()
#15 0x000055555847268b in
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) ()
#16 0x000055555857d0a7 in
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) ()
#17 0x000055555648733a in cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) ()
#18 0x0000555556415142 in main ()
--
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/20191227/04bf2224/attachment.html>
More information about the llvm-bugs
mailing list