re PR c++/48574 (ICE)
authorDodji Seketeli <dodji@redhat.com>
Mon, 9 May 2011 12:32:06 +0000 (12:32 +0000)
committerDodji Seketeli <dodji@gcc.gnu.org>
Mon, 9 May 2011 12:32:06 +0000 (14:32 +0200)
commitbae14a373cc5e3e80be7f3c312a49c3bdad83c39
tree072581156222640f0f53f6be03ada70cd67eb374
parentfb55d62e53950f6d269f32fe8c4b279f2263d528
re PR c++/48574 (ICE)

Fix PR c++/48574

gcc/cp/

PR c++/48574
* class.c (fixed_type_or_null): Use type_dependent_p_push to test
if the instance has a dependent initializer.

gcc/testsuite/

PR c++/48574
* g++.dg/template/dependent-expr8.C: New test case.

From-SVN: r173570
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/dependent-expr8.C [new file with mode: 0644]