[Bug c/71522] Wrong optimization of memcpy through a var of type long double

ch3root at openwall dot com gcc-bugzilla@gcc.gnu.org
Mon Jun 13 14:00:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71522

--- Comment #1 from Alexander Cherepanov <ch3root at openwall dot com> ---
This is run on x86-64, sizeof(long double) == 16. The string literal is 15
letters 'A' and a terminating 0.

To get the same effect on x86-32 the string should be shortened by four 'A'.


More information about the Gcc-bugs mailing list