Bug#1143851: hppa-linux-gnu-gcc does not honor -ffreestanding, generating referencs to memset
John David Anglin <[email protected]>
| Newsgroups | gmane.linux.debian.devel.gcc |
|---|---|
| Message-ID | <a75ef238-1546-4a83-8d0b-4e3ab2607931__31854.5332922199$1786571246$gmane$org@bell.net> |
On 2026-08-12 5:36 p.m., John David Anglin wrote: > On 2026-08-12 5:29 p.m., Helge Deller wrote: >>> It would be useful to know what code results in the call to memcpy. This seems a bug in >>> gcc's -fwhole-program support. >>> >>> Avoiding millicode calls is likely tricky as they are used for integer multiplication >>> and division. >> They are ok, even in SeaBIOS. > I wonder why they aren't munged by -fwhole-program. Maybe it's only the declarations in the code that are munged.