GNU bug report logs - #19417
let, assq-set optimization gone wrong?

Previous Next

Package: guile;

Reported by: Matt Wette <mwette <at> alumni.caltech.edu>

Date: Sat, 20 Dec 2014 05:53:02 UTC

Severity: normal

Tags: notabug

Merged with 19415

Done: Mark H Weaver <mhw <at> netris.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mark H Weaver <mhw <at> netris.org>
To: Matt Wette <mwette <at> alumni.caltech.edu>
Cc: 19417 <at> debbugs.gnu.org, request <at> debbugs.gnu.org
Subject: bug#19417: oops - may not be a bug
Date: Mon, 22 Dec 2014 02:02:44 -0500
tags 19417 + notabug
close 19417
thanks

Matt Wette <mwette <at> alumni.caltech.edu> writes:
> I have been told this has to do with '((a . 1) (b . 1)) being a
> literal.  I'm guessing guile caches this and it get then mutated.

Right.  As explained on guile-user, mutating literal data is not
permitted and leads to unspecified behavior.  Our compiler aggressively
shares data between literals in the same compilation unit.

     Mark




This bug report was last modified 10 years and 150 days ago.

Previous Next


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