This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/83287] [8 Regression] ice in tsubst_copy, at cp/pt.c:14884
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 17 Jan 2018 10:26:56 +0000
- Subject: [Bug c++/83287] [8 Regression] ice in tsubst_copy, at cp/pt.c:14884
- Auto-submitted: auto-generated
- References: <bug-83287-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83287
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Reduced testcase that still ICEs, starting with the same revision:
void foo ();
namespace {
void foo ();
}
template <class, class T>
void
bar ()
{
new T (foo);
}
void
baz ()
{
bar <double, double> ();
}