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] |
--- Begin Message ---
- From: Kai Tietz <Kai dot Tietz at onevision dot com>
- To: Paul Brook <paul at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 16 Aug 2007 15:42:38 +0200
- Subject: PING: PING: Re: ICE for fortran reasoned by wrong sizetype size for x86_64 mingw32 target
- Approved: news@gmane.org
- Archived-at: <http://permalink.gmane.org/gmane.comp.gcc.patches/146415>
- Envelope-to: gcc-patches@gmane.org
- Newsgroups: gmane.comp.gcc.patches
- Original-received: from sourceware.org ([209.132.176.174])by lo.gmane.org with smtp (Exim 4.50)id 1ILfe9-0003KA-3gfor gcc-patches@gmane.org; Thu, 16 Aug 2007 15:44:21 +0200
- Original-received: (qmail 18742 invoked by alias); 16 Aug 2007 13:44:13 -0000
- Original-received: (qmail 18112 invoked by uid 22791); 16 Aug 2007 13:43:46 -0000
- Original-received: from outdoor.onevision.de (HELO outdoor.onevision.de) (212.77.172.51) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 16 Aug 2007 13:43:41 +0000
- Original-received: from sanders.onevision.de (moonrace [212.77.172.62]) by outdoor.onevision.de (8.13.7/8.13.7/ROSCH/DDB) with ESMTP id l7GDgj9L019188; Thu, 16 Aug 2007 15:42:50 +0200
- Original-x-from: gcc-patches-return-201591-gcc-patches=m.gmane.org@gcc.gnu.org Thu Aug 16 15:44:23 2007
- Xref: news.gmane.org gmane.comp.gcc.patches:146415
Hi Paul, I got from Paul Thomas the hint that you are the author of the f95-lang.c file of gcc. So may you are the right person to comment or approve this patch.I found the problem in gfc_init_decl_processing choosing the wrong 'sizetype' type for some targets. The code assumes, that the 'sizetype' is a 'unsigned long', which is not true for the x86_64-pc-mingw32 target. This target defines the 'long' type 32-bit and a pointer is 64-bit (a 'long long'). This results in an ICE for the fortan compiler for the x86_64-pc-mingw32 target. The attached patch fixes this problem. Additionally there was coming up some question about the support of the fortan compiler for 16-bit targets (but this is an off topic issue IMHO). 2007-07-23 Kai Tietz <kai.tietz@onevision.com> * f95-lang.c: (gfc_init_decl_processing): Choose sizetype by using Pmode. Thanks in advance and cheers, 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 KlugerAttachment: w64fortran2.txt
Description: Text document
--- End Message ---
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |