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++/40684] ICE in tsubst



------- Comment #3 from dodji at gcc dot gnu dot org  2009-07-09 17:56 -------
Subject: Bug 40684

Author: dodji
Date: Thu Jul  9 17:56:44 2009
New Revision: 149423

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149423
Log:
2009-07-09  Dodji Seketeli  <dodji@redhat.com>

gcc/cp/ChangeLog:
        PR c++/40684
        * pt.c (type_unification_real): Use tsubst_template_arg instead
        of tsubst to substitute default template arguments.

gcc/testsuite/ChangeLog:
        PR c++/40684
        * g++.dg/template/unify11.C: New test.


Added:
    trunk/gcc/testsuite/g++.dg/template/unify11.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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