http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55896
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to sworddragon2 from comment #3) > > why aren't you using strlen??? > > Because of this bug (if it should be still valid): > https://bugs.launchpad.net/ubuntu/+source/gcc-4.7/+bug/1035321 That is a valgrind issue, not a GCC bug though.