[llvm-bugs] [Bug 25524] New: Assertion with pointers to anonymous member variables.

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Nov 13 10:06:23 PST 2015


https://llvm.org/bugs/show_bug.cgi?id=25524

            Bug ID: 25524
           Summary: Assertion with pointers to anonymous member variables.
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            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 15288
  --> https://llvm.org/bugs/attachment.cgi?id=15288&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 following options:

$> clang -cc1 -analyze "-analyzer-checker=core" "trim.cpp"

UNREACHABLE executed at
<...>\llvm\tools\clang\lib\StaticAnalyzer\Core\ExprEngine.cpp:1954!

-- 
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/14c8225a/attachment-0001.html>


More information about the llvm-bugs mailing list