[LLVMbugs] [Bug 112] New: casting a string constant to void crashes llvm-gcc
bugzilla-daemon at zion.cs.uiuc.edu
bugzilla-daemon at zion.cs.uiuc.edu
Wed Nov 12 14:14:12 PST 2003
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=112
Summary: casting a string constant to void crashes llvm-gcc
Product: tools
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: llvm-gcc
AssignedTo: sabre at nondot.org
ReportedBy: gaeke+bugs at uiuc.edu
Testcase:
static void query_newnamebuf(void) { ((void)"query_newnamebuf"); }
How to reproduce bug:
copy the above line into foobar.i and run:
> llvm-gcc foobar.i
and you will see:
foobar.i: In function `query_newnamebuf':
foobar.i:4: internal compiler error: Segmentation fault
Please submit a full bug report,
[yadda yadda yadda.]
------- 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