diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2021-10-01 12:27:55 +0200 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2021-10-01 14:43:54 +0200 |
commit | 75d053df7271cc0f841d3790196a14c896214bb4 (patch) | |
tree | aafef2d2c632979e9e61bd7be383816cf857098e /gcc/fortran/array.c | |
parent | 9c1a633d96926357155d4702b66f8a0ec856a81f (diff) | |
download | gcc-75d053df7271cc0f841d3790196a14c896214bb4.zip gcc-75d053df7271cc0f841d3790196a14c896214bb4.tar.gz gcc-75d053df7271cc0f841d3790196a14c896214bb4.tar.bz2 |
Remove shadowed oracle field.
The m_oracle field in the path solver was shadowing the base class.
This was causing subtle problems while calculating outgoing edges
between blocks, because the query object being passed did not have an
oracle set.
This should further improve our solving ability.
Tested on x86-64 Linux.
gcc/ChangeLog:
* gimple-range-path.cc (path_range_query::compute_ranges): Use
get_path_oracle.
* gimple-range-path.h (class path_range_query): Remove shadowed
m_oracle field.
(path_range_query::get_path_oracle): New.
Diffstat (limited to 'gcc/fortran/array.c')
0 files changed, 0 insertions, 0 deletions