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



Paul Pluzhnikov <ppluzhnikov at google dot com> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

                 CC|                            |ppluzhnikov at google dot

                   |                            |com



--- Comment #6 from Paul Pluzhnikov <ppluzhnikov at google dot com> 2012-12-20 
08:18:27 UTC ---

FYI, when we picked up r194286 into google/gcc-4_7 branch, and ran our 500,000

validation tests, we discovered two instances of mis-compilation.



This code:



  typedef vector<void*> T[13];



  void foo() {

    T x;

    ...

  }



is mis-compiled to omit 13 calls to vector::vector, and x[0], x[1], etc. all

contain uninitialized stack garbage data members.



I've confirmed that trunk compiler is similarly broken.



Unfortunately I haven't been able to reduce the test case that exposes the

problem yet.

Reply via email to