http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50661
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-10-07 23:47:33 UTC --- This misoptimization is very very old, but what you are suggesting makes sense to me. Jakub can you imagine a reason why comparing arrays of pointers with memcmp could not be Ok?