[Bug c++/16246] [3.3/3.4/3.5 regression] Incorrect template argument deduction
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Aug 18 02:55:00 GMT 2004
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-08-18 02:55 -------
Subject: Bug 16246
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: mmitchel@gcc.gnu.org 2004-08-18 02:55:14
Modified files:
gcc/cp : ChangeLog pt.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/template: array7.C
Log message:
PR c++/16246
* pt.c (unify): Tidy ARRAY_TYPE handling. Make sure that non-type
arguments have the same type as the corresponding parameter.
PR c++/16246
* g++.dg/template/array7.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4280&r2=1.4281
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&r1=1.906&r2=1.907
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4153&r2=1.4154
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/array7.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16246
More information about the Gcc-bugs
mailing list