[Bug c++/10939] [3.3/3.4 regression] ICE with templated code
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jun 20 05:57:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10939
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-06-20 05:57 -------
Subject: Bug 10939
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: mmitchel@gcc.gnu.org 2003-06-20 05:57:23
Modified files:
gcc/cp : ChangeLog Make-lang.in decl.c pt.c
gcc/testsuite : ChangeLog
gcc/testsuite/g++.old-deja/g++.other: anon7.C
Added files:
gcc/testsuite/g++.dg/template: func1.C static4.C
Log message:
PR c++/10939
* Make-lang.in (decl.o): Depend on input.h.
* decl.c (input.h): Include it.
(cp_finish_decl): Revert previous change:
2003-06-19 Mark Mitchell <mark@codesourcery.com>
* decl.c (cp_finish_decl): Remove support for RESULT_DECLs.
Don't check building_stmt_tree.
* pt.c (tsubst_decl): Do not try to substitute into non-dependent
functions.
PR c++/10939
* g++.dg/template/func1.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.3076.2.155&r2=1.3076.2.156
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/Make-lang.in.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.125.4.4&r2=1.125.4.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.965.2.50&r2=1.965.2.51
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.635.2.28&r2=1.635.2.29
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.2261.2.193&r2=1.2261.2.194
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/func1.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/static4.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.other/anon7.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.1.54.1&r2=1.1.54.2
More information about the Gcc-bugs
mailing list