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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to