https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63393
Evgeniy Dushistov <dushistov at mail dot ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|-ffreestanding not work: |[regression]-ffreestanding |memset call cause valgrind |not work: memset call cause |crash |valgrind crash --- Comment #1 from Evgeniy Dushistov <dushistov at mail dot ru> --- And I suppose this is regression, because of with gcc 4.7.3 all works, even with "-O3".