https://llvm.org/bugs/show_bug.cgi?id=23243
Bug ID: 23243
Summary: [ms] crash on __declspec(selectany) in .c file
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
This crashes if it's in a .c file (but works in a .cc file):
__declspec(selectany) int x3;
'common' global may not be in a Comdat!
i32* @x3
fatal error: error in backend: Broken module found, compilation aborted!
Found while investigating r235046, but not caused by it.
--
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