From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18433 invoked by alias); 7 Nov 2007 14:10:09 -0000 Received: (qmail 18421 invoked by uid 22791); 7 Nov 2007 14:10:08 -0000 X-Spam-Check-By: sourceware.org Received: from py-out-1112.google.com (HELO py-out-1112.google.com) (64.233.166.177) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 07 Nov 2007 14:10:07 +0000 Received: by py-out-1112.google.com with SMTP id a29so5001367pyi for ; Wed, 07 Nov 2007 06:10:03 -0800 (PST) Received: by 10.35.91.10 with SMTP id t10mr8912862pyl.1194444603004; Wed, 07 Nov 2007 06:10:03 -0800 (PST) Received: by 10.35.94.18 with HTTP; Wed, 7 Nov 2007 06:10:02 -0800 (PST) Message-ID: <13c56af70711070610o52228b59n3bdbafbdb530d05c@mail.gmail.com> Date: Wed, 07 Nov 2007 14:17:00 -0000 From: "Debarshi Sanyal" To: gcc@gcc.gnu.org Subject: How to turn off NRVO in gcc MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2007-11/txt/msg00187.txt.bz2 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