This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11725] [3.4 Regression] Wrong return statement warning with -Wreturn-type in template class method
- 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: 20 Jan 2004 16:58:35 -0000
- Subject: [Bug c++/11725] [3.4 Regression] Wrong return statement warning with -Wreturn-type in template class method
- References: <20030730132207.11725.nicolas.burrus@lrde.epita.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-01-20 16:58 -------
Subject: Bug 11725
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: jason@gcc.gnu.org 2004-01-20 16:58:29
Modified files:
gcc/cp : ChangeLog except.c
Log message:
PR c++/11725
* except.c (build_throw): In a template, set
current_function_returns_abnormally.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3892.2.6&r2=1.3892.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/except.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.164&r2=1.164.4.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11725