------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-01-21 
02:27 -------
Subject: Bug 19208

CVSROOT:        /cvs/gcc
Module name:    gcc
Changes by:     [EMAIL PROTECTED]       2005-01-21 02:27:17

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

Log message:
        PR c++/19208
        * pt.c (fold_decl_constant_value): Always call fold_non_dependent_expr
        at least once.
        (tsubst): Use fold_decl_constant_value in place of a bare call to
        integral_constant_value.
        
        PR c++/19208
        * g++.dg/template/array11.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4589&r2=1.4590
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&r1=1.967&r2=1.968
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4916&r2=1.4917
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/array11.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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

Reply via email to