This is the mail archive of the gcc@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: Question about use of sizetype in i386.c declared in stor-layout.c


Andreas Schwab <schwab@suse.de> wrote on 23.07.2007 15:22:34:

> Kai Tietz <Kai.Tietz@onevision.com> writes:
> 
> > may this is a stupid question, but why is the type "sizetype" used in 
> > i386.c as a pointer type equivalent in TARGET_64BIT case ? The 
variable 
> > "sizetype" has SImode, but on 64-bit I would expected DImode instead.
> 
> sizetype is defined from SIZE_TYPE, which is "long unsigned int" for
> TARGET_64BIT.

Yes, this I would expected too.
Hmm... Ok, but why in stor-layout.c in initialize_sizetypes () SImode is 
explicit used ?
Should it be Pmode instead IMHO ? Or did I missed there something 
important ?


Thanks,
 i.A. Kai Tietz

|  (\_/)  This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.

------------------------------------------------------------------------------------------
  OneVision Software Entwicklungs GmbH & Co. KG
  Dr.-Leo-Ritter-StraÃe 9 - 93049 Regensburg
  Tel: +49.(0)941.78004.0 - Fax: +49.(0)941.78004.489 - www.OneVision.com
  Commerzbank Regensburg - BLZ 750 400 62 - Konto 6011050
  Handelsregister: HRA 6744, Amtsgericht Regensburg
  KomplementÃrin: OneVision Software Entwicklungs Verwaltungs GmbH
  Dr.-Leo-Ritter-StraÃe 9 â 93049 Regensburg
  Handelsregister: HRB 8932, Amtsgericht Regensburg - GeschÃftsfÃhrer: 
Ulrike DÃhler, Manuela Kluger


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