This is the mail archive of the gcc@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: Converting GCC to compilation with C++


On Wed, 14 Jul 2004, Joe Buck wrote:

> On Tue, Jul 13, 2004 at 09:12:38PM -0700, Mark Mitchell wrote:
> > >
> > The use of C++.
>
> He stated it, but I don't feel bound by that; when we reunified egcs and
> GCC, we insisted that while we would defer to the FSF on "political" and
> legal matters, we would not on technical issues.
>
> It does mean that we would have a fight on our hands, and I'd only be
> willing to engage in that fight if we could demonstrate a large win
> by switching.  Tom Tromey's demonstration that a rewritten Java front
> end can be done with a 2x savings in lines of code looks promising.

I'm slightly worried by this discussion, as I recall trying to write a
portable program in C++ and giving up because I could not find two C++
compilers that would agree on the language.  Admittedly, that was a
decade ago and compilers have gotten better, but to some extent it's
still true that today's C++ code does not compile with tomorrow's
compilers (eon from SPEC2000 for example doesn't build out of the box
with recent g++).


Bernd


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