http://llvm.org/bugs/show_bug.cgi?id=11336
Bug #: 11336
Summary: vargs macro dererencing a incomplete structure
Product: clang
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Frontend
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
The 'online-demo' compiler crash with this code:
#include <stdarg.h>
struct S;
void deref_incomplete(int a, ...)
{
va_list ap;
int i;
va_start(ap, a);
va_arg(ap, struct S);
va_end(ap);
}
clang: error: unable to execute command: 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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs