On Sat, 25 Jun 2016, ayush goel wrote: > Initially I have just imported the bcopy module from gnulib which will > eventually replace gcc’s dependency on libiberty’s bcopy.
GCC should not depend on bcopy. Any bcopy use is a bug and it should be replaced by memcpy or memmove as appropriate. The poisoning in system.h should prevent such uses from building in the first place. You should only import gnulib modules for functionality actually used in GCC - remembering that GCC now depends on at least a C++98 compiler and library, so it's unlikely that modules for ISO C90 functionality are actually relevant on any currently supported host or build system. For example, GCC uses obstacks, so the gnulib version of obstack is appropriate to replace the libiberty version. -- Joseph S. Myers [email protected]
