[llvm-bugs] [Bug 25523] New: Assertion with array subscript operators applied to functions returning vector types.
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Nov 13 09:59:16 PST 2015
https://llvm.org/bugs/show_bug.cgi?id=25523
Bug ID: 25523
Summary: Assertion with array subscript operators applied to
functions returning vector types.
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Static Analyzer
Assignee: kremenek at apple.com
Reporter: pierregousseau14 at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 15287
--> https://llvm.org/bugs/attachment.cgi?id=15287&action=edit
test case
Using latest clang on trunk:
https://llvm.org/svn/llvm-project/cfe/trunk@253016
The attached test case causes clang to assert given the follwing options:
$> clang -cc1 -analyze "-analyzer-checker=core" "trim.c"
Assertion failed: A->isGLValue() || (!AMgr.getLangOpts().CPlusPlus &&
A->getType().isCForbiddenLValueType()), file
<...>llvm\tools\clang\lib\StaticAnalyzer\Core\ExprEngine.cpp, line 1972
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151113/903ad17a/attachment.html>
More information about the llvm-bugs
mailing list