This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++] PR19531 NRV is performed on volatile temporary


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]