This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++] PR19531 NRV is performed on volatile temporary
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Christian BRUEL <christian dot bruel at st dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 25 Oct 2007 20:41:10 -0700
- Subject: Re: [C++] PR19531 NRV is performed on volatile temporary
- References: <46FA07E5.9080706@st.com>
Christian BRUEL wrote:
> 2007-09-24 Christian Bruel <christian.bruel@st.com>
>
> PR c++/19531
> * cp/decl.c (finish_function): Check volatility for nrv.
>
> 2007-09-24 Christian Bruel <christian.bruel@st.com>
>
> PR c++/19531
> * g++.dg/opt/nrv8.C: New.
On mainline, even the previous broken check for volatility seems to be
missing. Does this bug still exist on mainline and does your change
still fix it?
Thanks,
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713