aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2022-05-09 13:20:06 -0400
committerAndrew MacLeod <amacleod@redhat.com>2022-05-13 10:42:52 -0400
commit1d3d7e88aac0db20a4b59044f9b7cd35e847e8d3 (patch)
tree931a3a72b17c8f3e164180cee85c5c336c966604 /gcc/fortran
parent98e475a8f58ca3ba6e9bd5c9276efce4236f5d26 (diff)
downloadgcc-1d3d7e88aac0db20a4b59044f9b7cd35e847e8d3.zip
gcc-1d3d7e88aac0db20a4b59044f9b7cd35e847e8d3.tar.gz
gcc-1d3d7e88aac0db20a4b59044f9b7cd35e847e8d3.tar.bz2
Add a return value to intersect and speed it up.
Return true if the intersection of ranges changed the original value. Speed up the case when there is no change by calling an efficient contains routine. * value-range.cc (irange::legacy_verbose_intersect): Add return value. (irange::irange_contains_p): New. (irange::irange_intersect): Add return value. * value-range.h (class irange): Adjust prototypes.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions