[Bug c++/92552] [10 Regression] internal compiler error: in lazily_declare_fn, at cp/method.c:3045 with -fconcepts
ensadc at mailnesia dot com
gcc-bugzilla@gcc.gnu.org
Sun Nov 17 22:22:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92552
ensadc at mailnesia dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ensadc at mailnesia dot com
--- Comment #1 from ensadc at mailnesia dot com ---
Reduced:
template <typename T> struct basic_mixin {
basic_mixin() requires true;
};
template <typename Cur>
struct mixin : basic_mixin<Cur> {
using basic_mixin<Cur>::basic_mixin;
};
int main() {
(void)__is_constructible(mixin<int>);
// noexcept(mixin<int>()); also triggers ICE
}
More information about the Gcc-bugs
mailing list