aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/expr.c
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2021-11-09 09:29:23 -0500
committerAndrew MacLeod <amacleod@redhat.com>2021-11-09 13:27:42 -0500
commit56af35de3d11960100996b96034dc9ccd7c75ca3 (patch)
treecf373ec2c094fa6ef46252f65481e55c65181d27 /gcc/fortran/expr.c
parent53080c5b4ce3742d20a0aa4643203215f20aadf6 (diff)
downloadgcc-56af35de3d11960100996b96034dc9ccd7c75ca3.zip
gcc-56af35de3d11960100996b96034dc9ccd7c75ca3.tar.gz
gcc-56af35de3d11960100996b96034dc9ccd7c75ca3.tar.bz2
Keep x_range_query NULL for global ranges.
Instead of x_range_query always pointing to an object, have it default to NULL and return a pointer to the global query in that case. * function.c (allocate_struct_function): Don't set x_range_query. * function.h (get_range_query): Move to value-query.h. * gimple-range.cc (enable_ranger): Check that query is currently NULL. (disable_ranger): Clear function current query field. * value-query.cc (get_global_range_query): Relocate to: * value-query.h (get_global_range_query): Here and inline. (get_range_query): Relocate here from function.h.
Diffstat (limited to 'gcc/fortran/expr.c')
0 files changed, 0 insertions, 0 deletions