[LLVMbugs] [Bug 12887] New: Another clang segmentation fault
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat May 19 05:06:31 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=12887
Bug #: 12887
Summary: Another clang segmentation fault
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: merkil at savhon.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Clang as of 157108 segfaults while compiling this simple testcase (at -O3).
$ cat file.c
unsigned a, b, c;
void func(void)
{
while(1)
{
char d;
c = a ? d : 0;
d += b;
}
}
$ ~/clang/build/Release+Asserts/bin/clang -O3 -w file.c
clang: error: unable to execute command: Segmentation fault
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang: note: diagnostic msg: Please submit a bug report to
http://llvm.org/bugs/ and include command line arguments and all diagnostic
information.
clang: note: diagnostic msg: Preprocessed source(s) and associated run
script(s) are located at:
clang: note: diagnostic msg: /tmp/file-L57Fec.i
clang: note: diagnostic msg: /tmp/file-L57Fec.sh
Hope that helps :)
--
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