This is the mail archive of the
mailing list for the GCC project.
Merge C++ conversion into trunk (0/6 - Overview)
- From: Diego Novillo <dnovillo at google dot com>
- To: gcc-patches at gcc dot gnu dot org, Lawrence Crowl <crowl at google dot com>
- Cc: bonzini at gnu dot org, dj at redhat dot com, rguenther at suse dot de, tromey at redhat dot com, laurynas dot biveinis at gmail dot com
- Date: Sun, 12 Aug 2012 16:04:27 -0400
- Subject: Merge C++ conversion into trunk (0/6 - Overview)
I will be sending 6 patches that implement all the changes we
have been making on the cxx-conversion branch. As described in
http://gcc.gnu.org/ml/gcc/2012-08/msg00015.html, these patches
change the default bootstrap process so that stage 1 always
builds with a C++ compiler.
Other than the bootstrap change, the patches make no functional
changes to the compiler. Everything should build as it does now
I have split the merge in 6 main patches. I will send these
patches to the respective maintainers and gcc-patches.
Please remember that the patches conform to the new C++ coding
1- Configuration changes.
2- Re-write of VEC.
3- Re-write of gengtype to support C++ templates and
user-provided marking functions.
4- New hash table class.
5- Re-write double_int.
6- Implement tree macros as inline functions so they can be
called from gdb.
As discussed before, several of these patches do not fully change
the call sites to use the new APIs. We will do this change once
the branch has been merged into trunk. Otherwise, the branch
becomes a maintenance nightmare (despite not having changed many
caller sites we were already starting to run into maintenance
For those who would like to build the conversion, you can either
checkout the branch from SVN
(svn://gcc.gnu.org/gcc/branches/cxx-conversion) or get the merged
trunk I have in the git repo (branch dnovillo/cxx-conversion).
The bootstrap changes have already been tested on a wide range of
targets (http://gcc.gnu.org/wiki/CppBuildStatus). Additionally,
I have tested the merged trunk on: x86_64-unknown-linux-gnu,
i686-pc-linux-gnu, and ia64-unknown-linux-gnu.