This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/51879] Missed tail merging with non-const/pure calls
- From: "vries at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 06 Jul 2012 11:22:10 +0000
- Subject: [Bug tree-optimization/51879] Missed tail merging with non-const/pure calls
- Auto-submitted: auto-generated
- References: <bug-51879-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51879
--- Comment #12 from vries at gcc dot gnu.org 2012-07-06 11:22:10 UTC ---
Author: vries
Date: Fri Jul 6 11:22:06 2012
New Revision: 189323
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189323
Log:
2012-07-06 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/51879
* tree-ssa-sccvn.c (copy_reference_ops_from_call)
(visit_reference_op_call): Handle case that lhs is not an SSA_NAME.
(visit_use): Also call visit_reference_op_call for calls with a vdef.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-ssa-sccvn.c