From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#12299: 24.1; no byte compiler warning for inline function call with too few arguments [PATCH] Date: Fri, 23 Jul 2021 12:21:28 -0400 Message-ID: References: <743DF3D0-DA0F-49D4-A780-02C698AE8EFB@acm.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16143"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 12299@debbugs.gnu.org, Lars Ingebrigtsen , Roland Winkler To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 23 18:26:07 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m6xzz-0003wV-7Y for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Jul 2021 18:26:07 +0200 Original-Received: from localhost ([::1]:56814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m6xzy-0000L9-8n for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Jul 2021 12:26:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49482) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m6xw3-0000Vh-QJ for bug-gnu-emacs@gnu.org; Fri, 23 Jul 2021 12:22:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:32883) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m6xw2-0000t1-EF for bug-gnu-emacs@gnu.org; Fri, 23 Jul 2021 12:22:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m6xw2-0007q1-Aw for bug-gnu-emacs@gnu.org; Fri, 23 Jul 2021 12:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Jul 2021 16:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12299 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 12299-submit@debbugs.gnu.org id=B12299.162705730630102 (code B ref 12299); Fri, 23 Jul 2021 16:22:02 +0000 Original-Received: (at 12299) by debbugs.gnu.org; 23 Jul 2021 16:21:46 +0000 Original-Received: from localhost ([127.0.0.1]:44427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m6xvm-0007pS-88 for submit@debbugs.gnu.org; Fri, 23 Jul 2021 12:21:46 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:20408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m6xvj-0007pE-Sx for 12299@debbugs.gnu.org; Fri, 23 Jul 2021 12:21:44 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 6761180966; Fri, 23 Jul 2021 12:21:38 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id BCA6B808FB; Fri, 23 Jul 2021 12:21:29 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1627057289; bh=U9E+AQ3q+taod4EOcuDmlOsX7VWIiROWQJWb9i9Pdew=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=V5p7yfvpPF7elKznRBRIyEiBoIVnaWgyd41EM3v/4RNl7qtzUSndN+9DKjwu/Mnak U50cysrWsVSNaNHot1e40ddHFswiYwuXRktnfzErhPC32XF0oOlASOcxCyYqvT/OSj E1tgYJ4ToJ+t9LUAm4e3EnI5J8g2P6PuEgoKf+2s7QUpWlyZs6wcnNzg6FnVNlx+Hb dKV8MRWhpeDlMnLYM2Kovp910CjHOPos6lDtKWVj8IQvB9P73vnnngSjkNtvpR9Xc1 1ZPSMEALFeQXZBED/kTmCV5ZXG+UsYhxifoW03c1sDDrc4/GGggtH3wmZE5U7+a1BH lJtWKftFR6vjA== Original-Received: from alfajor (unknown [216.154.29.138]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 82066120317; Fri, 23 Jul 2021 12:21:29 -0400 (EDT) In-Reply-To: ("Mattias =?UTF-8?Q?Engdeg=C3=A5rd?="'s message of "Fri, 23 Jul 2021 17:52:41 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:210598 Archived-At: >> IOW I think we want that `byte-compile--check-arity-bytecode` call to be >> elsewhere (in the code that actually compiles the code constructed by >> `(,fn ,@(cdr form))). > Tried that first, but then we no longer have the function name so the use= r sees > Warning: =E2=80=B9bytecode gibberish=E2=80=BA called with 1 argument but= requires 2 Ah, right, makes sense, thanks, Stefan