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: Putting C++ code into gcc front end


On Tue, Mar 04, 2003 at 03:52:57PM +0100, Gabriel Dos Reis wrote:
> On this issue, in my opinion, we should proceed in steps.  
> I believe R.'s approach is a fair first step.  Let's make the C++
> front-end compilable by ISO C90 compilers.  Then we'll tackle the next
> issue in due time.

But if the C++ front-end requires ISO C90, then you'll need the 4 (or
3, depending on how you count) passes bootstrap for java anyway.
Either you downgrade the C++ front-end all the way back to K&R or
there is no need to bother since you'll have to do the first compile
with the pass1 xgcc anyway.

You have a limited number of possibilities here:
- go 4-pass for java
- downgrade the c++ frontend all the way to the C front-end required
  level, ie K&R
- change the c++ frontend back to ISO C _and_ upgrade the requirements
  to ISO C

Moving the C++ frontend to iso C without upgrading the requirements
won't do.

  OG.


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