[google gcc-4_7,gcc-4_8,integration] Relax vector validity checks

2013-05-30 Thread Paul Pluzhnikov
Greetings, The vector validity checks introduced here: http://gcc.gnu.org/ml/gcc-patches/2011-09/msg00415.html proved too strict: older versions of GCC used to do this: _M_start = _M_end = _M_end_of_storage = new_allocator(sizeof(T) * n) even when n == 0, and we have code compiled by such

Re: [google gcc-4_7,gcc-4_8,integration] Relax vector validity checks

2013-05-30 Thread Diego Novillo
On 2013-05-30 18:19 , Paul Pluzhnikov wrote: Ok for google/gcc_4-7, gcc-4_8 and integration branches? OK. Is this applicable to trunk and/or release branches? Diego.

Re: [google gcc-4_7,gcc-4_8,integration] Relax vector validity checks

2013-05-30 Thread Paul Pluzhnikov
On Thu, May 30, 2013 at 6:48 PM, Diego Novillo dnovi...@google.com wrote: OK. Is this applicable to trunk and/or release branches? No: the cheap vector and string checks are on google branches only. -- Paul Pluzhnikov