From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 80060 invoked by alias); 9 Sep 2015 13:32:58 -0000 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 Received: (qmail 80045 invoked by uid 89); 9 Sep 2015 13:32:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-yk0-f173.google.com Received: from mail-yk0-f173.google.com (HELO mail-yk0-f173.google.com) (209.85.160.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 09 Sep 2015 13:32:54 +0000 Received: by ykcf206 with SMTP id f206so14869494ykc.3 for ; Wed, 09 Sep 2015 06:32:52 -0700 (PDT) X-Received: by 10.170.211.8 with SMTP id c8mr38165827ykf.9.1441805572160; Wed, 09 Sep 2015 06:32:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.231.7 with HTTP; Wed, 9 Sep 2015 06:32:32 -0700 (PDT) In-Reply-To: References: <55EF53AC.9020306@gmail.com> From: Mathieu Malaterre Date: Wed, 09 Sep 2015 13:32:00 -0000 Message-ID: Subject: Re: -ffloat-store behavior (Re: Susprising behavior of gcc on x86 (-m32)) To: =?UTF-8?B?TWFudWVsIEzDs3Blei1JYsOhw7Fleg==?= Cc: gcc-help , Andrew Haley , Markus Trippelsdorf Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00048.txt.bz2 Manuel, On Wed, Sep 9, 2015 at 11:23 AM, Manuel L=C3=B3pez-Ib=C3=A1=C3=B1ez wrote: [...] > The manual says: "if -fexcess-precision=3Dstandard is specified then > excess precision follows the rules specified in ISO C99; in > particular, both casts and assignments cause values to be rounded to > their semantic types (whereas -ffloat-store only affects > assignments)." [...] That was the important part I misread: I needed an explicit cast and/or assignment. So documentation is crystal clear, sorry for the noise. But anyway as Andrew pointed out this only solve the symptoms, not the actual bug. -M