optimization/3329: optimization large memory copies uses kern el memcpy function without user's knowledge.

Araneda, Dorian dorian.araneda@intel.com
Tue Apr 2 14:38:00 GMT 2002


Is -ffrestanding a gcc argument?

Is this the recommended compiler argument for any code that
wishes to be "freestanding" and still use gcc?

even though I stripped all operating system dependent calls
from the code, I still want to be absolutely sure that 
I am not including someone else's code.

-Dorian

-----Original Message-----
From: Joseph S. Myers [mailto:jsm28@cam.ac.uk]
Sent: Tuesday, April 02, 2002 4:23 PM
To: Richard Henderson
Cc: Araneda, Dorian; 'rth@gcc.gnu.org'; 'gcc-bugs@gcc.gnu.org';
'gcc-gnats@gcc.gnu.org'
Subject: Re: optimization/3329: optimization large memory copies uses
kern el memcpy function without user's knowledge.


On Tue, 2 Apr 2002, Richard Henderson wrote:

> Then you can't use gcc at all.  We reserve the right to generate
> code that calls into any of the compiler support routines in libgcc,
> plus a select number of ISO C routines from libc.  (The fact that

The documentation for -ffreestanding should detail what ISO C library
functions may be used (apart from __builtin functions potentially becoming
calls to the non-__builtin versions of those functions or others).


-- 
Joseph S. Myers
jsm28@cam.ac.uk



More information about the Gcc-bugs mailing list