From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: [Patch] hard-widen-limits [was Re: Syntax tables for multiple modes [was: bug#22983: syntax-ppss returns wrong result.]] Date: Sun, 24 Apr 2016 18:19:34 +0200 Message-ID: <87h9erdlnt.fsf@linux-m68k.org> References: <20160311151512.GD2888@acm.fritz.box> <87lh5bd4ib.fsf@gmail.com> <87egb3ryjc.fsf@gmail.com> <877fgusum3.fsf@gmail.com> <8737risu8d.fsf@gmail.com> <87mvpqqxy7.fsf@gmail.com> <877fguqp8x.fsf@gmail.com> <87bn65pgk2.fsf@gmail.com> <87y499nz79.fsf@gmail.com> <87zithez9b.fsf@gmail.com> <940ff677-80dc-848b-5626-23c7ac1591df@yandex.ru> <87k2jneaio.fsf@gmail.com> <87mvoj4gai.fsf@Rainer.invalid> <87a8kjdyvx.fsf@gmail.com> <87lh43dty8.fsf@linux-m68k.org> <874mardm1u.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1461514787 4351 80.91.229.3 (24 Apr 2016 16:19:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Apr 2016 16:19:47 +0000 (UTC) Cc: Achim Gratz , emacs-devel@gnu.org To: Vitalie Spinu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 24 18:19:47 2016 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 1auMl8-000544-Mf for ged-emacs-devel@m.gmane.org; Sun, 24 Apr 2016 18:19:46 +0200 Original-Received: from localhost ([::1]:55892 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auMl7-0001PY-Sg for ged-emacs-devel@m.gmane.org; Sun, 24 Apr 2016 12:19:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auMl3-0001N0-Sq for emacs-devel@gnu.org; Sun, 24 Apr 2016 12:19:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1auMkz-000393-Q9 for emacs-devel@gnu.org; Sun, 24 Apr 2016 12:19:41 -0400 Original-Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:49559) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auMkz-00038x-JK for emacs-devel@gnu.org; Sun, 24 Apr 2016 12:19:37 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3qtF1N1Dz8z3hjdb; Sun, 24 Apr 2016 18:19:36 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3qtF1N0nJkzvk8d; Sun, 24 Apr 2016 18:19:36 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id IGp8G9_neyIF; Sun, 24 Apr 2016 18:19:35 +0200 (CEST) X-Auth-Info: rb1hi8Lw1oXFALGw+Bwb5jnBcefz8awK729OCI7UJGomh78gEq04XYAPB2JR2JGp Original-Received: from igel.home (ppp-88-217-26-122.dynamic.mnet-online.de [88.217.26.122]) by mail.mnet-online.de (Postfix) with ESMTPA; Sun, 24 Apr 2016 18:19:35 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id D68652C00AB; Sun, 24 Apr 2016 18:19:34 +0200 (CEST) X-Yow: .. does your DRESSING ROOM have enough ASPARAGUS? In-Reply-To: <874mardm1u.fsf@gmail.com> (Vitalie Spinu's message of "Sun, 24 Apr 2016 18:11:09 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 2001:a60:0:28:0:1:25:1 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:203263 Archived-At: Vitalie Spinu writes: >>> On Sun, Apr 24 2016 15:20, Andreas Schwab wrote: > >> Vitalie Spinu writes: > >>> @@ -1692,7 +1692,7 @@ exec_byte_code (Lisp_Object bytestr, Lisp_Object vector, Lisp_Object maxdepth, >>> >>> CASE (Bwiden): >>> BEFORE_POTENTIAL_GC (); >>> - PUSH (Fwiden ()); >>> + TOP = Fwiden (TOP); > >> You are clobbering the stack here. Instead of pushing a new value you >> are overwriting an unrelated value on the stack. > > I don't think so. I pick an argument form the stack and put the return value in > it. This is what all one-arg functions do in bytecode.c. But nobody is pushing that argument. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."