[LLVMbugs] [Bug 22540] New: arm thumb: wrong code when compiling switch statement with many cases
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Feb 10 21:17:13 PST 2015
http://llvm.org/bugs/show_bug.cgi?id=22540
Bug ID: 22540
Summary: arm thumb: wrong code when compiling switch statement
with many cases
Product: clang
Version: 3.6
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: markus at oberhumer.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 13838
--> http://llvm.org/bugs/attachment.cgi?id=13838&action=edit
test.c that triggers the bug
The attached file is just a large switch statement with many cases.
It seems that wrong code is generated once the number of cases reaches a
certain limit.
clang-3.6.0rc2 -target armv5-linux-eabi -mthumb -O0 -save-temps test.c
Please get back to me if you need more info to reproduce the problem.
--
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/20150211/027ce820/attachment.html>
More information about the llvm-bugs
mailing list