This is the mail archive of the
mailing list for the GCC project.
Re: [RFC] Fixes to bootstrap from a C++ compiler (part 1)
> What I want to do is move the macros xnew, xcnew, xnewvec,
> xcnewvec and maybe xobnew from libcpp/internal.h to
You're missing the xdelete family, and something that calls xrealloc,
but otherwise I'm OK with these kinds of things being in libiberty.
Probably best to put together an independent proposal for the
libiberty patch, and cc binutils and gdb with it. I don't see any
problems, but they might have some ideas before it becomes official
(remember, stuff in libiberty is harder to change if you get it wrong ;)