Re: [PATCH] Fix block copy/move/compare expansion (PR rtl-optimization/86334, PR target/88906)

2019-01-22 Thread Richard Biener
On Mon, 21 Jan 2019, Jakub Jelinek wrote: > Hi! > > Apparently RTL DSE doesn't perform any kind of escape analysis for e.g. > frame pointer related addresses, instead relies on TREE_ADDRESSABLE being > set on MEM_EXPR VAR_DECLs if the address could leak to other functions. > > Since PR49454 expr

[PATCH] Fix block copy/move/compare expansion (PR rtl-optimization/86334, PR target/88906)

2019-01-21 Thread Jakub Jelinek
Hi! Apparently RTL DSE doesn't perform any kind of escape analysis for e.g. frame pointer related addresses, instead relies on TREE_ADDRESSABLE being set on MEM_EXPR VAR_DECLs if the address could leak to other functions. Since PR49454 expr.c contains code to force those to be addressable if they