This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14763] [3.3 Regression] internal compiler error: in find_function_data, at function.c:320
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 May 2004 20:27:44 -0000
- Subject: [Bug c++/14763] [3.3 Regression] internal compiler error: in find_function_data, at function.c:320
- References: <20040328220714.14763.j_s@telia.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-05-01 20:27 -------
Subject: Bug 14763
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: gdr@gcc.gnu.org 2004-05-01 20:27:40
Modified files:
gcc/cp : ChangeLog decl2.c pt.c
Added files:
gcc/testsuite/g++.dg/template: defarg4.C
Log message:
Backport from gcc-3_4-branch
2004-03-30 Mark Mitchell <mark@codesourcery.com>
Jakub Jelinek <jakub@redhat.com>
PR c++/14763
* pt.c (tsubst_default_argument): Clear
current_function_decl.
* decl2.c (mark_used): Don't segfault if cfun != NULL but
current_function_decl == NULL.
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.266&r2=1.3076.2.267
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl2.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.575.2.36&r2=1.575.2.37
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.44&r2=1.635.2.45
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/defarg4.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.2.20.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14763