This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/48695] Runtime with an array of std::vectors
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 19 Apr 2011 22:15:43 +0000
- Subject: [Bug tree-optimization/48695] Runtime with an array of std::vectors
- Auto-submitted: auto-generated
- References: <bug-48695-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48695
--- Comment #3 from Zdenek Sojka <zsojka at seznam dot cz> 2011-04-19 22:15:23 UTC ---
Created attachment 24049
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24049
partially reduced testcase
$ g++ testcase.C -O2
$ valgrind -q ./a.out
==20686== Invalid write of size 4
==20686== at 0x400625: main (testcase.C:54)
==20686== Address 0x4 is not stack'd, malloc'd or (recently) free'd