[LLVMbugs] [Bug 23243] New: [ms] crash on __declspec(selectany) in .c file
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Apr 15 15:01:20 PDT 2015
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: unassignedclangbugs at nondot.org
Reporter: nicolasweber at gmx.de
CC: llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150415/eeff2b31/attachment.html>
More information about the llvm-bugs
mailing list