public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "fischerk at inf dot ethz dot ch" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/23632] std::vector<bool> in combination with debug mode fails to compile code
Date: Tue, 30 Aug 2005 14:38:00 -0000	[thread overview]
Message-ID: <20050830143751.9281.qmail@sourceware.org> (raw)
In-Reply-To: <20050830115242.23632.fischerk@inf.ethz.ch>


------- Additional Comments From fischerk at inf dot ethz dot ch  2005-08-30 14:37 -------
Sorry, my mistake, the code is sent was not the right one. (I tested around and did not realize that I 
sent the wrong one, sorry.) Here is the code that causes the problem; and it only happens when I 
compile using the debug mode:

// BEGIN
#include <vector>

int main(int,char **)
{
  std::vector<bool> v(100);
  std::vector<bool>::const_iterator fu = v.begin(); // no const in front of the line
  if (fu[4])
    ;
}
// END

Tell me if you again need the .ii and .s-files.

Sorry for the confusion.
Kaspar

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23632


  parent reply	other threads:[~2005-08-30 14:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-30 11:54 [Bug libstdc++/23632] New: " fischerk at inf dot ethz dot ch
2005-08-30 11:55 ` [Bug libstdc++/23632] " fischerk at inf dot ethz dot ch
2005-08-30 12:26 ` fischerk at inf dot ethz dot ch
2005-08-30 14:34 ` pcarlini at suse dot de
2005-08-30 14:38 ` fischerk at inf dot ethz dot ch [this message]
2005-08-30 15:03 ` pcarlini at suse dot de
2005-08-31 17:23 ` cvs-commit at gcc dot gnu dot org
2005-08-31 19:18 ` pcarlini at suse dot de
2005-09-07 10:24 ` pcarlini at suse dot de

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=20050830143751.9281.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: link
Be 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).