aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2023-05-16 22:20:54 +0200
committerAldy Hernandez <aldyh@redhat.com>2023-05-17 16:08:48 +0200
commit615e3d1e9306dbf27c5af3bc6ebabb697dcc4297 (patch)
tree9595674471bbe84caa73c2b5c24aa348a969b717 /gcc/fortran
parent029bfd4f419a58a47fa27036b900def620a2cd28 (diff)
downloadgcc-615e3d1e9306dbf27c5af3bc6ebabb697dcc4297.zip
gcc-615e3d1e9306dbf27c5af3bc6ebabb697dcc4297.tar.gz
gcc-615e3d1e9306dbf27c5af3bc6ebabb697dcc4297.tar.bz2
Provide support for copying unsupported ranges.
The unsupported_range class is provided for completness sake. It is a way to set VARYING/UNDEFINED ranges for unsupported ranges (currently anything not float, integer, or pointer). You can't do anything with them, except set_varying, and set_undefined. We will trap on any other operation. This patch provides a way to copy them, just in case they creep in. This could happen in IPA under certain circumstances. gcc/ChangeLog: * value-range.cc (vrange::operator=): Add a stub to copy unsupported ranges. * value-range.h (is_a <unsupported_range>): New. (Value_Range::operator=): Support copying unsupported ranges.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions