This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11725] [3.4/3.5 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: 18 Jan 2004 15:38:18 -0000
- Subject: [Bug c++/11725] [3.4/3.5 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-18 15:38 -------
Subject: Bug 11725
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: jason@gcc.gnu.org 2004-01-18 15:38:08
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&r1=1.3894&r2=1.3895
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/except.c.diff?cvsroot=gcc&r1=1.164&r2=1.165
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11725