re PR c++/48574 (ICE)
authorDodji Seketeli <dodji@redhat.com>
Wed, 13 Apr 2011 15:09:26 +0000 (15:09 +0000)
committerDodji Seketeli <dodji@gcc.gnu.org>
Wed, 13 Apr 2011 15:09:26 +0000 (17:09 +0200)
commit91d8b4bd7ad6acd3907cba2346c70c101c793e9f
treebfeedb41882a7eec47bc8d8ba31f40acaea8054e
parentba9c349ec817c21ef7a72455a240cdc8f2c4926d
re PR c++/48574 (ICE)

Fix PR c++/48574

gcc/cp/

* class.c (fixed_type_or_null): We cannot determine the dynamic
type of a reference variable if its initializer is dependent.

gcc/testsuite/

* g++.dg/template/dependent-expr7.C: New test case.

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