bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15880: Compute C declarations for DEFSYMs automatically.


From: Paul Eggert
Subject: bug#15880: Compute C declarations for DEFSYMs automatically.
Date: Mon, 05 Jan 2015 09:25:25 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

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.

Attachment: 0001-Compute-C-decls-for-DEFSYMs-automatically.patch
Description: Text Data

Attachment: 0002-Use-0-for-Qnil.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]