[LLVMbugs] [Bug 6913] New: LLVM Segmentation Fault on Compile
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Apr 23 20:00:58 PDT 2010
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: unassignedbugs at nondot.org
ReportedBy: MatthewRDutton.OSS at gmail.com
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list