[LLVMbugs] [Bug 14071] New: UNREACHABLE executed in rewriteARMFrameIndex while handling __builtin_prefetch of local variable on ARM
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Oct 11 16:32:13 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=14071
Bug #: 14071
Summary: UNREACHABLE executed in rewriteARMFrameIndex while
handling __builtin_prefetch of local variable on ARM
Product: new-bugs
Version: trunk
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: htam at apple.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
foo.c:
int foo(int x) {
char bar[20];
__builtin_prefetch(&bar);
return 0;
}
$ clang foo.c -target armv7
clang: warning: unknown platform, assuming -mfloat-abi=soft
Unsupported addressing mode!
UNREACHABLE executed at <...>/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp:1865!
0 clang 0x000000000277eeba
1 clang 0x000000000277f450
2 libpthread.so.0 0x00002b4104a5bbe0
3 libc.so.6 0x00002b410562f285 gsignal + 53
4 libc.so.6 0x00002b4105630d30 abort + 272
5 clang 0x0000000002767466 llvm::report_fatal_error(llvm::Twine
const&) + 0
6 clang 0x0000000001c3d2ec
llvm::rewriteARMFrameIndex(llvm::MachineInstr&, unsigned int, unsigned int,
int&, llvm::ARMBaseInstrInfo const&) + 1050
7 clang 0x0000000001c49c3f
llvm::ARMBaseRegisterInfo::eliminateFrameIndex(llvm::MachineBasicBlock::bundle_iterator<llvm::MachineInstr,
llvm::ilist_iterator<llvm::MachineInstr> >, int, llvm::RegScavenger*) const +
649
8 clang 0x000000000213fa1f
llvm::PEI::replaceFrameIndices(llvm::MachineFunction&) + 1431
9 clang 0x00000000021422d8
llvm::PEI::runOnMachineFunction(llvm::MachineFunction&) + 470
10 clang 0x00000000020ee721
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 85
11 clang 0x000000000270d694
llvm::FPPassManager::runOnFunction(llvm::Function&) + 334
12 clang 0x000000000270d86e
llvm::FPPassManager::runOnModule(llvm::Module&) + 86
13 clang 0x000000000270d365
llvm::MPPassManager::runOnModule(llvm::Module&) + 381
14 clang 0x000000000270e7d5 llvm::PassManagerImpl::run(llvm::Module&)
+ 111
15 clang 0x000000000270e837 llvm::PassManager::run(llvm::Module&) +
33
16 clang 0x0000000000add83f
17 clang 0x0000000000add9ad
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 137
18 clang 0x0000000000ada011
19 clang 0x0000000000c78453 clang::ParseAST(clang::Sema&, bool, bool)
+ 711
20 clang 0x00000000008e3e1d clang::ASTFrontendAction::ExecuteAction()
+ 265
21 clang 0x0000000000ad8450 clang::CodeGenAction::ExecuteAction() +
1024
22 clang 0x00000000008e4130 clang::FrontendAction::Execute() + 216
23 clang 0x00000000008bd500
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 638
24 clang 0x00000000008903b3
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 895
25 clang 0x000000000087f0e5 cc1_main(char const**, char const**, char
const*, void*) + 909
26 clang 0x000000000088bd78 main + 434
27 libc.so.6 0x00002b410561c994 __libc_start_main + 244
28 clang 0x000000000087e439
$ clang -v
clang version 3.2 (trunk 165756)
Target: x86_64-unknown-linux-gnu
Thread model: posix
--
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