public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Phase 1 of gcc-in-cxx now complete
@ 2009-06-27  0:26 Matt
  2009-06-27  9:48 ` Ian Lance Taylor
  0 siblings, 1 reply; 20+ messages in thread
From: Matt @ 2009-06-27  0:26 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: gcc


> * Develop some trial patches which require C++, e.g., convert VEC to
>  std::vector.

Do you have any ideas for the easiest starting points? Is there anywhere 
that is decently self-contained, or will if have to be a big bang?

I'd love to see this happen so there's more exercising of template 
expansion during the profiledbootstrap. If I can get pointed in the right 
direction, I can probably produce a patch within the next week.

Thanks for this work and adding all the extra warnings!

--
tangled strands of DNA explain the way that I behave.
http://www.clock.org/~matt

^ permalink raw reply	[flat|nested] 20+ messages in thread
* Phase 1 of gcc-in-cxx now complete
@ 2009-06-25 20:33 Ian Lance Taylor
  2009-06-25 21:39 ` Richard Guenther
                   ` (4 more replies)
  0 siblings, 5 replies; 20+ messages in thread
From: Ian Lance Taylor @ 2009-06-25 20:33 UTC (permalink / raw)
  To: gcc

I am pleased to report that if you configure gcc with
--enable-build-with-cxx, which causes the core compiler to be built
using a C++ compiler, a bootstrap on x86_64-unknown-linux-gnu now
completes.

I would like to encourage people to try using --enable-build-with-cxx in
other configuration--other bootstraps, cross-compilers--to see how well
it works.  Please let me know if you run into problems that you don't
know how, or don't have time, to fix.

This completes the first phase of the gcc-in-cxx project, which I
started about one year ago at the 2008 GCC Summit.

At this point I personally will probably not work on this project for
some weeks, other than bug fixing.  Further steps on the overall project
of converting gcc to C++ are:

* Write a coding standards document for gcc in C++.

* Convert more code to be compiled as C++ when using
  --enable-build-with-cxx.  Currently the generator programs
  (genattrtab, etc.) and libcpp are still compiled as C.

* Develop some trial patches which require C++, e.g., convert VEC to
  std::vector.

* Test starting the bootstrap with earlier versions of the compiler to
  see which C++ compiler version is required, and document that.

* Petition the steering committee for formal approval to switch to C++.

I do not expect to convert the compiler to require C++ in the 4.5
timeframe.

I encourage anybody who is interested to experiment with these further
steps.

Ian

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2009-06-29 14:23 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-27  0:26 Phase 1 of gcc-in-cxx now complete Matt
2009-06-27  9:48 ` Ian Lance Taylor
2009-06-27 10:35   ` Richard Guenther
2009-06-27 13:41     ` Daniel Berlin
2009-06-27 15:19       ` Robert Dewar
2009-06-28  3:09     ` Ian Lance Taylor
2009-06-29 13:10       ` NightStrike
2009-06-29 13:13         ` Andrew Haley
2009-06-29 16:26         ` Gabriel Dos Reis
  -- strict thread matches above, loose matches on Subject: below --
2009-06-25 20:33 Ian Lance Taylor
2009-06-25 21:39 ` Richard Guenther
2009-06-25 22:29 ` Joseph S. Myers
2009-06-25 22:47   ` Eric Botcazou
2009-06-25 22:49   ` Joe Buck
2009-06-26  7:09     ` Gabriel Dos Reis
2009-06-26 14:12       ` Jack Howarth
2009-06-26 18:21 ` Adam Nemet
2009-06-27 16:51 ` Adam Nemet
2009-06-27 18:07 ` David Edelsohn
2009-06-27 19:50   ` Sebastian Pop

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).