From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22820 invoked by alias); 7 Jun 2005 18:17:03 -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 22782 invoked by uid 48); 7 Jun 2005 18:16:59 -0000 Date: Tue, 07 Jun 2005 18:17:00 -0000 Message-ID: <20050607181659.22781.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050607175818.21951.dank@kegel.com> References: <20050607175818.21951.dank@kegel.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/21951] [gcc-4.0 regression, rejects-valid] std::vector.reserve() unusable with -Werror -Wall -O -fno-exceptions X-Bugzilla-Reason: CC X-SW-Source: 2005-06/txt/msg01125.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-07 18:16 ------- (In reply to comment #2) > > You may retartget this pr to fixing the silliness in libstdc++, if you want. Paolo I copied the quote fully when I really should not have. RTH did not know we could not fix the if(0) part in libstdc++ at the time he wrote that comment, if you read the next comment in that bug I explain why it cannot be fixed in libstdc++ (comment #3 in PR 19699): (In reply to comment #2) > You may retartget this pr to fixing the silliness in libstdc++, if you want. Actually it is only silliness as try/catch is changed to be "if (true)"/"if (false)" if we don't have exceptions. There is nothing can be done to the libstdc++ headers to fix this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21951