From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Nonsensical byte compiler warning. Date: Wed, 04 Apr 2007 08:15:49 +0200 Message-ID: <861wj04qcq.fsf@lola.quinscape.zz> References: <85ps6okoe5.fsf@lola.goethe.zz> <87lkhcj791.fsf@stupidchicken.com> <87tzvwvj6c.fsf@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1175667379 25617 80.91.229.12 (4 Apr 2007 06:16:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 Apr 2007 06:16:19 +0000 (UTC) Cc: acm@muc.de, Chong Yidong , rms@gnu.org, emacs-devel@gnu.org To: Markus Triska Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 04 08:16:16 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HYyn1-0007Fs-Nn for ged-emacs-devel@m.gmane.org; Wed, 04 Apr 2007 08:16:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HYyqE-000335-FQ for ged-emacs-devel@m.gmane.org; Wed, 04 Apr 2007 02:19:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HYyqB-00032y-9e for emacs-devel@gnu.org; Wed, 04 Apr 2007 02:19:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HYyq8-00032k-Ex for emacs-devel@gnu.org; Wed, 04 Apr 2007 02:19:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HYyq8-00032V-7Y for emacs-devel@gnu.org; Wed, 04 Apr 2007 02:19:28 -0400 Original-Received: from pc3.berlin.powerweb.de ([62.67.228.11]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HYyms-0008M6-9j for emacs-devel@gnu.org; Wed, 04 Apr 2007 02:16:07 -0400 Original-Received: from quinscape.de (pd95b0fdb.dip0.t-ipconnect.de [217.91.15.219]) by pc3.berlin.powerweb.de (8.9.3p3/8.9.3) with ESMTP id IAA10654 for ; Wed, 4 Apr 2007 08:15:53 +0200 X-Delivered-To: Original-Received: (qmail 32112 invoked from network); 4 Apr 2007 06:15:57 -0000 Original-Received: from unknown (HELO lola.quinscape.zz) ([10.0.3.43]) (envelope-sender ) by ns.quinscape.de (qmail-ldap-1.03) with SMTP for ; 4 Apr 2007 06:15:57 -0000 Original-Received: by lola.quinscape.zz (Postfix, from userid 1001) id E5297C18DE; Wed, 4 Apr 2007 08:15:49 +0200 (CEST) In-Reply-To: <87tzvwvj6c.fsf@gmx.at> (Markus Triska's message of "Wed\, 04 Apr 2007 06\:48\:43 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:69036 Archived-At: Markus Triska writes: > Richard Stallman writes: > >> The warning is correct, but the location in it is wrong. >> That is a compiler bug. Would someone please debug it? > > The location is also accurate: It's up to the caller to use return > values of functions known to be side-effect-free. c-end-of-defun > doesn't (meaningfully), and that's where the message points to. It points to c-end-of-defun, but the line number and described called function are nonsensical. -- David Kastrup