[Bug middle-end/32667] block copy with exact overlap is expanded as memcpy

ch3root at openwall dot com gcc-bugzilla@gcc.gnu.org
Sun Apr 24 14:39:00 GMT 2016


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

Alexander Cherepanov <ch3root at openwall dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ch3root at openwall dot com

--- Comment #13 from Alexander Cherepanov <ch3root at openwall dot com> ---
This bug could be reproduced with gcc 7.0.0 20160424 on x86-64 with this
example:

int main()
{
  volatile struct {
    char s[8193]; // gcc
    //char s[129]; // clang
  } s = {""};

  s = s;
}


More information about the Gcc-bugs mailing list