[LLVMbugs] [Bug 62] New: C backend barfs on constant cast expr to ptr-to-anonymous struct
bugzilla-daemon at zion.cs.uiuc.edu
bugzilla-daemon at zion.cs.uiuc.edu
Tue Oct 28 14:57:14 PST 2003
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=62
Summary: C backend barfs on constant cast expr to ptr-to-
anonymous struct
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: C backend
AssignedTo: sabre at nondot.org
ReportedBy: gaeke+bugs at uiuc.edu
llvm/test/Regression/CBackend/2003-10-28-CastToPtrToStruct.ll
This tries to getelementptr on a constant cast expression that casts to
pointer-to-unnamed-struct type. The resulting C Writer code apparently tries to do
({ int field0; int field1; }) as a cast, which is not going to work.
------- 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