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

--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-30 
22:12:24 UTC ---
Created attachment 26521
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26521
X449

The cross-compiler under valgrind actually shows some errors, I'm attaching
fixes for both of the sources of the failures.

This one has been introduced probably by the PR51667 changes, for object
vectors storing somewhere else the pointers returned by VEC_safe_push is a bad
idea, as any times a new element is pushed into the vector, the vector may have
been reallocated, making all the pointers into it invalid.

Reply via email to