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: [named-address-spaces-branch][Patch,committed] TYPE_PRECISION changes for named-address-spaces


On Wed, Dec 03, 2008 at 02:27:03PM -0800, Andrew Pinski wrote:
> On Wed, Dec 3, 2008 at 2:21 PM, Michael Meissner
> <meissner@linux.vnet.ibm.com> wrote:
> > I checked in the following to get TYPE_PRECISION correct for OFFSET_TYPE:
> 
> Note by the way I think POINTER_PLUS_EXPR is all messed up with
> named-address-spaces, if normal pointers are 32bits, then the offset
> for named address space pointers of 64bits will only be 32bits.  I
> have an idea of how to fix this.  This is comes into play with __ea
> and -mea64 option.

Yes, you are probably right.  Send me mail if you have thoughts about it.

And Joseph was certainly correct if you have pointers in different address
spaces, that subtraction (and no doubt ?:) need to be straighted out.

I've also noticed that I need to look for all uses of ptr_node/Pmode also.

-- 
Michael Meissner, IBM
4 Technology Place Drive, MS 2203A, Westford, MA, 01886, USA
meissner@linux.vnet.ibm.com


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