From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26703 invoked by alias); 31 Mar 2010 12:34:31 -0000 Received: (qmail 26613 invoked by uid 48); 31 Mar 2010 12:34:13 -0000 Date: Wed, 31 Mar 2010 12:34:00 -0000 Message-ID: <20100331123413.26612.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/25811] No failure creating a POD containing a const member, using new without a new-initializer. In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "redi at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-03/txt/msg03150.txt.bz2 ------- Comment #10 from redi at gcc dot gnu dot org 2010-03-31 12:34 ------- Thanks. I can't test it now but that looks better. Just below your new code I see this error: error ("uninitialized const in % of %q#T", elt_type); Maybe your new diagnostics should also include 'new' like that. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25811