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]

r217763 - in /branches/gcc-4_9-branch/gcc: Chan...


Author: vries
Date: Wed Nov 19 10:50:42 2014
New Revision: 217763

URL: https://gcc.gnu.org/viewcvs?rev=217763&root=gcc&view=rev
Log:
Fix tail-merge pass for dead type-unsafe code

2014-11-19  Tom de Vries  <tom@codesourcery.com>

	Backport from mainline
	PR tree-optimization/62167
	* tree-ssa-tail-merge.c (stmt_local_def): Handle statements with vuse
	conservatively.
	(gimple_equal_p): Don't use vn_valueize to compare for lhs equality of
	assigns.

	* gcc.dg/pr51879-12.c: Add xfails.
	* gcc.dg/pr62167-run.c: New test.
	* gcc.dg/pr62167.c: New test.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/pr62167-run.c
    branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/pr62167.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/pr51879-12.c
    branches/gcc-4_9-branch/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]