This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [RFC/RFT] Remove CHAR_TYPE tree code.
- From: Tom Tromey <tromey at redhat dot com>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: java-patches at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: 27 Jan 2006 17:02:42 -0700
- Subject: Re: [RFC/RFT] Remove CHAR_TYPE tree code.
- References: <Pine.LNX.4.44.0601271414240.22708-100000@www.eyesopen.com>
- Reply-to: tromey at redhat dot com
>>>>> "Roger" == Roger Sayle <roger@eyesopen.com> writes:
Roger> The following patch to the java front-end is an attempt to reduce
Roger> the number of tree codes used in GCC. The tree code CHAR_TYPE is
Roger> used to represent a form of integer type specific to the Java
Roger> front-end, but is defined in gcc/tree.def as expressions of these
Roger> types need to be folded, expanded and tree-ssa optimized by the
Roger> middle-end.
I haven't tried the patch yet, but the idea seems sound enough, and
the implementation looks reasonable.
The last time removing CHAR_TYPE came up, Jim Wilson pointed out that
this affects debug information:
http://gcc.gnu.org/ml/gcc/2005-08/msg00325.html
Oh, I see a solution was proposed:
http://gcc.gnu.org/ml/gcc/2005-08/msg00391.html
Is that the plan?
Tom