Re: [PATCH] tree-ssa-strlen improvements (PR tree-optimization/71625)

2016-06-29 Thread Christophe Lyon
On 29 June 2016 at 15:20, Jakub Jelinek wrote: > On Wed, Jun 29, 2016 at 03:11:07PM +0200, Christophe Lyon wrote: >> This causes GCC builds failures on arm-linux* targets, while building glibc: >> >> ns_print.c: In function 'ns_sprintrrf': >> ns_print.c:94:1: internal compiler error: in get_stridx

Re: [PATCH] tree-ssa-strlen improvements (PR tree-optimization/71625)

2016-06-29 Thread Jakub Jelinek
On Wed, Jun 29, 2016 at 03:11:07PM +0200, Christophe Lyon wrote: > This causes GCC builds failures on arm-linux* targets, while building glibc: > > ns_print.c: In function 'ns_sprintrrf': > ns_print.c:94:1: internal compiler error: in get_stridx_plus_constant, > at tree-ssa-strlen.c:680 > ns_spri

Re: [PATCH] tree-ssa-strlen improvements (PR tree-optimization/71625)

2016-06-29 Thread Christophe Lyon
On 28 June 2016 at 16:23, Jakub Jelinek wrote: > Hi! > > This is just first small step towards this PR. > It brings the ADDR_EXPR of DECL_P bases roughly on the same level as > SSA_NAMEs pointers - so get_stridx_plus_constant works for them, and > more importantly, before this patch there was a ve

Re: [PATCH] tree-ssa-strlen improvements (PR tree-optimization/71625)

2016-06-29 Thread Richard Biener
On Tue, 28 Jun 2016, Jakub Jelinek wrote: > Hi! > > This is just first small step towards this PR. > It brings the ADDR_EXPR of DECL_P bases roughly on the same level as > SSA_NAMEs pointers - so get_stridx_plus_constant works for them, and > more importantly, before this patch there was a very s