aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-decl.cc
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2022-07-14 19:06:57 +0200
committerAldy Hernandez <aldyh@redhat.com>2022-07-15 11:41:04 +0200
commit3aab916f4ff9b41222273e712e1d435013ac8150 (patch)
tree080d3bf66009a10f691dbd1e811c8de92964d2d3 /gcc/fortran/trans-decl.cc
parent64864aa9e6ea347a4f9c7027941be898ce993f85 (diff)
downloadgcc-3aab916f4ff9b41222273e712e1d435013ac8150.zip
gcc-3aab916f4ff9b41222273e712e1d435013ac8150.tar.gz
gcc-3aab916f4ff9b41222273e712e1d435013ac8150.tar.bz2
Use pp_vrange for ranges in dump_ssaname_info.
This changes the ad-hoc dumping of ranges in the gimple pretty printer to use the pp_vrange utility function, which has the benefit of handling all range types going forward and unifying the dumping code. Instead of: # RANGE [0, 51] NONZERO 0x3f # RANGE ~[5, 10] we would now get: # RANGE [irange] long unsigned int [0, 51] NONZERO 0x3f # RANGE [irange] int [-MIN, 4][11, MAX] Tested on x86-64 Linux. gcc/ChangeLog: * gimple-pretty-print.cc (dump_ssaname_info): Use pp_vrange.
Diffstat (limited to 'gcc/fortran/trans-decl.cc')
0 files changed, 0 insertions, 0 deletions