[Bug c++/55032] [4.7/4.8 Regression] Internal compiler error: in strip_typedefs, at cp/tree.c:1199

ppluzhnikov at google dot com gcc-bugzilla@gcc.gnu.org
Thu Dec 20 08:18:00 GMT 2012


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.



More information about the Gcc-bugs mailing list