This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/48574] [4.6/4.7 Regression] ICE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48574

--- Comment #9 from Dodji Seketeli <dodji at gcc dot gnu.org> 2011-04-13 15:09:29 UTC ---
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]