[Bug tree-optimization/105830] call to memcpy when -nostdlib -nodefaultlibs flags provided
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105830 --- Comment #3 from AK --- with -ffreestanding the calls to memcpy did disappear. Thanks.
[Bug tree-optimization/105830] call to memcpy when -nostdlib -nodefaultlibs flags provided
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105830 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com --- Comment #2 from Roger Sayle --- Hi AK, The executive summary is that you need to specify -ffreestanding (which affects code generation) instead of -nostdlib and -nodefaultlibs (which affect linking). With -ffreestanding (on your godbolt URL), there are no calls to memcpy.
[Bug tree-optimization/105830] call to memcpy when -nostdlib -nodefaultlibs flags provided
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105830 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED --- Comment #1 from Andrew Pinski --- Dup of bug 56888. *** This bug has been marked as a duplicate of bug 56888 ***