Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Aug 2022 19:25:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 265751] clang crashes on science/py-tweedledum on i386, amd64 on 14
Message-ID:  <bug-265751-29464-49MNQmoJoz@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-265751-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-265751-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265751

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.=20
It's not clear to me how to reduce it.  The source code that causes the cra=
sh
is near the end of the file.

The error is:

Assertion failed: (!VD->mightBeUsableInConstantExpressions(Info.Ctx)), func=
tion
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] =3D device_.edge(j);

in SatSwap::symmetry_break.  clang is confused about whether a value depend=
s on
template arguments.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265751-29464-49MNQmoJoz>