Re: [PATCH] Mostly fix PR90726 - exponential compile-time/memory behavior

2019-06-04 Thread Richard Biener
On Mon, 3 Jun 2019, Richard Biener wrote: > > This mostly fixes PR90726, employing proper visited mechanisms to > avoid exponential behavior when walking a GENERIC expression > with shared trees. It also fixes the code-generation side where > gimplification of such tree naturally explodes as wel

[PATCH] Mostly fix PR90726 - exponential compile-time/memory behavior

2019-06-03 Thread Richard Biener
This mostly fixes PR90726, employing proper visited mechanisms to avoid exponential behavior when walking a GENERIC expression with shared trees. It also fixes the code-generation side where gimplification of such tree naturally explodes as well - but not by more optimal gimplifying but accounti