From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: master bec5cfe: Improve integer range checking Date: Sun, 05 Apr 2020 12:35:22 -0400 Message-ID: <1dh7xx7uwl.fsf@fencepost.gnu.org> References: <20200405082442.20051.45988@vcs0.savannah.gnu.org> <20200405082444.4341E20BC2@vcs0.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="89342"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: Paul Eggert To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 05 18:36:04 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jL8Ff-000N6Q-PP for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Apr 2020 18:36:03 +0200 Original-Received: from localhost ([::1]:49998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jL8Fe-00035i-U8 for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Apr 2020 12:36:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45686) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jL8F2-0002Ve-Nj for emacs-devel@gnu.org; Sun, 05 Apr 2020 12:35:25 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39770) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jL8F2-0006JB-9c; Sun, 05 Apr 2020 12:35:24 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1jL8F0-0003I7-LQ; Sun, 05 Apr 2020 12:35:22 -0400 X-Spook: Juarez CID beanpole China Matamoros FAA Agriculture Meth X-Ran: \}0Q?(9a`1tm.[y/RKg;6/hSraLtjo2;=&IciVE&;Mhq=y/}Mlc~AFxk~~RT6?oPMSJ(a` X-Hue: green X-Attribution: GM In-Reply-To: <20200405082444.4341E20BC2@vcs0.savannah.gnu.org> (Paul Eggert's message of "Sun, 5 Apr 2020 04:24:43 -0400 (EDT)") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:246468 Archived-At: > branch: master > commit bec5cfee7660f6e283efbd30a693a6f8e9ea46b8 Hi, This fails to build for me with --enable-check-lisp-object-type and gcc 8.3.1: bignum.c: In function 'check_int_nonnegative': bignum.c:468:23: error: used struct type value where scalar is required return Fnatnump (x) ? check_integer_range (x, 0, INT_MAX) : 0; ^ bignum.c:469:1: warning: control reaches end of non-void function