[LLVMbugs] [Bug 23740] New: dependent expr created by delayed typo correction leads to crash

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 2 16:22:17 PDT 2015


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

            Bug ID: 23740
           Summary: dependent expr created by delayed typo correction
                    leads to crash
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: david.majnemer at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

consider:
void f(long *a, long b) {
  __atomic_or_fetch(a, b, c);
}

results in:
clang/lib/AST/ExprConstant.cpp:8659: {anonymous}::ICEDiag CheckICE(const
clang::Expr*, const clang::ASTContext&): Assertion `!E->isValueDependent() &&
"Should not see value dependent exprs!"' failed.

-- 
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/20150602/af4903eb/attachment.html>


More information about the llvm-bugs mailing list