From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: conservative stack scanning (was: Re: bug#13408: Emacs pretest 24.2.92 - compilation error on AIX 5.3 using gcc 4.7-2) Date: Fri, 11 Jan 2013 14:51:27 -0500 Message-ID: References: <50EFC75B.3000308@cs.ucla.edu> <83hamoulkj.fsf@gnu.org> <50F063DD.2040504@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1357933897 31703 80.91.229.3 (11 Jan 2013 19:51:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jan 2013 19:51:37 +0000 (UTC) Cc: gpion@lfdj.com, Eli Zaretskii , emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 11 20:51:54 2013 Return-path: Envelope-to: ged-emacs-devel@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 1Ttkdu-0007yn-H2 for ged-emacs-devel@m.gmane.org; Fri, 11 Jan 2013 20:51:54 +0100 Original-Received: from localhost ([::1]:51941 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ttkde-0001sg-Jm for ged-emacs-devel@m.gmane.org; Fri, 11 Jan 2013 14:51:38 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ttkdb-0001s3-AT for emacs-devel@gnu.org; Fri, 11 Jan 2013 14:51:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TtkdY-00057D-HM for emacs-devel@gnu.org; Fri, 11 Jan 2013 14:51:35 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:64004) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtkdU-00056d-RN; Fri, 11 Jan 2013 14:51:28 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtkGAG6Zu09MCpYP/2dsb2JhbABEDoFtshaBCIIVAQEEAVYjBQs/BwsUGA0kiBwFugmQRAOIQppxgViCMFc X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="212322258" Original-Received: from 76-10-150-15.dsl.teksavvy.com (HELO pastel.home) ([76.10.150.15]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 11 Jan 2013 14:51:27 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 3EB945943D; Fri, 11 Jan 2013 14:51:27 -0500 (EST) In-Reply-To: <50F063DD.2040504@cs.ucla.edu> (Paul Eggert's message of "Fri, 11 Jan 2013 11:11:25 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:156236 Archived-At: > No, GCC consistently refused to compile it. It's just that > this code is rarely compiled -- it's normally ifdeffed out, > so GCC doesn't see the problem. I suppose that on AIX the > code is not ifdeffed out, so that's why the bug was reported > for AIX. Ah, that's where the AIX-dependence comes from! Shouldn't we just enable conservative stack scanning for all architectures? AFAIK, the only systems where we don't use it are systems where we don't know whether we can use it, rather than systems where we know we can't use it. Stefan