GNU bug report logs - #48098
let/ec compilation bug

Previous Next

Package: guile;

Reported by: Stefan Israelsson Tampe <stefan.itampe <at> gmail.com>

Date: Thu, 29 Apr 2021 10:50:02 UTC

Severity: normal

Done: Andy Wingo <wingo <at> igalia.com>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 48098-done <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> igalia.com>
To: Stefan Israelsson Tampe <stefan.itampe <at> gmail.com>
Cc: 48098-done <at> debbugs.gnu.org
Subject: Re: bug#48098: let/ec compilation bug
Date: Sun, 02 May 2021 15:43:41 +0200
Thanks for the report; fixed!

On Thu 29 Apr 2021 12:48, Stefan Israelsson Tampe <stefan.itampe <at> gmail.com> writes:

> Here is an interesting test case that shows that fi we define
> (define-syntax-rule (letec-m f) (let/ec c (f c)))
> (define                    (letec-f f) (let/ec c (f c)))
>
> we can get two different behaviors with letec-m compiles wrongly. Obviously a bug!
>
> This is important in casy you would like to make a loop macro effectively with a continue directive.




This bug report was last modified 4 years and 20 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.