OSDN Git Service

Fix PR c++/48574
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 9 May 2011 12:32:06 +0000 (12:32 +0000)
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 9 May 2011 12:32:06 +0000 (12:32 +0000)
commitd51965a3256fa006a0469c81c7aeb34a14faf831
tree072581156222640f0f53f6be03ada70cd67eb374
parent18c3cd788b2e684c0ec8659977942d68ae420d99
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173570 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/dependent-expr8.C [new file with mode: 0644]