Re: [PATCH] Fix tree-ssa-strlen.c ICE (PR tree-optimization/71707)

2016-06-30 Thread Richard Biener
On June 30, 2016 7:38:05 PM GMT+02:00, Jakub Jelinek wrote: >Hi! > >I thought for ADDR_EXPRs we couldn't reach this, but we actually can, >when >there is an SSA_NAME with POINTER_PLUS_EXPR of ADDR_EXPR and constant. > >The following patch handles it. > >Bootstrapped/regtested on x86_64-linux and i

[PATCH] Fix tree-ssa-strlen.c ICE (PR tree-optimization/71707)

2016-06-30 Thread Jakub Jelinek
Hi! I thought for ADDR_EXPRs we couldn't reach this, but we actually can, when there is an SSA_NAME with POINTER_PLUS_EXPR of ADDR_EXPR and constant. The following patch handles it. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2016-06-30 Jakub Jelinek PR tree