This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH RFC: Combine all tree codes into one
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: "Ian Lance Taylor" <iant at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 20 Jun 2008 07:51:59 -0400
- Subject: Re: PATCH RFC: Combine all tree codes into one
- References: <m34p7oqqgg.fsf@google.com>
On Fri, Jun 20, 2008 at 7:46 AM, Ian Lance Taylor <iant@google.com> wrote:
> This patch combines all tree codes into a single enumeration, rather
> than having a separate enumeration for each frontend. We used to need
> to use a separate enumeration because the tree code field was only 8
> bits. Now that the tree code field is 16 bits, we can reasonably
> combine them. This simplifies making gcc compilable by a C++ compiler
> without lots of extra casting. It also simplifies the code and the
> frontend interface.
I like this. I mentioned this needing to be done at the summit so
thanks for taking care of this.
Thanks,
Andrew Pinski