This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]