Subject: Re: bug#6301: 23.2.50; GC may lose Lisp objects in the image cache

From: YAMAMOTO Mitsuharu <[email-masked]>
Date: Tue, 12 Oct 2010 09:20:38 +0900

>>>>> On Mon, 11 Oct 2010 19:21:25 +0200, Andreas Schwab <[email-masked]> said:

> YAMAMOTO Mitsuharu <[email-masked]> writes:
>> --- 4109,4125 ----
>> mark_maybe_object (obj)
>> Lisp_Object obj;
>> {
>> !   void *po;
>> !   struct mem_node *m;
>> ! 
>> !   switch (XTYPE (obj))
>> !     {
>> !     case_Lisp_Int:
>> !       return;
>> !     }

> aka. if (INTEGERP (obj)) return;

Indeed.  And it actually produces a better code on gcc 4.2.1 with -O2.

				     YAMAMOTO Mitsuharu
				[email-masked]