Raymond Toy pushed to branch rtoy-fix-40-map-heap-higher at cmucl / cmucl

Commits:

2 changed files:

Changes:

  • src/lisp/Linux-os.c
    ... ... @@ -385,8 +385,8 @@ valid_addr(os_vm_address_t addr)
    385 385
     	|| in_range_p(addr, STATIC_SPACE_START, static_space_size)
    
    386 386
     	|| in_range_p(addr, DYNAMIC_0_SPACE_START, dynamic_space_size)
    
    387 387
     	|| in_range_p(addr, DYNAMIC_1_SPACE_START, dynamic_space_size)
    
    388
    -	|| in_range_p(addr, control_stack, control_stack_size)
    
    389
    -	|| in_range_p(addr, binding_stack, binding_stack_size))
    
    388
    +	|| in_range_p(addr, (lispobj) control_stack, control_stack_size)
    
    389
    +	|| in_range_p(addr, (lispobj) binding_stack, binding_stack_size))
    
    390 390
     	return TRUE;
    
    391 391
         return FALSE;
    
    392 392
     }
    

  • src/lisp/k_rem_pio2.c
    ... ... @@ -168,7 +168,8 @@ int __kernel_rem_pio2(double *x, double *y, int e0, int nx, int prec, const int
    168 168
     
    
    169 169
         /* compute q[0],q[1],...q[jk] */
    
    170 170
     	for (i=0;i<=jk;i++) {
    
    171
    -	    for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j]; q[i] = fw;
    
    171
    +	    for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j];
    
    172
    +            q[i] = fw;
    
    172 173
     	}
    
    173 174
     
    
    174 175
     	jz = jk;