[Bug 265751] clang crashes on science/py-tweedledum on i386, amd64 on 14
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 Aug 2022 19:25:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265751
John F. Carr <jfc@mit.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jfc@mit.edu
--- Comment #4 from John F. Carr <jfc@mit.edu> ---
The test case produced by llvm is too large to upload here, 1.6 MB with xz -9.
It's not clear to me how to reduce it. The source code that causes the crash
is near the end of the file.
The error is:
Assertion failed: (!VD->mightBeUsableInConstantExpressions(Info.Ctx)), function
evaluateVarDeclInit, file
/data/Cilk/opencilk-project/clang/lib/AST/ExprConstant.cpp, line 3314.
It happens trying to generate code for
auto& [u_j, v_j] = device_.edge(j);
in SatSwap::symmetry_break. clang is confused about whether a value depends on
template arguments.
--
You are receiving this mail because:
You are the assignee for the bug.