[Bug debug/48866] gcc hangs when -g is set

aoliva at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 5 11:56:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48866

--- Comment #5 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2011-05-05 11:54:12 UTC ---
I think the problem is that the debug stmts are being expanded into debug insns
*before* the code that should precede them.  If we expanded the stmts in the
natural, expended order, we'd get the variables bound to simpler expressions. 
That said, I'm not sure this will avoid the cselib slowdown, for we will likely
end up having to use the mems as a location.  Investigating...



More information about the Gcc-bugs mailing list