From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: =?UTF-8?B?UmU6IOKAmHN1cnJvZ2F0ZXNfdG9fY29kZXBvaW504oCZIHdhcm5pbmdz?= Date: Mon, 15 Jan 2018 13:38:26 -0800 Organization: UCLA Computer Science Department Message-ID: <8a4d28ee-d68b-f2f4-5e13-5692a6317a8d@cs.ucla.edu> References: <5A5C76EF.1020002@gmx.at> <838tczz593.fsf@gnu.org> <8e5a2b2c-4251-1e95-65ef-9712ceb1f144@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1516052207 12077 195.159.176.226 (15 Jan 2018 21:36:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 15 Jan 2018 21:36:47 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 Cc: martin rudalics , Eli Zaretskii , Emacs Development To: Richard Copley Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 15 22:36:42 2018 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 1ebCQn-0002SJ-1J for ged-emacs-devel@m.gmane.org; Mon, 15 Jan 2018 22:36:37 +0100 Original-Received: from localhost ([::1]:36617 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebCSm-0004mW-Rb for ged-emacs-devel@m.gmane.org; Mon, 15 Jan 2018 16:38:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebCSh-0004mM-0V for emacs-devel@gnu.org; Mon, 15 Jan 2018 16:38:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ebCSg-0003I3-Ck for emacs-devel@gnu.org; Mon, 15 Jan 2018 16:38:35 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:35148) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ebCSc-0003Ed-BB; Mon, 15 Jan 2018 16:38:30 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id B90581616D3; Mon, 15 Jan 2018 13:38:27 -0800 (PST) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id mMLVNwVgNnUn; Mon, 15 Jan 2018 13:38:27 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 112201616EC; Mon, 15 Jan 2018 13:38:27 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id wQRih_upqmhG; Mon, 15 Jan 2018 13:38:26 -0800 (PST) Original-Received: from [192.168.1.9] (unknown [47.154.30.119]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id DCACF1616EB; Mon, 15 Jan 2018 13:38:26 -0800 (PST) In-Reply-To: Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 131.179.128.68 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:221989 Archived-At: Richard Copley wrote: > GCC 7.2. > > ./configure --config-cache --with-modules --without-pop 'CFLAGS=-O3 -ggdb3' I tried that on Fedora 27, which has GCC 7.2.1 20170915 (Red Hat 7.2.1-2), and got some of the warnings that you mention. I suggest using -O2 instead, as this is the default optimization level and it made the warnings go away for me. I'd rather not contort the code to pacify false alarms for every possible combination of GCC options, as it's too much work for too little benefit.