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 <bd21fc10-3a17-4a6d-969e-3a9463a7fa4e__10807.7893428103$1786570764$gmane$org@bell.net>
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.

Dave
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.