[llvm-bugs] [Bug 38820] New: Decl.cpp:2332: bool clang::VarDecl::checkInitIsICE() const: Assertion `!Init->isValueDependent()' failed

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Sep 4 01:09:34 PDT 2018


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

            Bug ID: 38820
           Summary: Decl.cpp:2332: bool clang::VarDecl::checkInitIsICE()
                    const: Assertion `!Init->isValueDependent()' failed
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: balarishi.bhogadi at amd.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 20831
  --> https://bugs.llvm.org/attachment.cgi?id=20831&action=edit
Reduced testcase file to reproduce the issue

Faced the below assertion failure:

/home/amd/JENKINS/workspace/Staging_Build_Tracker/llvm/tools/clang/lib/AST/Decl.cpp:2332:
bool clang::VarDecl::checkInitIsICE() const: Assertion
`!Init->isValueDependent()' failed.


Steps to reproduce the issue with the reduced testcase:
- Download the attached file
- Compile the cpp file using the below command
   clang++  CE_assertion_err.cpp

-- 
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/20180904/35d0e574/attachment.html>


More information about the llvm-bugs mailing list