This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/48866] gcc hangs when -g is set
- From: "aoliva at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 5 May 2011 11:56:35 +0000
- Subject: [Bug debug/48866] gcc hangs when -g is set
- Auto-submitted: auto-generated
- References: <bug-48866-4@http.gcc.gnu.org/bugzilla/>
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...