From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8852 invoked by alias); 2 Jun 2009 16:09:55 -0000 Received: (qmail 8812 invoked by uid 48); 2 Jun 2009 16:09:41 -0000 Date: Tue, 02 Jun 2009 16:09:00 -0000 Message-ID: <20090602160941.8811.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/40326] object fails to allocate memory In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "paolo dot carlini at oracle dot com" 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: 2009-06/txt/msg00083.txt.bz2 ------- Comment #3 from paolo dot carlini at oracle dot com 2009-06-02 16:09 ------- This is plain invalid. I suppose you want s( 8192, '=' ). In the testcase as written you are telling the relevant constructor to use the first 8192 chars of "="! -- paolo dot carlini at oracle dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40326