Re: [PATCH] Make GIMPLE forwprop DCE dead stmts

2019-08-16 Thread Richard Biener
On Wed, 14 Aug 2019, Jeff Law wrote: > On 8/14/19 7:36 AM, Richard Biener wrote: > > > > The following patch makes forwprop DCE the stmts that become dead > > because of propagation of copies and constants. For this to work > > we actually have to do that reliably rather than relying on > > fold

Re: [PATCH] Make GIMPLE forwprop DCE dead stmts

2019-08-14 Thread Jeff Law
On 8/14/19 7:36 AM, Richard Biener wrote: > > The following patch makes forwprop DCE the stmts that become dead > because of propagation of copies and constants. For this to work > we actually have to do that reliably rather than relying on > fold_stmt doing this for us. > > This hits fortran/tr

[PATCH] Make GIMPLE forwprop DCE dead stmts

2019-08-14 Thread Richard Biener
The following patch makes forwprop DCE the stmts that become dead because of propagation of copies and constants. For this to work we actually have to do that reliably rather than relying on fold_stmt doing this for us. This hits fortran/trans-intrinsic.c in a way that we do "interesting" jump