Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2019 07:51:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 238607] devel/folly: clang 8 crashes during build
Message-ID:  <bug-238607-29464-rOVzZbWBB3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-238607-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-238607-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=3D238607

Dimitry Andric <dim@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dim@FreeBSD.org
             Status|New                         |Open

--- Comment #2 from Dimitry Andric <dim@FreeBSD.org> ---
I can reproduce, and am investigating.  It is some C++17 feature that goes
awry.

Reduced to:

// clang -cc1 -triple x86_64-- -S -std=3Dc++17 RecordIO-min.cpp
// Assertion failed: (!Init->isValueDependent()), function checkInitIsICE,
// file tools/clang/lib/AST/Decl.cpp, line 2342.
template <int> struct a;
template <class b, class> struct c {
  static constexpr int f =3D b ::d;
  c(a<f>);
};
template <class e, class g =3D int> c(e)->c<e, g>;

--=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-238607-29464-rOVzZbWBB3>