]> gcc.gnu.org Git - gcc.git/commit
const_tree conversion of vrange::supports_*
authorAldy Hernandez <aldyh@redhat.com>
Sun, 31 Jul 2022 11:36:59 +0000 (13:36 +0200)
committerAldy Hernandez <aldyh@redhat.com>
Mon, 1 Aug 2022 06:16:03 +0000 (08:16 +0200)
commit7e029e067d81f714419cd196fdd506b06881e0c9
treee6c9575d4db9db7b0eded4d25967fc9d7d74de72
parent460dcec49f875a83ca9b66d5e45d712f836f681e
const_tree conversion of vrange::supports_*

Make all vrange::supports_*_p methods const_tree as they can end up
being called from functions that are const_tree.

Tested on x86-64 Linux.

gcc/ChangeLog:

* value-range.cc (vrange::supports_type_p): Use const_tree.
(irange::supports_type_p): Same.
(frange::supports_type_p): Same.
* value-range.h (Value_Range::supports_type_p): Same.
(irange::supports_p): Same.
gcc/value-range.cc
gcc/value-range.h
This page took 0.056218 seconds and 6 git commands to generate.