Re: [Patch] [mid-end][__RTL] Clean df state despite invalid __RTL startwith passes

2019-11-14 Thread Richard Biener
On Thu, 14 Nov 2019, Matthew Malcomson wrote: > Hi there, > > When compiling an __RTL function that has an invalid "startwith" pass we > currently don't run the dfinish cleanup pass. This means we ICE on the next > function. > > This change ensures that all state is cleaned up for the next funct

[Patch] [mid-end][__RTL] Clean df state despite invalid __RTL startwith passes

2019-11-14 Thread Matthew Malcomson
Hi there, When compiling an __RTL function that has an invalid "startwith" pass we currently don't run the dfinish cleanup pass. This means we ICE on the next function. This change ensures that all state is cleaned up for the next function to run correctly. As an example, before this change the