http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46759
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-12-02 01:32:25 UTC --- I think there be a change of having above array bounds. Though it is hard to see from the source really. The issue happens when the first loop goes through without hitting a null character in the rhs.