From patchwork Fri Feb 1 10:58:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Dominique_d=27Humi=C3=A8res?= X-Patchwork-Id: 1034699 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-495075-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=lps.ens.fr Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="Ykp4z5nS"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43rYxg5LTwz9sDX for ; Fri, 1 Feb 2019 21:58:47 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :content-type:content-transfer-encoding:mime-version:subject :message-id:date:cc:to; q=dns; s=default; b=wpjp+sXN1sk+cSNf9xay qxmWFEXBXEskPDrLmcF9bGhIhDwcTf7gUyVZffQnZu8PAFCmrp5Lma2EPaeG3bSi 4wHL+QHq51RkKI6oM0qShepq1ZTA0qUNhXBGYQmU0URcqNQwzwrHOykr7Y2+i0oL +N3nXKHiCgTG70oOvJ2nrn8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :content-type:content-transfer-encoding:mime-version:subject :message-id:date:cc:to; s=default; bh=ExH9enFcWAZGgtS/Wf2Q/DQJZg U=; b=Ykp4z5nSKM1JDd9CVKG++YXy1La+ZWyHzrqvitlQTD18ICdNj1UK2TlzeS 44ad2j6fO+UDG4F0nHcBYCsvtKsygkuIc3BVCUc7b+xCTaog3s14mF+KLAxbFuf4 9n/TzEBEQosJZohACzK/8aQFGJpuEnDbRl5MM/Msoqn1c02/4= Received: (qmail 99920 invoked by alias); 1 Feb 2019 10:58:37 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 99901 invoked by uid 89); 1 Feb 2019 10:58:37 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-10.9 required=5.0 tests=BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY autolearn=ham version=3.3.2 spammy= X-HELO: nef.ens.fr Received: from nef2.ens.fr (HELO nef.ens.fr) (129.199.96.40) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 01 Feb 2019 10:58:35 +0000 X-ENS-nef-client: 129.199.120.1 Received: from mailhost.lps.ens.fr (tournesol.lps.ens.fr [129.199.120.1]) by nef.ens.fr (8.14.4/1.01.28121999) with ESMTP id x11AwWmb014844 ; Fri, 1 Feb 2019 11:58:33 +0100 Received: from localhost (localhost [127.0.0.1]) by mailhost.lps.ens.fr (Postfix) with ESMTP id DDA5F113; Fri, 1 Feb 2019 11:58:32 +0100 (CET) Received: from mailhost.lps.ens.fr ([127.0.0.1]) by localhost (tournesol.lps.ens.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6IJxQdQetPiy; Fri, 1 Feb 2019 11:58:32 +0100 (CET) Received: from [192.168.1.11] (log78-1-82-242-47-10.fbx.proxad.net [82.242.47.10]) by mailhost.lps.ens.fr (Postfix) with ESMTPSA id B6DA9112; Fri, 1 Feb 2019 11:58:32 +0100 (CET) From: =?utf-8?q?Dominique_d=27Humi=C3=A8res?= Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: =?utf-8?q?=5BPATCH_fortran=5D=C2=A0PR_81344_-_Can=27t_disable_-f?= =?utf-8?q?fpe-trap_=28or_not_documented=29?= Message-Id: Date: Fri, 1 Feb 2019 11:58:32 +0100 Cc: gcc-patches To: gfortran Hi! I am planning to commit the following patch (with a suitable ChangeLog entry) then to close the PR as WONTFIX. Is it OK? TIA Dominique --- ../_clean/gcc/fortran/invoke.texi 2019-01-30 16:54:38.000000000 +0100 +++ gcc/fortran/invoke.texi 2019-02-01 11:52:01.000000000 +0100 @@ -1203,6 +1203,12 @@ The first three exceptions (@samp{invali has provisions for dealing with these exceptions, enabling traps for these three exceptions is probably a good idea. +If the option is used more than once in the command line, the lists will +be joined: '@code{ffpe-trap=}@var{list1} @code{ffpe-trap=}@var{list2}' +is equivalent to @code{ffpe-trap=}@var{list1,list2}. + +Note that once enabled an exception cannot be disabled (no negative form). + Many, if not most, floating point operations incur loss of precision due to rounding, and hence the @code{ffpe-trap=inexact} is likely to be uninteresting in practice. @@ -1218,6 +1224,9 @@ of the following exceptions: @samp{inval @samp{underflow}, @samp{inexact} and @samp{denormal}. (See @option{-ffpe-trap} for a description of the exceptions.) +If the option is used more than once in the command line, only the +last one will be used. + By default, a summary for all exceptions but @samp{inexact} is shown. @item -fno-backtrace