This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] Switching implementation language to C++
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
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713