[Bug libstdc++/41267] vector<>::resize() from an empty vector calls memmove for 0 bytes (twice), wasting a lot of cpu time in a production PowerDNS

paolo dot carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Fri Sep 4 22:37:00 GMT 2009



------- Comment #1 from paolo dot carlini at oracle dot com  2009-09-04 22:37 -------
Ok, let's do something about this, likely just add a check in __copy_move (and
__copy_move_b), as suggested.


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |paolo dot carlini at oracle
                   |dot org                     |dot com
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-09-04 22:37:38
               date|                            |


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



More information about the Gcc-bugs mailing list