[Bug middle-end/81629] redefined memcpy leads to segmentation fault

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 31 10:01:00 GMT 2017


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-07-31
          Component|c                           |middle-end
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Use -ffreestanding or -fno-builtin-memcpy.

We ICE because gimple_builtin_call_types_compatible_p doesn't detect the arg
mismatch.


More information about the Gcc-bugs mailing list