From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 62281 invoked by alias); 18 Sep 2017 07:02:28 -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 61411 invoked by uid 89); 18 Sep 2017 07:02:26 -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=boredom, HTo:U*sgk 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; Mon, 18 Sep 2017 07:02:24 +0000 Received: by mail-yw0-f174.google.com with SMTP id i6so4506124ywc.9; Mon, 18 Sep 2017 00:02:24 -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=k9zyEqxrAPLnSatX7rvg99RigrH/v2GSIO+HPduLXzI=; b=gqZgptGBllKHHlWe9W+ezvBhmUjm3LupI6CFGjX5yww3TwX7nvuwTxKGMTa6W0W4bU HpuOFZADMMKd1i3ms18SdWSRHgHFh2X3sOsfOccm+IE88HGDWP8cGX6Q16JPmkTcI2lu db1YrsWELEGkIYL7S02Y92E2T26SpfvWiZroMPY9wWc6KYs29Tl/I8fF556G4dfiCpPQ Bxd1tiS53+Q+f4Udz4p3W4x70WDwQ7W65rqQAgqP9Qgz/ty8mtENaUrBsWZ2JOQnqqHJ TVbYnpJ2gpiLaCYNYb4uq3R69SuLX7fI2uFOAb7jXhzrgL+TUs2AiPH5PcFVz35ioROn I/XA== X-Gm-Message-State: AHPjjUjswje8yxIhMDwGo+gUO6bFlvwChxjFn26mgVucJibu2EuUjzHb nJO7PUvysEWgNm9gDEVAi/ry0Uu7FxRT3GxB3HU1PA== X-Google-Smtp-Source: ADKCNb50hHdD0ud1iaVbe8vgX6JO+zLmz57U+soDjsnZLdfQt2klwxMf7zZ8QlOrn6Pux/R/RZIf5PBEYmyuwlX5XWI= X-Received: by 10.37.16.212 with SMTP id 203mr27828967ybq.198.1505718143145; Mon, 18 Sep 2017 00:02:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.162.148 with HTTP; Mon, 18 Sep 2017 00:02:22 -0700 (PDT) In-Reply-To: <20170918045045.GA79226@troutmask.apl.washington.edu> References: <20170918045045.GA79226@troutmask.apl.washington.edu> From: Janus Weil Date: Mon, 18 Sep 2017 07:02:00 -0000 Message-ID: Subject: Re: [Patch, Fortran] PR 82143: add a -fdefault-real-16 flag To: Steve Kargl Cc: gfortran , gcc-patches Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-09/txt/msg00057.txt.bz2 Hi Steve, >> attached is a (technically) simple patch that implements the compiler >> flag "-fdefault-real-16" for gfortran. > > What about -fdefault-real-10? If you're going to add bloat to the > compiler, then you might as well to it right. well, yeah. If my only aim was to add bloat to the compiler out of plain boredom and nastiness, then I might as well add -fdefault-real-37. But I don't think that would be very useful. Regarding -fdefault-real-16, in contrast: Yes, I think it's useful. My motivation for adding it is to enable Real People(tm) in the Real World(tm) to do Real Work(tm). To give a few data points that document the need for such a flag (brought up by a quick web search): * https://gcc.gnu.org/ml/fortran/2012-01/msg00148.html * https://glennklockwood.blogspot.de/2014/02/linux-perf-libquadmath-and-gfortrans.html * https://ndclx4.bnl.gov/gf/project/empire/mailman/?_forum_action=ForumMessageBrowse&thread_id=1318&action=ListThreads&mailman_id=11 * plus my own usage scenarios for this flag If nothing else, this flag is supposed to make gfortran compile code that is built with "ifort -real-size 132". Or make it possible to try quad-precision for codes that use -fdefault-real-8 (of which I think there are quite a lot out there, whether you like it or not). Why all the grumpiness, anyway? Cheers, Janus