r172376 - in /branches/gcc-4_6-branch/gcc: cp/C...
dodji@gcc.gnu.org
dodji@gcc.gnu.org
Wed Apr 13 15:19:00 GMT 2011
Author: dodji
Date: Wed Apr 13 15:19:40 2011
New Revision: 172376
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172376
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:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/template/dependent-expr7.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/class.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list