[LLVMbugs] [Bug 10372] New: clang++ crashed when analyzing a function with returntype int, when it contains a return __null statement
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Jul 15 10:44:33 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10372
Summary: clang++ crashed when analyzing a function with
returntype int, when it contains a return __null
statement
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Static Analyzer
AssignedTo: kremenek at apple.com
ReportedBy: bastianra at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=6884)
--> (http://llvm.org/bugs/attachment.cgi?id=6884)
Test case that triggers the bug and and scan-build output.
Hi,
I am using a version compiled from
URL: http://llvm.org/svn/llvm-project/cfe/trunk
Repository Root: http://llvm.org/svn/llvm-project
Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8
Revision: 135213
running
scan-build -o . -v -v -v g++ main.cpp
on a file containing
int main(int argc, char * argv[])
{
return __null;
}
will crash clang++.
I have attached the output directory generated by scan-build including the
failure report.
Best,
Bastian
--
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