re PR tree-optimization/80237 (float to double conversion is not optimized away)
authorRichard Biener <rguenther@suse.de>
Fri, 21 Apr 2017 08:17:23 +0000 (08:17 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 21 Apr 2017 08:17:23 +0000 (08:17 +0000)
commit6d553e9bc9739ac67f96f31b6108c25e7a74f3a3
tree1eb7963a3c4fcd8c091d82c031e19a209ed360b5
parent7fd1a7474a04fdf68e3b1645de16bcfa45a915d0
re PR tree-optimization/80237 (float to double conversion is not optimized away)

2017-04-21  Richard Biener  <rguenther@suse.de>

PR tree-optimization/80237
* tree-ssa-pre.c (find_leader_in_sets): Add third set argument,
defaulted to NULL.
(phi_translate_1): Also allow a leader in AVAIL_OUT of pred
for a simplified result.

* gcc.dg/tree-ssa/tailcall-9.c: New testcase.
* gcc.dg/tree-ssa/ldist-pr45948.c: Remove undefined behavior,
adjust expected optimizations.

From-SVN: r247049
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ldist-pr45948.c
gcc/testsuite/gcc.dg/tree-ssa/tailcall-9.c [new file with mode: 0644]
gcc/tree-ssa-pre.c