[RFC] Switching implementation language to C++

Mark Mitchell mark@codesourcery.com
Mon May 31 19:16:00 GMT 2010

Gabriel Dos Reis wrote:

> Yes, this is the sort of issues I have in mind.  For example, I do not see how
> we can use C++ in tree.h without requiring other front-ends to use C++, at least
> for the parts that use tree.h.  By components, I meant "for example, is it the
> case that the C++ front-end would use C++, but with sufficient care
> that it can be
> linked with  the common C codes if the C front-end is not using C++?".

Yes, I think it's possible for a front-end or a back-end to use C++
without the rest of the compiler doing so.  I doubt that's where we get
maximum bang from allowing use of C++, but it could certainly be done.

Mark Mitchell
(650) 331-3385 x713

More information about the Gcc mailing list