Subject: Source locations are broken when byte-compiling
From: Jean Abou Samra <[email-masked]>
To: [email-masked]
Date: Mon, 11 Jul 2022 09:21:05 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

In Guile 3.0.8, compilation warnings when byte-compiling print 
<unknown-location>.

$ ./libguile/guile test.scm
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /.../test.scm
;;; <unknown-location>: warning: possibly unbound variable 
`unbound-variable'
;;; compiled /home/jean/.cache/guile/ccache/3.0-LE-8-4.6/.../test.scm.go
Backtrace:
[snipped]

This was OK in 3.0.7.

This problem was originally reported at

https://lists.gnu.org/archive/html/guile-devel/2022-03/msg00017.html