From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 89775 invoked by alias); 4 Oct 2018 18:51:59 -0000 Mailing-List: contact fortran-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: fortran-owner@gcc.gnu.org Received: (qmail 89499 invoked by uid 89); 4 Oct 2018 18:51:59 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=1994 X-HELO: resqmta-po-12v.sys.comcast.net Received: from resqmta-po-12v.sys.comcast.net (HELO resqmta-po-12v.sys.comcast.net) (96.114.154.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 04 Oct 2018 18:51:58 +0000 Received: from resomta-po-06v.sys.comcast.net ([96.114.154.230]) by resqmta-po-12v.sys.comcast.net with ESMTP id 87eXg1PbeWxvn88j6gWIPe; Thu, 04 Oct 2018 18:51:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1538679116; bh=oQIwx/9VJgEn7uJlGUGtP162OSBf4PNaxg4TFatdBwY=; h=Received:Received:Content-Type:Mime-Version:Subject:From:Date: Message-Id:To; b=VMxqXkwSg5pp2uZuIz8Gy+niv8bx4aPm70rhk2+QnqkQpI4T6AyDNaO8sdoFEHvUI 5tz1VUkbKJteOBHYZQt7+Nq4f9p3WESq6NOZvQDCukTXyV+RasL+fLvRenk3REdYUn t99NceaktGJNnHRlHenM+ardgSiieUa5FK8m2webFuwXIT+wy1xBVtB3JaB+kORykx F6zEgBqJeAP/Vz4h2sYLffOKd0Vvd7mKTIxo++gqjLzWpefoyac3rJye3yPJRbDEc7 Yl3r4vzrHnnNX3ZuHilOKHNuqDgDa6IqnbxtjIb9l3SeNdMEn9l4oh10WKqlMssAtq TLFqVfEV2/yZQ== Received: from [192.168.10.125] ([73.60.223.101]) by resomta-po-06v.sys.comcast.net with ESMTPSA id 88j5gGabF5pZp88j5gbmBU; Thu, 04 Oct 2018 18:51:56 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: Target control of Fortran options From: Paul Koning In-Reply-To: Date: Thu, 04 Oct 2018 18:51:00 -0000 Cc: Richard Guenther , Fortran List Content-Transfer-Encoding: quoted-printable Message-Id: References: <984F5B1C-CAFB-4131-A90F-3805D674857B@comcast.net> <01899EC4-4F6C-4592-AFB6-D29DA79F1BCB@comcast.net> To: Janne Blomqvist X-IsSubscribed: yes X-SW-Source: 2018-10/txt/msg00018.txt.bz2 > On Oct 4, 2018, at 10:31 AM, Janne Blomqvist = wrote: >=20 > On Thu, Oct 4, 2018 at 5:04 PM Paul Koning wrote: >=20 > ... > Yes. There are, however, some complications here. Namely that the Fortr= an standard specifies that REAL, INTEGER, and LOGICAL types of default kind= must all be the same size. And furthermore, there must exist a type DOUBL= E PRECISION which is twice the size of the default kind REAL. >=20 > So what this implies is that e.g. if you want the default kind REAL to be= 8 bytes, then the default kind INTEGER and LOGICAL must also be 8 bytes ty= pes, and further there must exist a 16 byte DOUBLE PRECISION type. Thanks, that was very helpful. While pdp11 can do INTEGER*8, it can't do R= EAL*16. And I have no idea why the float =3D=3D double thing was done orig= inally in the first place. It goes all the way back to the original versio= n of the file (from 1994). I've decided to yank that option, so FLOAT_SIZE is 32 always (and DOUBLE_SI= ZE is 64 as it was all along). That seems more intuitive anyway for people= familiar with that target. paul