Re: [PATCH] Avoid too complex debug insns during expansion (PR debug/56510)

2013-03-06 Thread Richard Biener
On Tue, 5 Mar 2013, Jakub Jelinek wrote: > Hi! > > cselib (probably among others) isn't prepared to handle arbitrarily > complex debug insns. The debug insns are usually created from debug stmts > which shouldn't have unbound complexity, but with TER we can actually end up > with arbitrarily lar

Re: [PATCH] Avoid too complex debug insns during expansion (PR debug/56510)

2013-03-05 Thread Jakub Jelinek
On Tue, Mar 05, 2013 at 02:40:34PM -0700, Jeff Law wrote: > So it's not that cselib (and possibly others) can't handle these > complex RTL expressions, it's just unbearably slow. Right? They handle it, but with bad compile time complexity, so on some testcases it might take years or centuries etc

Re: [PATCH] Avoid too complex debug insns during expansion (PR debug/56510)

2013-03-05 Thread Jeff Law
On 03/05/2013 09:30 AM, Jakub Jelinek wrote: Hi! cselib (probably among others) isn't prepared to handle arbitrarily complex debug insns. The debug insns are usually created from debug stmts which shouldn't have unbound complexity, but with TER we can actually end up with arbitrarily large debu

[PATCH] Avoid too complex debug insns during expansion (PR debug/56510)

2013-03-05 Thread Jakub Jelinek
Hi! cselib (probably among others) isn't prepared to handle arbitrarily complex debug insns. The debug insns are usually created from debug stmts which shouldn't have unbound complexity, but with TER we can actually end up with arbitrarily large debug insns. This patch fixes that up during expan