From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 45628 invoked by alias); 23 Sep 2017 13:19:18 -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 45596 invoked by uid 89); 23 Sep 2017 13:19:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy= X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-yw0-f174.google.com Received: from mail-yw0-f174.google.com (HELO mail-yw0-f174.google.com) (209.85.161.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 23 Sep 2017 13:19:15 +0000 Received: by mail-yw0-f174.google.com with SMTP id w9so2307751ywi.11; Sat, 23 Sep 2017 06:19:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=YJQ/xHTZd7CUQTi44JjNtu/0IQIX5xpyDWL1aRu6xa4=; b=L8kHh0qItB9AzzjeMa9rkPImVDYg6viIiJpu1ZBlN0rDjVhegm+5r39OzVs3D9/Qyc 2ZP4irpb/b14gdLi7p3+Tn6B9Zrl8scbZ8QA63TFf8fXAUkmKSBX/309DwkUt8UF0EQW TGrJvzayt/RzNTSQ49BLjgn/Q1LnsM2cwweVzFA6umm4/wJ4xif3KKhA45C8demZkL+X DOVvWd1Zur1BRvZOguCF1yOzgamXKZNK4DPyKMmg2UoJgh2oMuHFqvL0PqYJf+Hh6AB+ BP6lJs+/pgNvy2iDt1tXM6VgdNpmb57SQhtCmW25RUlv4Xe1+9Ss9vslGTCSCi8Rb1W2 a2Uw== X-Gm-Message-State: AHPjjUisb2xbpn/QNXKkwiVjsrhQIbSAvi4yAEqSAfMllgq+2nCvQbhm DsAGDOSknDfTB8vdY3SjEXfHBSt/2qMTh6QK7Po= X-Google-Smtp-Source: AOwi7QBBBJ3QVneVKCtrvm7c1Cg5RF2ER+G4+90zIyovdfQwH9ZmDlYdToGcBw9H4QtXrRUsE5GZosfGSXQp3VcxdNc= X-Received: by 10.37.114.193 with SMTP id n184mr1291687ybc.332.1506172753517; Sat, 23 Sep 2017 06:19:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.162.148 with HTTP; Sat, 23 Sep 2017 06:19:13 -0700 (PDT) In-Reply-To: References: <20170918045045.GA79226@troutmask.apl.washington.edu> <20170918140823.GA83251@troutmask.apl.washington.edu> <20170921203854.GA13539@troutmask.apl.washington.edu> From: Janus Weil Date: Sat, 23 Sep 2017 13:19:00 -0000 Message-ID: Subject: Re: [Patch, Fortran] PR 82143: add a -fdefault-real-16 flag To: Janne Blomqvist Cc: Steve Kargl , gfortran , gcc-patches Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-09/txt/msg00091.txt.bz2 2017-09-22 21:32 GMT+02:00 Janus Weil : > 2017-09-22 11:44 GMT+02:00 Janus Weil : >> 2017-09-22 9:11 GMT+02:00 Janne Blomqvist : >>> And since the standard requires that double precision variables are >>> twice as big as reals, in the absence of an explicit -fdefault-double= >>> flag, would it make sense to have -fdefault-real=N imply >>> -fdefault-double=[2*N or if that isn't supported on the target, the >>> largest supported real kind]? >> >> That's basically the behavior I tried to implement in my current patch >> (although I notice now that you're not necessarily getting the largest >> real kind, if 16 is not supported). > > Attached is a new version of the patch, which improves this point. In > the absence of further comments, I'll commit this by tomorrow. Landed on trunk as r253117. Cheers, Janus