re PR tree-optimization/81403 (wrong code at -O3)
authorRichard Biener <rguenther@suse.de>
Thu, 23 Nov 2017 08:30:41 +0000 (08:30 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 23 Nov 2017 08:30:41 +0000 (08:30 +0000)
commitbb9ec14d414a51c3461510f3cddfcafe11b35ee1
tree4ad45bee7035cbc0d2e122444b7029877fc69d55
parent78bebfb26fba87cc4738d9757fe0621b6ec02089
re PR tree-optimization/81403 (wrong code at -O3)

2017-11-23  Richard Biener  <rguenther@suse.de>

PR tree-optimization/81403
* tree-ssa-pre.c (get_representative_for): Add parameter specifying
a block we need a leader relative to.
(phi_translate_1): For nary processing require a leader from
get_representative_for given we run expression simplification
using match-and-simplify.  Remove previous fix.

From-SVN: r255092
gcc/ChangeLog
gcc/tree-ssa-pre.c