[LLVMbugs] [Bug 574] NEW: Constant constructor for nested entities causes crash
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Jun 8 09:12:24 PDT 2005
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=574
Summary: Constant constructor for nested entities causes crash
Product: tools
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: llvm-gcc
AssignedTo: unassignedbugs at nondot.org
ReportedBy: bryan.turner at pobox.com
Discovered using Quest tool.
The following test cases each cause LLVM to crash with the output message:
llvm_expand.c:5311
"Couldn't expand constructor in this context!"
-------------- TEST CASE #1 ------------------
static
union bt4
{
struct at4
{
unsigned long int av4;
}
gv4;
double hv4;
} bkv4 =
{ { 61172160UL } };
-------------- TEST CASE #2 ------------------
static
struct bt1
{
signed dv1:4;
signed ev1:6;
unsigned char fv1[1];
} cav1 =
{ 4, 22, { '\x2' } };
----------------------------------------------
This may be related to bug #279 - "constructor" code generation improvement.
--Bryan
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list