[Info-vax] Whither VMS?
Bob Eager
rde42 at spamcop.net
Wed Oct 7 08:29:37 EDT 2009
On Wed, 07 Oct 2009 07:12:35 +0000, glen herrmannsfeldt wrote:
> Bob Eager <rde42 at spamcop.net> wrote:
>> On Wed, 07 Oct 2009 00:43:44 +0000, glen herrmannsfeldt wrote:
> (snip regarding C str... functions)
>
>>> Many compilers now generate those functions inline, without calling an
>>> actual function. That would only be true for the ones actually
>>> implemented, such as strcat and memcpy, but they reserved them all to
>>> allow for future additions.
>
>>> If you try to write your own strcat, it is likely on current compilers
>>> never to be called.
>
>> I'd be interested to know which compilers. Can you cite some examples,
>> please?
>
> In just one test on one version of gcc, it seems to inline strcpy with
> -O1 or higher, but not for -O0, the default.
But not if you use -fno-builtin ...
--
Use the BIG mirror service in the UK:
http://www.mirrorservice.org
More information about the Info-vax
mailing list