From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#6538: Removal of C_DEBUG_SWITCH changes CFLAGS Date: Tue, 29 Jun 2010 23:00:09 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1277868579 25386 80.91.229.12 (30 Jun 2010 03:29:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 30 Jun 2010 03:29:39 +0000 (UTC) To: 6538@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 30 05:29:38 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OTnzV-0005uB-IH for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Jun 2010 05:29:38 +0200 Original-Received: from localhost ([127.0.0.1]:36869 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTnzU-0001tX-S2 for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Jun 2010 23:29:36 -0400 Original-Received: from [140.186.70.92] (port=50711 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTnzL-0001rA-J3 for bug-gnu-emacs@gnu.org; Tue, 29 Jun 2010 23:29:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OTnzJ-0002wl-74 for bug-gnu-emacs@gnu.org; Tue, 29 Jun 2010 23:29:27 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40039) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTnzJ-0002wh-5b for bug-gnu-emacs@gnu.org; Tue, 29 Jun 2010 23:29:25 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OTnXq-0002FB-Jh; Tue, 29 Jun 2010 23:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Jun 2010 03:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6538 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: submit@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.12778668158612 (code B ref -1); Wed, 30 Jun 2010 03:01:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Jun 2010 03:00:15 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTnX4-0002Er-M0 for submit@debbugs.gnu.org; Tue, 29 Jun 2010 23:00:14 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTnX2-0002Ek-UF for submit@debbugs.gnu.org; Tue, 29 Jun 2010 23:00:13 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OTnWz-0000Hl-Bp; Tue, 29 Jun 2010 23:00:09 -0400 X-Spook: White Water Merlin Gazprom airframe MD5 Bruxelles global X-Ran: *RkAzR@zT$=g#Ita_`:{7O`T=Qmg@h]L^>Hy*w{ImRcxbvfJ=M"TT$ciG.V/h X-Hue: white X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 29 Jun 2010 23:01:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38125 Archived-At: Package: emacs Configuring Emacs 23.2 on Solaris 2.10 with a non-GNU cc, one gets generated Makefiles containing: CFLAGS=-g -O Configuring the current trunk, one gets CFLAGS= The cause appears to be the removal of C_DEBUG_SWITCH. It is possible other platforms are affected, I did not check (likewise with LIBS_DEBUG). The configure logic (faithfully inherited from cpp) is weird. Eg C_OPTIMIZE_SWITCH goes unused with non-GNU compilers.