[Bug c++/40684] ICE in tsubst
dodji at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jul 9 18:01:00 GMT 2009
------- Comment #4 from dodji at gcc dot gnu dot org 2009-07-09 18:01 -------
Subject: Bug 40684
Author: dodji
Date: Thu Jul 9 18:00:58 2009
New Revision: 149425
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149425
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
* gcc/testsuite/g++.dg/template/unify11.C: New test.
Added:
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/template/unify11.C
Modified:
branches/gcc-4_4-branch/gcc/cp/ChangeLog
branches/gcc-4_4-branch/gcc/cp/pt.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40684
More information about the Gcc-bugs
mailing list