From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Popineau Newsgroups: gmane.emacs.devel Subject: Re: Suspicious warning in W64 build Date: Sun, 17 Sep 2017 18:39:01 +0200 Message-ID: References: <1017454172.910810.1504618695244@mail.libero.it> <83mv66z66p.fsf@gnu.org> <102a4c21-c275-c73e-ec53-0d85975dc968@cs.ucla.edu> <83a825znuf.fsf@gnu.org> <831snhzkgw.fsf@gnu.org> <837ex9x7vf.fsf@gnu.org> <83tw0cwcle.fsf@gnu.org> <83h8wcw3td.fsf@gnu.org> <83377vx3d0.fsf@gnu.org> <83ingnq01t.fsf@gnu.org> <83fubrpxsv.fsf@gnu.org> <83r2v9masw.fsf@gnu.org> <83d16smj5o.fsf@gnu.org> <9b9bfa40-a248-ed77-6522-53fe73e55434@cs.ucla.edu> <83d16pjt4v.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113c6008aee05f055965440a" X-Trace: blaine.gmane.org 1505666389 21932 195.159.176.226 (17 Sep 2017 16:39:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 17 Sep 2017 16:39:49 +0000 (UTC) Cc: Richard Copley , Paul Eggert , Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 17 18:39:41 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dtcbc-0005GP-RS for ged-emacs-devel@m.gmane.org; Sun, 17 Sep 2017 18:39:41 +0200 Original-Received: from localhost ([::1]:33007 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dtcbf-00055A-HT for ged-emacs-devel@m.gmane.org; Sun, 17 Sep 2017 12:39:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56856) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dtcbW-00054s-Ss for emacs-devel@gnu.org; Sun, 17 Sep 2017 12:39:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dtcbS-0004AC-Mb for emacs-devel@gnu.org; Sun, 17 Sep 2017 12:39:34 -0400 Original-Received: from smtp2.supelec.fr ([160.228.120.31]:60931) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dtcbN-00046P-RU; Sun, 17 Sep 2017 12:39:26 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by smtp2.supelec.fr (Postfix) with ESMTP id B3213804B1; Sun, 17 Sep 2017 18:39:23 +0200 (CEST) X-Virus-Scanned: amavisd-new at smtp2.supelec.fr Original-Received: from smtp2.supelec.fr ([127.0.0.1]) by localhost (smtp2.supelec.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DsS5ndLDylfC; Sun, 17 Sep 2017 18:39:23 +0200 (CEST) Original-Received: from mail-qt0-f182.google.com (mail-qt0-f182.google.com [209.85.216.182]) by smtp2.supelec.fr (Postfix) with ESMTPSA id 2CF708049D; Sun, 17 Sep 2017 18:39:23 +0200 (CEST) Original-Received: by mail-qt0-f182.google.com with SMTP id i13so5692480qtc.11; Sun, 17 Sep 2017 09:39:23 -0700 (PDT) X-Gm-Message-State: AHPjjUiQ9rCPnJ0zo2jarrfBbIUGPrabzXBpOcvfbgPjfn2T26AzO3G0 fYcG+4ptCrW6YvM4lom8hs64qhT9o75mJxbR8eM= X-Google-Smtp-Source: AOwi7QDghtGL7XlB4PigUo1s6JisRu3laCnnHzwoMRYeDF8eFpd6/Tc0FUa9Vi7a6+e/Fl8rUefnW5zwp/Mv2fkddOU= X-Received: by 10.200.40.117 with SMTP id 50mr1540926qtr.167.1505666362431; Sun, 17 Sep 2017 09:39:22 -0700 (PDT) Original-Received: by 10.140.82.8 with HTTP; Sun, 17 Sep 2017 09:39:01 -0700 (PDT) In-Reply-To: <83d16pjt4v.fsf@gnu.org> X-Gmail-Original-Message-ID: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 160.228.120.31 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:218412 Archived-At: --001a113c6008aee05f055965440a Content-Type: text/plain; charset="UTF-8" 2017-09-17 16:29 GMT+02:00 Eli Zaretskii : > > Cc: fabrice.popineau@centralesupelec.fr, emacs-devel@gnu.org > > From: Paul Eggert > > Date: Sat, 16 Sep 2017 23:40:05 -0700 > > > > Eli Zaretskii wrote: > > > Not sure what to do about this. Add 'volatile' to the declaration of > > > 'c'? > > > > Looks like a GCC bug. To work around it, please try CACHEABLE instead of > > volatile, to warn the reader that it's a compiler-bug workaround. Like > this: > > > > struct handler *CACHEABLE c = handlerlist->nextfree; > > Richard, Fabrice -- could you try this, please? > > This one fixes the warnings in eval.c. Fabrice --001a113c6008aee05f055965440a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


2017-09-17 16:29 GMT+02:00 Eli Zaretskii <eliz@gnu.org>:
=
> Cc: fabrice.popineau@centralesupelec.fr, emacs-devel@gnu.org
> From: Paul Eggert <eggert@cs.= ucla.edu>
> Date: Sat, 16 Sep 2017 23:40:05 -0700
>
> Eli Zaretskii wrote:
> > Not sure what to do about this.=C2=A0 Add 'volatile' to t= he declaration of
> > 'c'?
>
> Looks like a GCC bug. To work around it, please try CACHEABLE instead = of
> volatile, to warn the reader that it's a compiler-bug workaround. = Like this:
>
>=C2=A0 =C2=A0 struct handler *CACHEABLE c =3D handlerlist->nextfree;=

Richard, Fabrice -- could you try this, please?

=C2=A0
This one fix= es the warnings in eval.c.

Fabrice

<= /div>
--001a113c6008aee05f055965440a--