diff options
author | Jeff Law <law@redhat.com> | 2017-05-03 10:33:45 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2017-05-03 10:33:45 -0600 |
commit | 9a26dfc815e601a6377fa17b82c37fe3dbc5cbb3 (patch) | |
tree | b1aeeb94cbd5ff125b89517a329780678e4d377a /gcc/ipa-inline-analysis.c | |
parent | 5386abe0daa9f1cdc2a2ca07457500e155d24810 (diff) | |
download | gcc-9a26dfc815e601a6377fa17b82c37fe3dbc5cbb3.zip gcc-9a26dfc815e601a6377fa17b82c37fe3dbc5cbb3.tar.gz gcc-9a26dfc815e601a6377fa17b82c37fe3dbc5cbb3.tar.bz2 |
re PR tree-optimization/78496 (Missed opportunities for jump threading)
PR tree-optimization/78496
* tree-vrp.c (simplify_cond_using_ranges_1): Renamed
from simplify_cond_using_ranges. Split off code to walk
backwards through casts into ...
(simplify_cond_using_ranges_2): New function.
(simplify_stmt_using_ranges): Call simplify_cond_using_ranges_1.
(execute_vrp): After identifying jump threads, call
simplify_cond_using_ranges_2.
PR tree-optimization/78496
* gcc.dg/tree-ssa/ssa-thread-15.c: New test.
From-SVN: r247556
Diffstat (limited to 'gcc/ipa-inline-analysis.c')
0 files changed, 0 insertions, 0 deletions