public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "veksler at il dot ibm dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/21951] [4.0 only] std::vector.reserve() unusable with -Werror -Wall -O -fno-exceptions Date: Wed, 08 Jun 2005 14:11:00 -0000 [thread overview] Message-ID: <20050608141140.15082.qmail@sourceware.org> (raw) In-Reply-To: <20050607175818.21951.dank@kegel.com> ------- Additional Comments From veksler at il dot ibm dot com 2005-06-08 14:11 ------- (In reply to comment #6) > Note Mark has said in the past (and in a private mail which was supposed to be a public one too) that > warnings cannot cause this to be a rejects valid. For the same reason, PR 21183 should be reopened or merged with this PR: > When compiling a C++ program with -Wall, I get the following compiler warning > >/usr/local/bin/../lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../include/c++/4.0.0/bits/stl_uninitialized.h:113: >warning: control may reach end of non-void function '_ForwardIterator > std::__uninitialized_copy_aux(_InputIterator, _InputIterator, ... > The problem seems to be in __uninitialized_copy_aux() in stl_uninitialized.h > > The catch statement block beginning on line 89 merely exits the routine without > actually returning a value. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21951
next prev parent reply other threads:[~2005-06-08 14:11 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-06-07 17:58 [Bug c++/21951] New: [gcc-4.0 regression, rejects-valid] " dank at kegel dot com 2005-06-07 18:00 ` [Bug c++/21951] " pinskia at gcc dot gnu dot org 2005-06-07 18:12 ` pcarlini at suse dot de 2005-06-07 18:17 ` pinskia at gcc dot gnu dot org 2005-06-07 19:46 ` veksler at il dot ibm dot com 2005-06-07 23:28 ` [Bug libstdc++/21951] " bangerth at dealii dot org 2005-06-08 13:20 ` [Bug libstdc++/21951] [4.0 only] " pinskia at gcc dot gnu dot org 2005-06-08 13:57 ` dank at kegel dot com 2005-06-08 14:11 ` veksler at il dot ibm dot com [this message] 2005-06-08 14:43 ` veksler at il dot ibm dot com 2005-06-08 19:16 ` bkoz at gcc dot gnu dot org 2005-06-11 11:25 ` dank at kegel dot com 2005-06-11 19:29 ` dank at kegel dot com 2005-06-12 15:02 ` pinskia at gcc dot gnu dot org 2005-07-01 19:10 ` geoffk at gcc dot gnu dot org 2005-07-01 19:42 ` dank at kegel dot com 2005-07-16 21:12 ` pinskia at gcc dot gnu dot org [not found] <bug-21951-3350@http.gcc.gnu.org/bugzilla/> 2005-10-24 1:31 ` pinskia at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20050608141140.15082.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).