From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2886 invoked by alias); 8 Jun 2005 19:16: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 2872 invoked by uid 48); 8 Jun 2005 19:16:18 -0000 Date: Wed, 08 Jun 2005 19:16:00 -0000 Message-ID: <20050608191618.2871.qmail@sourceware.org> From: "bkoz 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 libstdc++/21951] [4.0 only] std::vector.reserve() unusable with -Werror -Wall -O -fno-exceptions X-Bugzilla-Reason: CC X-SW-Source: 2005-06/txt/msg01254.txt.bz2 List-Id: ------- Additional Comments From bkoz at gcc dot gnu dot org 2005-06-08 19:16 ------- This is a compiler bug. If they don't fix it in 4.0.x, then we'll have to work around it in libstdc++ 4.0 sources only. People have suggested a patch to add a dummy return. If that's posted, it seems to be perfectly acceptable to me. I suggest that be posted... -benjamin -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21951