From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#73725: Master: Wrong position for byte compiler warning message. Date: Wed, 23 Oct 2024 19:49:13 +0200 Message-ID: <26A5812D-9C23-4DB8-8E8D-BD958730AF6C@gmail.com> References: <8A05D4D2-C77B-4089-B82C-4DB3E88F1276@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30868"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73746@debbugs.gnu.org, Stefan Monnier , 73725@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 23 19:50:39 2024 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 1t3fVG-0007sq-Ao for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 23 Oct 2024 19:50:38 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t3fVC-0007Wd-Tr; Wed, 23 Oct 2024 13:50:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t3fVB-0007W6-Dd for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2024 13:50:33 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t3fVA-0002MW-Uy for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2024 13:50:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:Date:In-Reply-To:From:Mime-Version:To:Subject; bh=tt3b3f5kDlzn/rEPo8oE3aS3s0wbtKf4MkmYyBdnXvg=; b=iFNATe+BGk4jYEjhLhzCNOTNllMyIzPr07zwMLPJdMaI9EeA3oxyru9iZSAcKQ3ckElOEeHqv2WOCU9WUOSxUY11JE063FSkAWkY0SrrAH4QIn7jCtKiuwL1swULAhQ36mnvuOcYzhKIOrDaYLysupUY/aWTetf27dIjS63O4qerY1tI3uRe/uNDsQKdqOrjupFn8Z9/n8m2jeQ9QsMLNmwpHBD7GaCRHIiItG9vIGpVgU/PxCAzjmTMOQtJh/JA/4xoz+TsjV/mc2ROYjQC0r+6fUkf4tT1vyl60GYbZ2H7n/7S/NktmuRT7u2+Ce3lLhvJ8BZWtvRfIfjgXA1Vyw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t3fVe-0007ts-DW for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2024 13:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Oct 2024 17:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73725 X-GNU-PR-Package: emacs Original-Received: via spool by 73725-submit@debbugs.gnu.org id=B73725.172970584830333 (code B ref 73725); Wed, 23 Oct 2024 17:51:02 +0000 Original-Received: (at 73725) by debbugs.gnu.org; 23 Oct 2024 17:50:48 +0000 Original-Received: from localhost ([127.0.0.1]:60711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3fVP-0007t9-R2 for submit@debbugs.gnu.org; Wed, 23 Oct 2024 13:50:48 -0400 Original-Received: from mail-lf1-f52.google.com ([209.85.167.52]:53474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3fVN-0007sw-KH; Wed, 23 Oct 2024 13:50:46 -0400 Original-Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-53b13ea6b78so53693e87.2; Wed, 23 Oct 2024 10:50:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729705755; x=1730310555; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=tt3b3f5kDlzn/rEPo8oE3aS3s0wbtKf4MkmYyBdnXvg=; b=mKQVqtlJjBtL3LCcPpNNEVidLUvz5I4fFXF+uzuW16u8gVhJGapolvxd9iCu8uUAKG OVQhAry6d5Dgi6qkcuH0xZvQNmOWO3O3VsQHgZVd0azYKFKnha7vumm9ETDs5h2h3btz CSZrD7ymjmXmgM+11qKI1bMOWz23Q7VKWeIR3xIyr3CqmmYPRT+SqvDz/BSwbiEbWfCU yd6zmXajRCjmdIr3hkGjk/YkI/jPMph9PNRsVbftbra3T5/oxX7QsQ1NmsOUU82l6dSo Geo2KmXbXNvQG6fg7s96+HTy9WzzGsdNIdcRPejhE0Wwx9tzh5MgiaIsVH3MjLtDLAHH GMHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729705755; x=1730310555; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=tt3b3f5kDlzn/rEPo8oE3aS3s0wbtKf4MkmYyBdnXvg=; b=jj5AJ5sIOYg3bDzb7w7lt8vK02NBDWDWCEYCMRdTZPKIjyb4Mx6k/o/I/GXOS7G7qT HgC+Y0whv8qtsKN7gnWILOySeiGg/1P8mcosBLBGojuYEqqshnQDnv9FIIu2P/dHOZZU wULogsbO81VaUY+90IhOo//c14NNatTD/kv5Yor8B81EW21CtWeSP4y3I5WHAZ4sZKap C9X1AV7ZYnI3GbXYO7vk4NFLY/RpworkBsS0hwPehT2uaBaR+TH7b760iXE/YCQ7O6Hc dhf9+4efJ1tJdMBEyfYck4aoON1AE83bkCeLDTFxZylhzdpHyDst+/lbaug0RaFqaJ1N 0XyA== X-Forwarded-Encrypted: i=1; AJvYcCVoeIvP4kjOBMv0k3jwghdJ6zj19TvhizgupNlNkxLhD1XZos4z/dxOR+6z0RNVZM5G1eNhQ64=@debbugs.gnu.org, AJvYcCX3nNBys5KHzHsnWSJq3ZAByOqsUgPsO5DP+msnjrHyMM/CJ/Qj/dW2WDoLbQGYNj6sFDGmvA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwyYF2oF/SgLMXwmQcqaT64e1uC9z22YlwXaqYhW7QQIhKe/faS RQuZmnUEUT8VC/kFpmB6IOHiB1lTxbRkwZfpsz47OYJGdQIB7Nc8 X-Google-Smtp-Source: AGHT+IHh+yz2FLF+YV+2haIqzzFDaHHAtdUB5artIMD1cxZQ2WxmTeuJ/BSA5kuD+APTiqkLGAETsg== X-Received: by 2002:a05:6512:334d:b0:53b:1fea:baa9 with SMTP id 2adb3069b0e04-53b1feac190mr1508554e87.8.1729705754753; Wed, 23 Oct 2024 10:49:14 -0700 (PDT) Original-Received: from smtpclient.apple (c188-150-183-180.bredband.tele2.se. [188.150.183.180]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53a223e5365sm1129240e87.48.2024.10.23.10.49.14 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Oct 2024 10:49:14 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.15) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:294152 Archived-At: 23 okt. 2024 kl. 13.22 skrev Alan Mackenzie : > Hello, Stefan and Mattias. >=20 > I've incorporated your (Stafan's) suggestions from yesterday into the > code. See the patch below. Thank you, I'll try to get some time to look at it -- a couple of quick = notes: - Isn't the code mutating the return value of a macro? I may be mistaken = but surely it could be a constant. - The unknown free variable warning which was the motivation of this = issue should really be moved from codegen to the frontend (ie, cconv at = present). Unless someone can think of a reason why it couldn't (I = can't). Sorry if these were mentioned in your discussion; I haven't read it = through yet.