This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Widen field offset
- From: Joern Rennecke <joern dot rennecke at superh dot com>
- To: rth at redhat dot com (Richard Henderson)
- Cc: aph at redhat dot com (Andrew Haley), gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Wed, 28 Jan 2004 21:45:02 +0000 (GMT)
- Subject: Re: Widen field offset
> I would think it makes most sense to convert to sizetype, but
> frankly I'm not sure what happens with targets that use
> partial-integer modes for Pmode.
They are supposed to have expanders from Pmode to the mode of size_type_node.
But you have to convert both the pointer and the integer if both are
different from the type used for the computation.