From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#24128: 25.1; Strange warning from byte compiler in gud.el and gdb-mi.el Date: Mon, 1 Aug 2016 23:48:59 -0400 Message-ID: References: <837fc0ntmw.fsf@gnu.org> <87wpk0w7ho.fsf@web.de> <831t27oq3n.fsf@gnu.org> <87vazj6edf.fsf@web.de> NNTP-Posting-Host: blaine Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1470109820 22508 195.159.176.226 (2 Aug 2016 03:50:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 2 Aug 2016 03:50:20 +0000 (UTC) Cc: 24128@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 02 05:50:16 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUQid-0005Ue-QT for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Aug 2016 05:50:15 +0200 Original-Received: from localhost ([::1]:53848 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUQia-00013x-EH for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Aug 2016 23:50:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUQiU-00012f-FT for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2016 23:50:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUQiQ-0005vs-9o for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2016 23:50:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUQiQ-0005vd-6U for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2016 23:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bUQiP-0003BC-W6 for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2016 23:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 Aug 2016 03:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24128 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24128-submit@debbugs.gnu.org id=B24128.147010974712157 (code B ref 24128); Tue, 02 Aug 2016 03:50:01 +0000 Original-Received: (at 24128) by debbugs.gnu.org; 2 Aug 2016 03:49:07 +0000 Original-Received: from localhost ([127.0.0.1]:53281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUQhX-0003A1-AB for submit@debbugs.gnu.org; Mon, 01 Aug 2016 23:49:07 -0400 Original-Received: from mail-oi0-f45.google.com ([209.85.218.45]:36506) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUQhV-00039V-NT for 24128@debbugs.gnu.org; Mon, 01 Aug 2016 23:49:06 -0400 Original-Received: by mail-oi0-f45.google.com with SMTP id w18so220123128oiw.3 for <24128@debbugs.gnu.org>; Mon, 01 Aug 2016 20:49:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=WH8ddW/6d3wm1Yqs0Xs5c6PZX4iI/35PUX61G0Oda4g=; b=OYet1kuBwqizopm1e0m1VFH/LHryRAch0KWGga2qNFiI1AnTt+8F3GfOtDieuhhuKt v6GvvRX2eURYmRuNtboZ4XoOAIJ13/DnI50PSHLCxdep83RZ7k6/gcIWjTHEQJVpxwFD WnroRrPL7Dsf5hwS7RYnAqFCFpdCI5Hyk5TEsjxd8r6SGLTWDZhrCPGoilkERWLNqsMo EOxHpYGhxfJv9TvWWVe8wGJRZJZm+tnLpoqQu4Zh3XVcGi1lY0PsxakMqN01wiUNLm5U NbejmDuw5kfvyaAKowWaun5LUHU/rJ2CZuMyL2EZCMoZA0KZiMIFghbD6xq2qh0BjvaP p/Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=WH8ddW/6d3wm1Yqs0Xs5c6PZX4iI/35PUX61G0Oda4g=; b=YUZKFcDqzuOMTJYIiOy1NY3d4KxAXzWPir97GkfFtqG5mAVhKMwa4RJXlYtgvhLBH8 ffxuy3wmkBxHfNAMlYMLN75UCgjd36Up/KfUQ87Qf6VzbU2yMq+qft8Z6HOfXavCmwSF ww5zyFfP+7b9TUNg1sg8xSRP5Xyjbd2R7tlY0/hIRxNpznnVjT4ksEiTUtHh56AJ4FCU xCoT1a9QHRkIbcl7L5YcuEDVkMOBojY23EmDcJCdxJ/TMFghpH3G0Ey/yfQkkEZCJikD hdISr+Nac7lGch8lrOQlC6YFXBcHO5/TBZE4r016egeNtav73jx/BOoNrN+a6XsollJM 3u8g== X-Gm-Message-State: AEkoousQseX891h8NveuvFsYzq+cGmyXuF77JUw7poDWe0FBU/tMWNZUHn1tfK8tT0FOlufrmzVzZEKDeyhlvw== X-Received: by 10.157.61.245 with SMTP id l108mr4661390otc.92.1470109740333; Mon, 01 Aug 2016 20:49:00 -0700 (PDT) Original-Received: by 10.157.7.161 with HTTP; Mon, 1 Aug 2016 20:48:59 -0700 (PDT) In-Reply-To: <87vazj6edf.fsf@web.de> X-Google-Sender-Auth: KMriTc-Irb2-qqrYowzlhZKyfqg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:121773 Archived-At: On Mon, Aug 1, 2016 at 11:25 PM, Michael Heerdegen wrote: > Eli Zaretskii writes: > >> We should make the reported line correct, then. Right? > > Seems the reported line number names the start of the according > top-level defun. I wonder whether the compiler code knows at all to > which line the reported warning exactly refers (I don't know, but > somewhat doubt it). Maybe someone else can help more. > It's a fairly long-standing bug, see http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2681 and merged bugs.