r172375 - in /trunk/gcc: cp/ChangeLog cp/class....
dodji@gcc.gnu.org
dodji@gcc.gnu.org
Wed Apr 13 15:09:00 GMT 2011
Author: dodji
Date: Wed Apr 13 15:09:26 2011
New Revision: 172375
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172375
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/template/dependent-expr7.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/class.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list