From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#11935: XINT etc. should be functions Date: Sun, 9 Jun 2013 11:18:45 +0200 Message-ID: References: <500039B7.8050106@cs.ucla.edu> <51B0B137.5020705@cs.ucla.edu> <51B3D1B5.8020807@cs.ucla.edu> <1EB810C4-5B0D-4564-A914-E203B6DFD7BB@swipnet.se> <51B42D69.7040800@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1370769606 13570 80.91.229.3 (9 Jun 2013 09:20:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Jun 2013 09:20:06 +0000 (UTC) Cc: 11935@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 09 11:20:05 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UlbnA-0000rv-Pj for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Jun 2013 11:20:04 +0200 Original-Received: from localhost ([::1]:39072 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlbnA-0008EQ-BC for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Jun 2013 05:20:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ulbn6-0008EG-GW for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2013 05:20:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ulbn5-0003Ec-Kj for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2013 05:20:00 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48535) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ulbn5-0003EY-HI for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2013 05:19:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Ulbn7-0004Yj-Op for bug-gnu-emacs@gnu.org; Sun, 09 Jun 2013 05:20:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Jun 2013 09:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11935 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 11935-submit@debbugs.gnu.org id=B11935.137076954517391 (code B ref 11935); Sun, 09 Jun 2013 09:20:01 +0000 Original-Received: (at 11935) by debbugs.gnu.org; 9 Jun 2013 09:19:05 +0000 Original-Received: from localhost ([127.0.0.1]:52770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ulbm8-0004Vo-Ei for submit@debbugs.gnu.org; Sun, 09 Jun 2013 05:19:05 -0400 Original-Received: from mailout.melmac.se ([62.20.26.67]:62169) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ulbm3-0004VK-3q for 11935@debbugs.gnu.org; Sun, 09 Jun 2013 05:18:59 -0400 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 97045CA65 for <11935@debbugs.gnu.org>; Sun, 9 Jun 2013 11:18:45 +0200 (CEST) Original-Received: (qmail 9267 invoked by uid 89); 9 Jun 2013 09:18:45 -0000 Original-Received: from h-46-59-42-57.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.57) by mail01.melmac.se with ESMTPA; 9 Jun 2013 09:18:45 -0000 Original-Received: from [172.20.199.13] (unknown [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 2874E1A1D0F; Sun, 9 Jun 2013 09:18:45 +0000 (UTC) In-Reply-To: <51B42D69.7040800@cs.ucla.edu> X-Mailer: Apple Mail (2.1503) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:74926 Archived-At: Hello. 9 jun 2013 kl. 09:23 skrev Paul Eggert : > On 06/08/2013 11:56 PM, Jan Dj=E4rv wrote: >> most people does not have the latest gcc version. >=20 > Most people can use older GCC versions just fine, > since by default Emacs builds with optimization flags > that will generate pretty much the same machine code > regardless of whether the patch is used. >=20 > The only problem is with developers who are using older > GCC versions and who wish to compile without optimization, > to make Emacs easier to debug. These folks can't use -Og > (available in GCC 4.8 and later), so they have to make do > with -O0. >=20 That is not the only problem. etc/DEBUG recommends to build with no = optimization when reporting errors. > -Og is better for debugging than -O0 is, and the > proposed patch caters to -Og. Eventually the -Og > approach will win out; the only question is when > and how to start the ball rolling. If you can make it detect when to use macros and when to use functions = so -O0 doesn't suffer, that is starting the ball rolling. Otherwise it = is setting up a brick wall for users/developers with older gcc. Jan D.