[Bug c++/17395] [4.5 Regression] Incorrect lookup for parameters

2009-05-06 Thread dodji at gcc dot gnu dot org


--- Comment #9 from dodji at gcc dot gnu dot org  2009-05-06 18:56 ---
I have submitted a patch for this at
http://gcc.gnu.org/ml/gcc-patches/2009-05/msg00270.html.


-- 


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



[Bug c++/17395] [4.5 Regression] Incorrect lookup for parameters

2009-05-06 Thread dodji at gcc dot gnu dot org


--- 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=gccview=revrev=147201
Log:
2009-05-06  Dodji Seketeli  do...@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



[Bug c++/17395] [4.5 Regression] Incorrect lookup for parameters

2009-05-06 Thread dodji at gcc dot gnu dot org


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

Author: dodji
Date: Wed May  6 20:43:41 2009
New Revision: 147202

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=147202
Log:
2009-05-06  Dodji Seketeli  do...@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:
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/template/call7.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=17395



[Bug c++/17395] [4.5 Regression] Incorrect lookup for parameters

2009-05-06 Thread dodji at gcc dot gnu dot org


--- Comment #12 from dodji at gcc dot gnu dot org  2009-05-06 20:47 ---
Fixed in 4.4 and 4.5. The patch won't apply to 4.3 as the code base has
diverged.


-- 

dodji at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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



[Bug c++/17395] [4.5 Regression] Incorrect lookup for parameters

2009-04-24 Thread dodji at gcc dot gnu dot org


-- 

dodji at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |dodji at gcc dot gnu dot org
   |dot org |
 Status|NEW |ASSIGNED
   Last reconfirmed|2005-06-19 15:02:23 |2009-04-24 14:48:07
   date||


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



[Bug c++/17395] [4.5 Regression] Incorrect lookup for parameters

2009-04-16 Thread pinskia at gcc dot gnu dot org


--- Comment #8 from pinskia at gcc dot gnu dot org  2009-04-16 16:50 ---
The testcase from comment #7 is correctly rejected but the testcase from
comment #0 is ICEing now which makes this a regression as 4.4.0 20090101
accepted it.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Keywords||ice-on-valid-code
  Known to fail||4.5.0
Summary|Incorrect lookup for|[4.5 Regression] Incorrect
   |parameters  |lookup for parameters
   Target Milestone|--- |4.5.0


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