re PR tree-optimization/65217 (__builtin_unreachable in if statement causes bad assem...
authorJeff Law <law@redhat.com>
Tue, 28 Apr 2015 04:01:28 +0000 (22:01 -0600)
committerJeff Law <law@gcc.gnu.org>
Tue, 28 Apr 2015 04:01:28 +0000 (22:01 -0600)
commit009b7fc1870354e2c70d21c88fa671113a8e5f13
treea59c6eeaf6d12c3a659434c06b6cf3b9bc71f7ba
parent3954ead0d88676855e877a8a20c05f49256260d7
re PR tree-optimization/65217 (__builtin_unreachable in if statement causes bad assembly generation)

PR tree-optimization/65217
* tree-ssa-dom.c (record_equality): Given two SSA_NAMEs, if just one
of them has a single use, make sure it is the LHS of the implied
copy.

        PR tree-optimization/65217
* gcc.target/i386/pr65217.c: Remove XFAIL.

From-SVN: r222499
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr65217.c
gcc/tree-ssa-dom.c