This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran 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
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=F6J3UgcRIT+K7LNJuHFnMDjl4SzGg2BeLHmTxVI6dLAhEtiXM8iA4/m4ipYXAxneSYEA2TTW5uK249UDsWveUWviSl9TaDNFjZeJShU1TnYScNJOVRR4Ul1lJ5uEB8STFJR+e4PsvUW6eb+L+U2lgGNbG+1IJNXC2kcx5t8bEhQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MiFlfIi7qSsGGpU+LQmVTsxzw4JoR0TFZQmGsDVXWhYMxuECilCqObvbGlHzIMp4xJxAp1ssV5I+OaCdihzG8yNVM8SfJJ4R+n/Vt41By7WPxkNeje8ZH3ukqmamSzF0R0H1cH7spK0oteVNkxYceEBetPWLJWmGagSmJlq47hE=
- 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