This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/9993
- From: jason at gcc dot gnu dot org
- To: jason at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 17 Mar 2003 15:56:01 -0000
- Subject: c++/9993
- Reply-to: jason at gcc dot gnu dot org
The following reply was made to PR c++/9993; it has been noted by GNATS.
From: jason at gcc dot gnu dot org
To: gcc-gnats at gcc dot gnu dot org
Cc:
Subject: c++/9993
Date: 17 Mar 2003 15:47:39 -0000
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: jason at gcc dot gnu dot org 2003-03-17 15:47:39
Modified files:
gcc/cp : ChangeLog decl.c
Log message:
PR c++/9993
* decl.c (finish_function): Only allow the NRVO to use variables
declared at function scope.
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.86&r2=1.3076.2.87
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.31&r2=1.965.2.32