Re: [PATCH v2]: handle size_t /= ptr size in tree-ssa-strlen.c

2012-05-15 Thread Tristan Gingold
On May 15, 2012, at 11:13 AM, Richard Guenther wrote: > On Tue, May 15, 2012 at 10:55 AM, Tristan Gingold wrote: >> >> On May 4, 2012, at 2:34 PM, Richard Guenther wrote: >> >>> On Fri, May 4, 2012 at 2:27 PM, Tristan Gingold wrote: Hi, get_string_length assumes that precision

Re: [PATCH v2]: handle size_t /= ptr size in tree-ssa-strlen.c

2012-05-15 Thread Richard Guenther
On Tue, May 15, 2012 at 10:55 AM, Tristan Gingold wrote: > > On May 4, 2012, at 2:34 PM, Richard Guenther wrote: > >> On Fri, May 4, 2012 at 2:27 PM, Tristan Gingold wrote: >>> Hi, >>> >>> get_string_length assumes that precision of size_t is the same as precision >>> of a pointer, which isn't a

[PATCH v2]: handle size_t /= ptr size in tree-ssa-strlen.c

2012-05-15 Thread Tristan Gingold
On May 4, 2012, at 2:34 PM, Richard Guenther wrote: > On Fri, May 4, 2012 at 2:27 PM, Tristan Gingold wrote: >> Hi, >> >> get_string_length assumes that precision of size_t is the same as precision >> of a pointer, which isn't always true at least on VMS. >> This patch simply add a conversion