re PR tree-optimization/88797 (Unneeded branch added when function is inlined (functi...
authorJeff Law <law@redhat.com>
Wed, 1 May 2019 17:33:32 +0000 (11:33 -0600)
committerJeff Law <law@gcc.gnu.org>
Wed, 1 May 2019 17:33:32 +0000 (11:33 -0600)
commitd36405344205c58beb1947719345ec80fdc00a34
treedff72bf9a187ac1e44917ac2df46e9c995abc933
parent7ee7c293558326468f84720dca35767632f7b662
re PR tree-optimization/88797 (Unneeded branch added when function is inlined (function runs faster if not inlined))

PR tree-optimization/88797
* gimple-ssa-split-paths (is_feasible_trace): Reject cases where the
PHI feeds a conditional on the RHS of an assignment.

PR tree-optimization/88797
* g++.dg/tree-ssa/pr88797.C: New test.

From-SVN: r270775
gcc/ChangeLog
gcc/gimple-ssa-split-paths.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/pr88797.C [new file with mode: 0644]