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

bugdal at aerifal dot cx gcc-bugzilla@gcc.gnu.org
Thu Nov 23 13:57:48 GMT 2023


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

--- Comment #37 from Rich Felker <bugdal at aerifal dot cx> ---
Also: has anyone even looked at what happens if a C memcpy with proper use of
restrict gets LTO-inlined into a caller with GCC-generated memcpy calll where
src==dest? That sounds like a case likely to blow up...


More information about the Gcc-bugs mailing list