This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/52041] [4.7 Regression] Bootstrap failure at revision 183650 with --enable-checking=release
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 30 Jan 2012 22:12:24 +0000
- Subject: [Bug bootstrap/52041] [4.7 Regression] Bootstrap failure at revision 183650 with --enable-checking=release
- Auto-submitted: auto-generated
- References: <bug-52041-4@http.gcc.gnu.org/bugzilla/>
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.