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:46: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:43:47 -0000
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: jason at gcc dot gnu dot org 2003-03-17 15:43:47
Added files:
gcc/testsuite/g++.dg/opt: nrv6.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/testsuite/g++.dg/opt/nrv6.C.diff?cvsroot=gcc&r1=NONE&r2=1.1