GNU bug report logs - #15880
Compute C declarations for DEFSYMs automatically.

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Wed, 13 Nov 2013 00:35:02 UTC

Severity: wishlist

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 15880 <at> debbugs.gnu.org
Subject: bug#15880: Compute C declarations for DEFSYMs automatically.
Date: Mon, 05 Jan 2015 09:25:25 -0800
[Message part 1 (text/plain, inline)]
On 01/05/2015 08:51 AM, Stefan Monnier wrote:
> For the USE_LSB_TAG case,
> that's not a problem, but for the case where we use the MSB for the tag,
> a negative number will not have the expected 000 in the MSB.

Thanks, good catch.  This is a problem on !USE_LSB_TAG platforms where 
heap memory lives below statically-allocated memory.  That should be 
rare (I don't know of such a platform offhand), but for now the simplest 
fix is to avoid this optimization on !USE_LSB_TAG platforms.  Revised 
patches attached, updated to match the latest master.
[0001-Compute-C-decls-for-DEFSYMs-automatically.patch (text/x-patch, attachment)]
[0002-Use-0-for-Qnil.patch (text/x-patch, attachment)]

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

Previous Next


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