http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46666
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2010.11.26 10:27:18 CC| |nathan at gcc dot gnu.org Ever Confirmed|0 |1 --- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-26 10:27:18 UTC --- Hm. We do VEC_safe_grow with a size of 0 which doesn't end up allocating a vector but then unconditionally stores to it. It explicitly allows for size == 0, so better play safe. OTOH there are multiple similar problems in vec.h. CCing author.