From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15520 invoked by alias); 11 Sep 2011 09:17:54 -0000 Received: (qmail 15508 invoked by uid 22791); 11 Sep 2011 09:17:52 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-yx0-f175.google.com (HELO mail-yx0-f175.google.com) (209.85.213.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 11 Sep 2011 09:17:39 +0000 Received: by yxj17 with SMTP id 17so2751871yxj.20 for ; Sun, 11 Sep 2011 02:17:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.1.134 with SMTP id 6mr3780153pbm.458.1315732657756; Sun, 11 Sep 2011 02:17:37 -0700 (PDT) Received: by 10.142.90.10 with HTTP; Sun, 11 Sep 2011 02:17:37 -0700 (PDT) In-Reply-To: <4E6C2066.5010800@aol.com> References: <20110910025437.GC2472@hocevar.net> <4E6C2066.5010800@aol.com> Date: Sun, 11 Sep 2011 09:17:00 -0000 Message-ID: Subject: Re: disabling the effects of -ffast-math at specific locations From: Jonathan Wakely To: tprince@computer.org Cc: gcc-help@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-09/txt/msg00101.txt.bz2 On 11 September 2011 03:43, Tim Prince wrote: > > Perhaps you want the -protect-parens option (and a recent enough version = of > gcc to support that)? =A0I think I've been informed that this option is a > default for gcc 4.6. =A0This option would allow > f =3D (f + g) -g > to produce the result you appear to want. According to the manual -fprotect-parens is the default for 4.5+ but it's only valid for Fortran.