[LLVMbugs] [Bug 12636] New: LLVM crashes with -O2 on ARM
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Apr 23 09:47:16 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=12636
Bug #: 12636
Summary: LLVM crashes with -O2 on ARM
Product: new-bugs
Version: 3.0
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: weimingz at codeaurora.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 8434
--> http://llvm.org/bugs/attachment.cgi?id=8434
crashes with -O2
UNREACHABLE executed!
0 clang 0x0000000001aa62bf
1 clang 0x0000000001aa800a
2 libpthread.so.0 0x00007fb22a9bf8f0
3 libc.so.6 0x00007fb229caea75 gsignal + 53
4 libc.so.6 0x00007fb229cb25c0 abort + 384
5 clang 0x0000000001a90e74 llvm::llvm_unreachable_internal(char
const*, char const*, unsigned int) + 356
6 clang 0x00000000013eea0a
7 clang 0x0000000001453789
llvm::SelectionDAGISel::DoInstructionSelection() + 41
8 clang 0x0000000001454348
llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 712
9 clang 0x0000000001455a51
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&) + 161
10 clang 0x000000000145b93f
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 1999
11 clang 0x000000000145cb05
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 677
12 clang 0x00000000019ffb39
llvm::FPPassManager::runOnFunction(llvm::Function&) + 521
13 clang 0x00000000019ffbd3
llvm::FPPassManager::runOnModule(llvm::Module&) + 51
14 clang 0x00000000019ff79e
llvm::MPPassManager::runOnModule(llvm::Module&) + 462
15 clang 0x00000000019ff8ad llvm::PassManagerImpl::run(llvm::Module&)
+ 125
16 clang 0x0000000000768758
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 1544
17 clang 0x0000000000765044 clang::CodeGenAction::ExecuteAction() +
628
18 clang 0x0000000000610b79
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 265
19 clang 0x00000000005fbc5c
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1308
20 clang 0x00000000005f26b0 cc1_main(char const**, char const**, char
const*, void*) + 1056
21 clang 0x00000000005fac9c main + 6780
22 libc.so.6 0x00007fb229c99c4d __libc_start_main + 253
23 clang 0x00000000005f02a9
Stack dump:
0. Program arguments: /home/llvm/bin/clang -cc1 -triple
armv4t-none-linux-gnueabi -S -disable-free -disable-llvm-verifier
-main-file-name crash01.ll -mrelocation-model static -mdisable-fp-elim
-mconstructor-aliases -target-abi aapcs-linux -target-cpu arm7tdmi -mfloat-abi
soft -target-feature +soft-float-abi -target-feature +neon
-target-linker-version 2.20.1 -momit-leaf-frame-pointer -resource-dir
/home/llvm/bin/../lib/clang/3.1 -O2 -fno-dwarf-directory-asm
-fdebug-compilation-dir /prj/llvm-arm/home/weimingz/plumhall -ferror-limit 19
-fmessage-length 150 -mstackrealign -fno-signed-char -fgnu-runtime
-fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-fragile-abi
-fdiagnostics-show-option -fcolor-diagnostics -o /tmp/crash01-HanCSM.s -x ir
crash01.ll
--
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