Re: [PATCH] phiopt: Avoid -fcompare-debug bug in phiopt [PR94211]

2020-03-19 Thread Richard Biener
On Thu, 19 Mar 2020, Jakub Jelinek wrote: > Hi! > > Two years ago, I've added support for up to 2 simple preparation statements > in value_replacement, but the > - && estimate_num_insns (assign, &eni_time_weights) > + && estimate_num_insns (bb_seq (middle_bb), &eni_time_weights) > chang

[PATCH] phiopt: Avoid -fcompare-debug bug in phiopt [PR94211]

2020-03-19 Thread Jakub Jelinek via Gcc-patches
Hi! Two years ago, I've added support for up to 2 simple preparation statements in value_replacement, but the - && estimate_num_insns (assign, &eni_time_weights) + && estimate_num_insns (bb_seq (middle_bb), &eni_time_weights) change, meant that we compute the cost of all those statements