This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/52041] [4.7 Regression] Bootstrap failure at revision 183650 with --enable-checking=release


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]