From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6098 invoked by alias); 15 Feb 2007 11:50:27 -0000 Received: (qmail 6086 invoked by uid 22791); 15 Feb 2007 11:50:26 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 15 Feb 2007 11:50:20 +0000 Received: from dsl093-172-095.pit1.dsl.speakeasy.net ([66.93.172.95] helo=caradoc.them.org) by nevyn.them.org with esmtp (Exim 4.63) (envelope-from ) id 1HHf7w-0004Ft-Se; Thu, 15 Feb 2007 06:50:17 -0500 Received: from drow by caradoc.them.org with local (Exim 4.63) (envelope-from ) id 1HHf7v-00072X-6z; Thu, 15 Feb 2007 06:50:15 -0500 Date: Thu, 15 Feb 2007 13:35:00 -0000 From: Daniel Jacobowitz To: Ross Boylan Cc: gdb@sourceware.org Subject: Re: Associating C++ new with constructor Message-ID: <20070215115014.GA26850@caradoc.them.org> Mail-Followup-To: Ross Boylan , gdb@sourceware.org References: <20070215073516.GW5871@wheat.betterworld.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070215073516.GW5871@wheat.betterworld.us> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-02/txt/msg00156.txt.bz2 On Wed, Feb 14, 2007 at 11:35:16PM -0800, Ross Boylan wrote: > Does that have any chance of working with any generality? No, none. The compiler can do an arbitrary amount of work between the two calls. They can end up with branches in between, or a call to new could be used to conditionally create one of two objects that happen to have the same size. -- Daniel Jacobowitz CodeSourcery