[LLVMbugs] [Bug 23963] New: [Regression][x86_64-w64-mingw32] Failure to compile simple switch-statement due to unrelocatable expression
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Jun 26 04:23:08 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23963
Bug ID: 23963
Summary: [Regression][x86_64-w64-mingw32] Failure to compile
simple switch-statement due to unrelocatable
expression
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: lunow at math.hu-berlin.de
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Hi, I am using clang ToT
$ cat test.cpp
int foo(int x)
{
switch (x)
{
default:
case 0: return 0;
case 1: return 1;
case 2: return 2;
case 3: return 3;
}
}
$ clang test.cpp -target x86_64-w64-mingw32
fatal error: error in backend: expected relocatable expression
--
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/20150626/da84b383/attachment.html>
More information about the llvm-bugs
mailing list