This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/50869] [4.7 Regression] ice in vt_expand_var_loc_chain
- 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, 27 Oct 2011 20:46:12 +0000
- Subject: [Bug debug/50869] [4.7 Regression] ice in vt_expand_var_loc_chain
- Auto-submitted: auto-generated
- References: <bug-50869-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50869
--- Comment #3 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2011-10-27 20:46:12 UTC ---
Created attachment 25638
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25638
Patch that fixes the bug, testing
Here's a patch that fixes the bug. We don't want cselib to expand argp, and
when it tries to we get all confused with a zero-depth expansion (the REG
itself) but with VALUEs associated with it, that cselib pointlessly tried to
expand, pushed onto the dependency stack.