https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78894
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
Target Milestone|--- |7.0
Summary|[c++17] ICE for std::list |[7 Regression] [c++17] ICE
|template deduction from |for std::list template
|std:: initializer_list |deduction from std::
| |initializer_list
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r240756 - P0091R2.
Reduced testcase for the ICE (with -std=c++17):
struct A
{
A ();
};
template <typename T>
struct C
{
C (int, const T &, const A & = A ());
};
C a = { 0, 0 };