diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2022-02-16 19:59:34 -0500 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2022-05-13 09:57:03 -0400 |
commit | af34279921f4bb95b07c0be7fce9baeffafcb53d (patch) | |
tree | 0b08ab1d4fb5de1f669c4c7eadf02d3170a324b0 /gcc/fortran/trans-openmp.cc | |
parent | 602a3161f425ee3fe325413eeab9792e8e07a2ff (diff) | |
download | gcc-af34279921f4bb95b07c0be7fce9baeffafcb53d.zip gcc-af34279921f4bb95b07c0be7fce9baeffafcb53d.tar.gz gcc-af34279921f4bb95b07c0be7fce9baeffafcb53d.tar.bz2 |
Export global ranges during the VRP block walk.
VRP currently searches the ssa_name list for globals to exported after it
finishes running. Recent changes have VRP calling a side-effect routine for
each stmt during the walk. This change simply exports globals as they are
calculated the final time during the walk.
* gimple-range.cc (gimple_ranger::register_side_effects): First check
if the DEF should be exported as a global.
* tree-vrp.cc (rvrp_folder::pre_fold_bb): Process PHI side effects,
which will export globals.
(execute_ranger_vrp): Remove call to export_global_ranges.
Diffstat (limited to 'gcc/fortran/trans-openmp.cc')
0 files changed, 0 insertions, 0 deletions