[Bug middle-end/95556] Not replacing __builtin___memcpy_chk() as documented

pgsql@j-davis.com gcc-bugzilla@gcc.gnu.org
Sat Jun 6 01:50:01 GMT 2020


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

--- Comment #2 from Jeff Davis <pgsql@j-davis.com> ---
Created attachment 48688
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48688&action=edit
Example 3

Another example that works (i.e. builtin is properly replaced by memcpy as
described in the document).

The only difference between this working example and the failing example2.c is
that I replaced the sizeof() with a constant.


More information about the Gcc-bugs mailing list