This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Compiling GCC with a C++ compiler (1/n)
Gabriel Dos Reis wrote:
> Bernardo Innocenti <bernie@develer.com> writes:
>
> | Gabriel Dos Reis wrote:
> | > This patchlet builds on the recent patch from Bernardo
> | >
> | > http://gcc.gnu.org/ml/gcc-patches/2004-07/msg02261.html
> | >
> | > It replaces uncasted direct calls to ggc_alloc and friends with GGC_NEW
> | > et al.
> | >
> | > Bootstrapped and regtested on an i686-pc-linux-gnu.
> |
> | Thank you!
>
> I forgot to mention that it was only for cp/. Other directories are
> underway.
Then I think we'll be having lots of conflicts: I'm in
the process of testing another patch which introduces
XNEW, XNEWVEC, GGC_NEW & friends in several places.
Not all occurrences of ggc_alloc() are covered, only
those that were generating warnings with g++.
Shall I drop the GGC_NEW bits from my patch or do you
prefer to do some merging work afterwards?
--
// Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/ http://www.develer.com/