This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

[PATCH Fortran] bootstrap failure by wrong sizetype


Hi,

I try to get an approval for this patch now about 2 months ago, but Paul 
Brook - how wrote this code - couldn't be seen on the lists. May somebody 
else could take a look on this quite small patch. The fortran compiler 
assumes, that sizetype has a type of a 'unsigned long'. This isn't true 
for the x86_64-pc-mingw32 target. For this target the sizetype needs to be 
a 'unsigned long long', because the 'long' type remains 32-bit width.
This patch uses the Pmode definition to choose the proper type size.

2007-08-22  Kai Tietz  <kai.tietz@onevision.com>

        * f95-lang.c: (gfc_init_decl_processing): Choose sizetype by using 
Pmode.

Regards,
 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

Attachment: w64fortran2.txt
Description: Text document


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