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

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

dg@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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/769601

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to