Re: [patch] Robustify get_ref_base_and_extent and friend

2012-05-31 Thread Richard Guenther
On Wed, May 30, 2012 at 7:14 PM, Eric Botcazou wrote: > Hi, > > we're having issues with get_ref_base_and_extent overflowing the offset and > thus returning bogus big negative values on 32-bit hosts.  The attached patch > converts it to double ints like get_inner_reference.  It also contains a sma

[patch] Robustify get_ref_base_and_extent and friend

2012-05-30 Thread Eric Botcazou
Hi, we're having issues with get_ref_base_and_extent overflowing the offset and thus returning bogus big negative values on 32-bit hosts. The attached patch converts it to double ints like get_inner_reference. It also contains a small fix for build_user_friendly_ref_for_offset that can stop i