Re: [PATCH]middle-end: fix ICE when destination BB for stores starts with a label [PR113750]

2024-02-05 Thread Richard Biener
On Mon, 5 Feb 2024, Tamar Christina wrote: > Hi All, > > The report shows that if the FE leaves a label as the first thing in the dest > BB then we ICE because we move the stores before the label. > > This is easy to fix if we know that there's still only one way into the BB. > We would have

[PATCH]middle-end: fix ICE when destination BB for stores starts with a label [PR113750]

2024-02-05 Thread Tamar Christina
Hi All, The report shows that if the FE leaves a label as the first thing in the dest BB then we ICE because we move the stores before the label. This is easy to fix if we know that there's still only one way into the BB. We would have already rejected the loop if there was multiple paths into