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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs