[Bug 238607] devel/folly: clang 8 crashes during build

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jun 17 07:51:22 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238607

Dimitry Andric <dim at FreeBSD.org> changed:

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

--- Comment #2 from Dimitry Andric <dim at 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=c++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 = b ::d;
  c(a<f>);
};
template <class e, class g = int> c(e)->c<e, g>;

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


More information about the freebsd-toolchain mailing list