http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53242 --- Comment #2 from Rafael <rsfalcon7 at gmail dot com> 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