GNU bug report logs - #48368
eq? problem at -O2 since Guile 3.0.5

Previous Next

Package: guile;

Reported by: Marius Bakke <marius <at> gnu.org>

Date: Tue, 11 May 2021 20:50:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


Message #14 received at 48368 <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> igalia.com>
To: 48368 <at> debbugs.gnu.org
Subject: reduced test case
Date: Mon, 24 May 2021 10:14:54 +0200
Test case:

  (define (f a b)
    (let ((c (if (and (eq? a 'foo)
                      (eq? b 'bar))
                 'ERROR
                 a)))
      (pk c)))

If you run as (f 'not-foo 'bar), you get 'ERROR.  Yeeps!




This bug report was last modified 3 years and 359 days ago.

Previous Next


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