http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53242
--- Comment #4 from Rafael <rsfalcon7 at gmail dot com> 2012-05-05 02:31:22 UTC --- I did that. But I never tested the indices because gdb says that the problem is inside push_back, so I thought it will be a mem leak and went to valgrind.