This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
> include/libiberty.h.

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 ;)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]