This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH Fortran] bootstrap failure by wrong sizetype
- From: "François-Xavier Coudert" <fxcoudert at gmail dot com>
- To: "Kai Tietz" <Kai dot Tietz at onevision dot com>
- Cc: gcc-patches at gcc dot gnu dot org, "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>
- Date: Wed, 22 Aug 2007 11:04:56 +0100
- Subject: Re: [PATCH Fortran] bootstrap failure by wrong sizetype
- References: <OFDA1D08EB.DE61B0E9-ONC125733F.003189A7-C125733F.00368ECB@onevision.de>
> 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.
I had two questions to your original posting, which were not answered:
http://gcc.gnu.org/ml/gcc-patches/2007-08/msg00198.html
Provided that these two questions are answered, the patch is OK.
FX