Re: [PATCH] tree-ssa-strlen: Fix up handle_store [PR113603]

2024-01-30 Thread Richard Biener
On Tue, 30 Jan 2024, Jakub Jelinek wrote: > Hi! > > Since r10-2101-gb631bdb3c16e85f35d3 handle_store uses > count_nonzero_bytes{,_addr} which (more recently limited to statements > with the same vuse) can walk earlier statements feeding the rhs > of the store and call get_stridx on it. > Unlike

[PATCH] tree-ssa-strlen: Fix up handle_store [PR113603]

2024-01-30 Thread Jakub Jelinek
Hi! Since r10-2101-gb631bdb3c16e85f35d3 handle_store uses count_nonzero_bytes{,_addr} which (more recently limited to statements with the same vuse) can walk earlier statements feeding the rhs of the store and call get_stridx on it. Unlike most of the other functions where get_stridx is called