changed definition of ref in order to work around a bug in gcc-4.2.2
at -O3 that was computing incorrect addresses for ref(x, -n).
This commit is contained in:
		
							parent
							
								
									230b5186d6
								
							
						
					
					
						commit
						5e1066170e
					
				|  | @ -1 +1 @@ | |||
| 1749 | ||||
| 1750 | ||||
|  |  | |||
|  | @ -249,7 +249,7 @@ long long extract_num_longlong(ikptr x); | |||
| #define is_fixnum(x) ((((unsigned long)(x)) & fx_mask) == 0) | ||||
| 
 | ||||
| #define ref(x,n) \ | ||||
|   (((ikptr*)(((char*)(long int)(x)) + ((long int)(n))))[0]) | ||||
|   (((ikptr*)(((long int)(x)) + ((long int)(n))))[0]) | ||||
| 
 | ||||
| #define tagof(x) (((int)(x)) & 7) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Abdulaziz Ghuloum
						Abdulaziz Ghuloum