Re: How to turn off NRVO in gcc

2007-11-07 Thread Ian Lance Taylor
Joe Buck <[EMAIL PROTECTED]> writes: > On Wed, Nov 07, 2007 at 07:48:53AM -0800, Ian Lance Taylor wrote: > > "Debarshi Sanyal" <[EMAIL PROTECTED]> writes: > > > > >Is there any way to turn off "named return value optimization" > > > (NRVO) while compiling a C++ program with g++? > > > > This

Re: How to turn off NRVO in gcc

2007-11-07 Thread Joe Buck
On Wed, Nov 07, 2007 at 07:48:53AM -0800, Ian Lance Taylor wrote: > "Debarshi Sanyal" <[EMAIL PROTECTED]> writes: > > >Is there any way to turn off "named return value optimization" > > (NRVO) while compiling a C++ program with g++? > > This question is not appropriate for gcc@gcc.gnu.org, wh

Re: How to turn off NRVO in gcc

2007-11-07 Thread Ian Lance Taylor
"Debarshi Sanyal" <[EMAIL PROTECTED]> writes: >Is there any way to turn off "named return value optimization" > (NRVO) while compiling a C++ program with g++? This question is not appropriate for gcc@gcc.gnu.org, which is for developers of gcc. It is appropriate for [EMAIL PROTECTED] Please

How to turn off NRVO in gcc

2007-11-07 Thread Debarshi Sanyal
Hi, Is there any way to turn off "named return value optimization" (NRVO) while compiling a C++ program with g++? Please reply. This is very urgent. Regards, Debarshi