This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/48695] Runtime with an array of std::vectors


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]