[Bug 769601] Re: libstdc++, debug mode: resizing a vector doesn't update capacity

Dave Gilbert ubuntu at treblig.org
Sun Aug 19 19:02:11 UTC 2012


Still broken in the g++-4.4 in Quantal:

dg at major:~$ g++-4.4 x.cpp -g -O2

dg at major:~$ ./a.out 
a.out: x.cpp:11: int main(): Assertion `v.size() <= v.capacity()' failed.
Aborted (core dumped)

4.5,4.6,4.7 all seem good.

** Changed in: gcc-4.4 (Ubuntu)
   Importance: Undecided => Low

** Changed in: gcc-4.4 (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.4 in Ubuntu.
https://bugs.launchpad.net/bugs/769601

Title:
  libstdc++, debug mode: resizing a vector doesn't update capacity

Status in The GNU Compiler Collection:
  Unknown
Status in “gcc-4.4” package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: gcc-4.4

  Bug details / code to reproduce / fix can be found in the upstream bug report:
  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44190

  Even though this upstream bug report was filed against gcc-4.5, it's
  also present / reproducible with libstdc++6-4.4-dev, version
  4.4.3-4ubuntu5 on Ubuntu 10.04.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/769601/+subscriptions




More information about the foundations-bugs mailing list