http://llvm.org/bugs/show_bug.cgi?id=6913
Summary: LLVM Segmentation Fault on Compile
Product: new-bugs
Version: 2.6
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
LLVM SEGFAULTs when executing the command:
llvm-gcc -c --emit-llvm -o array.bc array.c
With array.c:
#include <stdio.h>
#include <malloc.h>
int main()
{
int x[10][10];
int (*p)[] = x; // <-- this line is what triggered it
int i;
for(i = 0; i < 10; ++i)
{
p[i][i] = i;
}
}
--
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