[Info-vax] Whither VMS?
glen herrmannsfeldt
gah at ugcs.caltech.edu
Wed Oct 7 03:12:35 EDT 2009
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.
-- glen
More information about the Info-vax
mailing list