csmith-project / creduce

C-Reduce, a C and C++ program reducer
Other
1.25k stars 123 forks source link

clang_delta assert: clang_delta: ../tools/clang/lib/AST/ExprConstant.cpp:12374 failed on i586 #212

Closed marxin closed 4 years ago

marxin commented 4 years ago

I see the following assert being triggered on i586 and armv7l:

./clang_delta tests/reduce-array-dim/non-type-temp-arg.cpp --transformation=reduce-array-dim --counter=1
clang_delta: ../tools/clang/lib/AST/ExprConstant.cpp:12374: bool clang::Expr::EvaluateAsInt(clang::Expr::EvalResult &, const clang::ASTContext &, clang::Expr::SideEffectsKind, bool) const: Assertion `!isValueDependent() && "Expression evaluator can't be called on a dependent expression."' failed.
chenyang78 commented 4 years ago

This was fixed. Thanks!

marxin commented 4 years ago

Can you please link a commit that fixed that with issues? It's then easier to find which issue was fixed by which commit. Thanks!

chenyang78 commented 4 years ago

It was fixed in commit 34881e7. Thanks.