http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48023
torvald at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |torvald at gcc dot gnu.org Resolution| |FIXED --- Comment #1 from torvald at gcc dot gnu.org 2011-11-21 13:27:11 UTC --- This works for current trunk (both for memset and the memcpy in your test case).