[LLVMbugs] [Bug 2333] New: clang codegen crash with function declared without a prototype then defined
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Thu May 15 19:29:12 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2333
Summary: clang codegen crash with function declared without a
prototype then defined
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedbugs at nondot.org
ReportedBy: sharparrow1 at yahoo.com
CC: llvmbugs at cs.uiuc.edu
Testcase:
int a();
int b()
{
a(1);
}
int a(int b)
{
return b;
}
crashes with clang -emit-llvm.
This in CodeGenFunction::GenerateCode because it adds a body to a function
declaration with an incomplete argument list.
--
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