Re: [PATCH] loop-manip: Avoid -fcompare-debug issues in create_iv [PR94285]

2020-03-24 Thread Richard Biener
On Tue, 24 Mar 2020, Jakub Jelinek wrote: > Hi! > > The following testcase FAILs with -fcompare-debug. The problem is that > create_iv behaves differently when inserting after into an empty bb (in that > case sets location to goto_locus), or when inserting before gsi_end_p (i.e. > at the end of

[PATCH] loop-manip: Avoid -fcompare-debug issues in create_iv [PR94285]

2020-03-24 Thread Jakub Jelinek via Gcc-patches
Hi! The following testcase FAILs with -fcompare-debug. The problem is that create_iv behaves differently when inserting after into an empty bb (in that case sets location to goto_locus), or when inserting before gsi_end_p (i.e. at the end of bb; in that case it will not set location, otherwise it