http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53242
--- Comment #4 from Rafael 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.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53242
--- Comment #2 from Rafael 2012-05-05 00:51:43 UTC
---
Thanks Andrew,
In fact, the indices are incorrect. I screwed up because I forgot to update the
calculation of the mask.
Cheers,
Rafael
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53242
Bug #: 53242
Summary: Invalid write in push_back
Classification: Unclassified
Product: gcc
Version: 4.4.6
Status: UNCONFIRMED
Severity: normal
Priority: P3
C