egcs-1.1 in SCOV5 changes memcpy() into buggy SCO bcopy()
Jeffrey A Law
law@cygnus.com
Sat Sep 19 22:20:00 GMT 1998
In message < 19980917001647.E1141@dgii.com >you write:
> > When a C program uses memcpy(), the assembly generated calls bcopy().
>
> I never noticed that before. I was pretty mystified. I ran the same
> compiler source on a Linux system and generated more obvious output.
Deep dark corners of the compiler you never wanted to know about.
Defining TARGET_MEM_FUNCTIONS is definitely the right think to do if
all the sco5 versions have them.
jeff
More information about the Gcc
mailing list