GNU bug report logs - #12299
24.1; no byte compiler warning for inline function call with too few arguments

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: "Roland Winkler" <winkler@HIDDEN>; dated Wed, 29 Aug 2012 02:16:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 29 Aug 2012 02:15:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 28 22:15:18 2012
Received: from localhost ([127.0.0.1]:55138 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1T6XoL-0001OG-CV
	for submit <at> debbugs.gnu.org; Tue, 28 Aug 2012 22:15:17 -0400
Received: from eggs.gnu.org ([208.118.235.92]:46946)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <winkler@HIDDEN>) id 1T6XoJ-0001O9-64
	for submit <at> debbugs.gnu.org; Tue, 28 Aug 2012 22:15:15 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <winkler@HIDDEN>) id 1T6XnI-0001VC-Nu
	for submit <at> debbugs.gnu.org; Tue, 28 Aug 2012 22:14:13 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI,
	RP_MATCHES_RCVD autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:50075)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <winkler@HIDDEN>) id 1T6XnI-0001V8-Ks
	for submit <at> debbugs.gnu.org; Tue, 28 Aug 2012 22:14:12 -0400
Received: from eggs.gnu.org ([208.118.235.92]:56438)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <winkler@HIDDEN>) id 1T6XnH-0003ix-Sm
	for bug-gnu-emacs@HIDDEN; Tue, 28 Aug 2012 22:14:12 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <winkler@HIDDEN>) id 1T6XnG-0001Ul-Kn
	for bug-gnu-emacs@HIDDEN; Tue, 28 Aug 2012 22:14:11 -0400
Received: from fencepost.gnu.org ([208.118.235.10]:47254)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <winkler@HIDDEN>) id 1T6XnG-0001Uh-Hh
	for bug-gnu-emacs@HIDDEN; Tue, 28 Aug 2012 22:14:10 -0400
Received: from adsl-68-77-23-91.dsl.emhril.ameritech.net ([68.77.23.91]:38441
	helo=regnitz)
	by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <winkler@HIDDEN>) id 1T6XnF-0007mi-HY
	for bug-gnu-emacs@HIDDEN; Tue, 28 Aug 2012 22:14:10 -0400
Date: Tue, 28 Aug 2012 21:14:06 -0500
Message-Id: <87ligyqwb5.fsf@HIDDEN>
From: "Roland Winkler" <winkler@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.1; no byte compiler warning for inline function call with too few
	arguments
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 208.118.235.17
X-Spam-Score: -7.1 (-------)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -7.1 (-------)

cat > foo.el << EOF
(defsubst foo (a b))
(foo t)
EOF

Byte-compile the above file. The Emacs 24.1 byte compiler does not
complain that the inline function foo is called with too few arguments.
Emacs 23.1 complains

  foo.el:2:1:Warning: attempt to open-code `anonymous lambda' with
    too few arguments

till it aborts with

  foo.el:2:1:Error: Variable binding depth exceeds max-specpdl-size

which I do not find very appropriate either.


In GNU Emacs 24.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1)
 of 2012-06-10 on regnitz
Windowing system distributor `The X.Org Foundation', version 11.0.10706000




Acknowledgement sent to "Roland Winkler" <winkler@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#12299; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.