[Bug c++/97034] [11 Regression] ICE on C++20 code: gcc_assert failure in return type deduction (gcc/cp/pt.c:26984 in type_dependent_expression_p(tree_node*))
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 16 18:02:45 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97034
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
The same ICE can be triggered with
template <int>
struct E {
template <typename T>
struct G {
T t;
G(T) { }
};
void fn() { G{1}; }
};
which started with r269093.
More information about the Gcc-bugs
mailing list