[PATCH] Fix tree-ssa-strlen ICE introduced by r211956 (PR tree-optimization/61773)

2014-11-20 Thread Jakub Jelinek
Hi! Before the r211956 changes, the only places that set si-stmt were required to check that stpcpy has been declared (with the right prototype) to signal the strlen pass that it can use stpcpy for optimization. But r211956 sets si-stmt also for malloca call, which isn't in any way related to

Re: [PATCH] Fix tree-ssa-strlen ICE introduced by r211956 (PR tree-optimization/61773)

2014-11-20 Thread Richard Biener
On November 20, 2014 7:16:04 PM CET, Jakub Jelinek ja...@redhat.com wrote: Hi! Before the r211956 changes, the only places that set si-stmt were required to check that stpcpy has been declared (with the right prototype) to signal the strlen pass that it can use stpcpy for optimization. But