On Mar 30, 2012, at 7:44 PM, Richard Henderson wrote:
> On 03/20/2012 05:41 AM, Tristan Gingold wrote:
>> 2012-03-20 Tristan Gingold
>>
>> * ggc-page.c (PAGE_L1_SIZE, PAGE_L2_SIZE, LOOKUP_L1, LOOKUP_L2)
>> (ggc_allocated_p, lookup_page_table_entry, set_page_table_entry)
>> (all
On 03/20/2012 05:41 AM, Tristan Gingold wrote:
> 2012-03-20 Tristan Gingold
>
> * ggc-page.c (PAGE_L1_SIZE, PAGE_L2_SIZE, LOOKUP_L1, LOOKUP_L2)
> (ggc_allocated_p, lookup_page_table_entry, set_page_table_entry)
> (alloc_page, init_ggc, clear_marks, struct ggc_pch_data)
>
Hi,
ggc-page.c uses size_t to cast pointers to an integer type. Unfortunately,
this isn't portable for systems (such as … VMS) where size_t precision is less
than pointers precision.
Fortunately, thanks to configure, uintptr_t type is always present, so this
path simply replaces size_t by uin