optimization/3329: optimization large memory copies uses kern el memcpy function without user's knowledge.
Karl Günter Wünsch
kgw@mineralien-verkauf.de
Tue Apr 2 15:18:00 GMT 2002
On Wednesday 03 April 2002 00:33, Araneda, Dorian wrote:
> 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.
>
Then you shouldn't be using any compiler but your own or hand code your driver
in assembler.
That's the difference between calling a library function and inlining that
functionality through the compiler. If that routine were inlined - as you
suggest it should be - then you would truly be including someone else's code
instead of just relying that it's there. There is nothing stopping you from
reinventing the wheel :-) but you'd have to do it yourself...
> -Dorian
>
regards
Karl Günter Wünsch
More information about the Gcc-bugs
mailing list