This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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: [RFC/RFT] Remove CHAR_TYPE tree code.


>>>>> "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


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