[LLVMbugs] [Bug 3023] New: clang: crash on union with typeof in debug codegen
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Fri Nov 7 10:26:40 PST 2008
http://llvm.org/bugs/show_bug.cgi?id=3023
Summary: clang: crash on union with typeof in debug codegen
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedbugs at nondot.org
ReportedBy: sanxiyn at gmail.com
CC: llvmbugs at cs.uiuc.edu
SVN r58855.
int convert(int i) {
union { typeof(i) in; int out; } u;
u.in = i;
return u.out;
}
$ clang -emit-llvm test.c
$ clang -emit-llvm -g test.c
Segmentation fault
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list