This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r217764 - in /branches/gcc-4_8-branch/gcc: Chan...
- From: vries at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 19 Nov 2014 11:08:03 -0000
- Subject: r217764 - in /branches/gcc-4_8-branch/gcc: Chan...
Author: vries
Date: Wed Nov 19 11:08:02 2014
New Revision: 217764
URL: https://gcc.gnu.org/viewcvs?rev=217764&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_8-branch/gcc/testsuite/gcc.dg/pr62167-run.c
branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/pr62167.c
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/pr51879-12.c
branches/gcc-4_8-branch/gcc/tree-ssa-tail-merge.c