From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24153 invoked by alias); 19 Oct 2003 17:51:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 24144 invoked by uid 48); 19 Oct 2003 17:51:21 -0000 Date: Sun, 19 Oct 2003 17:53:00 -0000 Message-ID: <20031019175121.24142.qmail@sources.redhat.com> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20030910154242.12238.noways@aliceposta.it> References: <20030910154242.12238.noways@aliceposta.it> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/12238] placement delete not called on incomplete object construction if in try-block! X-Bugzilla-Reason: CC X-SW-Source: 2003-10/txt/msg01548.txt.bz2 List-Id: PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12238 pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal Keywords| |wrong-code ------- Additional Comments From pinskia at gcc dot gnu dot org 2003-10-19 17:51 ------- Some Quotes from the standard (I do not quite understand it): 15.2–2: If the object or the array was allocated in a new-expression and the new-expression contains a new-placement, the storage occupied by the object is deallocated only if an appropriate placement operator delete is found, as specified in 5.3.4.