This is the mail archive of the gcc-patches@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: PATCH RFC: Combine all tree codes into one


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


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