http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50693
--- Comment #19 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-11 14:45:22 UTC --- (In reply to comment #17) > LLVM appears to be able to recognize memset of any value, not just zero. And > apparently performs control flow simplification before attempting to recognize > the idiom, so it can expose the loop created by the convoluted GOTOs. I suppose you can no longer debug that though (break at the labels by name), even when disabling the memset pattern detection?