re PR c++/57196 (Bogus "aggregate ... has incomplete type and cannot be defined")
authorJason Merrill <jason@redhat.com>
Fri, 10 May 2013 14:17:45 +0000 (10:17 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 10 May 2013 14:17:45 +0000 (10:17 -0400)
commit4ed024b604eb6ac2b5f23b3ed0965a31afe9df6b
tree0f80add227634d86964045224762e91632107eff
parent616eece3a583ddc62b43a5fed364df7a991cf5af
re PR c++/57196 (Bogus "aggregate ... has incomplete type and cannot be defined")

PR c++/57196
* pt.c (convert_template_argument): Use dependent_template_arg_p,
not uses_template_parms.

From-SVN: r198778
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/initlist70.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/crash106.C
gcc/testsuite/g++.dg/template/crash112.C
gcc/testsuite/g++.dg/template/dependent-args1.C