This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/60942] New: ICE on invalid code in unify_one_argument
- From: "d.frey at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 23 Apr 2014 17:36:46 +0000
- Subject: [Bug c++/60942] New: ICE on invalid code in unify_one_argument
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60942
Bug ID: 60942
Summary: ICE on invalid code in unify_one_argument
Product: gcc
Version: 4.8.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: d.frey at gmx dot de
The following (invalid) program:
template<typename> struct A {};
struct B : A<int> {};
template<int... I>
void dummy( const A< I... >& );
int main()
{
dummy( B() );
}
yields:
$ g++ -std=c++11 t.cc
t.cc: In function âint main()â:
t.cc:9:14: internal compiler error: in unify_one_argument, at cp/pt.c:15506
dummy( B() );
^