[Bug c++/48574] [4.6/4.7 Regression] ICE
dodji at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 13 15:20:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48574
--- Comment #11 from Dodji Seketeli <dodji at gcc dot gnu.org> 2011-04-13 15:19:42 UTC ---
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-bugs
mailing list