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++/17395] [4.5 Regression] Incorrect lookup for parameters



------- Comment #10 from dodji at gcc dot gnu dot org  2009-05-06 20:42 -------
Subject: Bug 17395

Author: dodji
Date: Wed May  6 20:41:52 2009
New Revision: 147201

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

    gcc/cp/ChangeLog:
        PR c++/17395
        * pt.c (tsubst_copy) <case PARM_DECL>: We don't want to tsubst the
        whole list of PARM_DECLs, just the current one.

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

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


-- 


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


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