This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/32663] [4.3 regression]: revision 126369 went into an infinite loop
- From: "hjl at lucon dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jul 2007 15:12:51 -0000
- Subject: [Bug tree-optimization/32663] [4.3 regression]: revision 126369 went into an infinite loop
- References: <bug-32663-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from hjl at lucon dot org 2007-07-08 15:12 -------
When a statement has no vuses, but its LHS value handle has vuses, we wind
up with
tree val = vn_lookup_or_add_with_stmt (newt, stmt);
vn_add (lhs, val);
Now the LHS value handle changes from vuses to no vuses since the statement
has no vuses. Are you sure you handle this case correctly? Can we reuse
LHS value handle in this case?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32663