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 #19 from Dodji Seketeli <dodji at gcc dot gnu.org> 2011-05-09 12:32:11 UTC ---
Author: dodji
Date: Mon May  9 12:32:06 2011
New Revision: 173570

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173570
Log:
Fix PR c++/48574

gcc/cp/

    PR c++/48574
    * class.c (fixed_type_or_null): Use type_dependent_p_push to test
    if the instance has a dependent initializer.

gcc/testsuite/

    PR c++/48574
    * g++.dg/template/dependent-expr8.C: New test case.

Added:
    trunk/gcc/testsuite/g++.dg/template/dependent-expr8.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]