This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r183237 - in /trunk/gcc: ChangeLog testsuite/Ch...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 17 Jan 2012 10:38:39 -0000
- Subject: r183237 - in /trunk/gcc: ChangeLog testsuite/Ch...
Author: jakub
Date: Tue Jan 17 10:38:38 2012
New Revision: 183237
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183237
Log:
PR tree-optimization/51877
* tree-ssa-tail-merge.c (gimple_equal_p): Don't return true whenever
call arguments and fndecls compare equal, instead return false if they
don't. Return true only if lhs1 and lhs2 are either both NULL, or
both SSA_NAMEs that are valueized the same, or they satisfy
operand_equal_p.
* gcc.c-torture/execute/pr51877.c: New test.
Added:
trunk/gcc/testsuite/gcc.c-torture/execute/pr51877.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-tail-merge.c