]> gcc.gnu.org Git - gcc.git/commit
The caller to irange::intersect (wide_int, wide_int) must normalize the range.
authorAldy Hernandez <aldyh@redhat.com>
Fri, 30 Jun 2023 18:24:38 +0000 (20:24 +0200)
committerAldy Hernandez <aldyh@redhat.com>
Fri, 7 Jul 2023 07:55:58 +0000 (09:55 +0200)
commitbf3469b6474f6cff168c1e9171879d29a8296fae
tree29ea51451a71f5099c573b1caa7170cece6f534f
parent0c888665dfbd5175256c674ee82d85bd0f7450f7
The caller to irange::intersect (wide_int, wide_int) must normalize the range.

Per the function comment, the caller to intersect(wide_int, wide_int)
must handle the mask.  This means it must also normalize the range if
anything changed.

gcc/ChangeLog:

* value-range.cc (irange::intersect): Leave normalization to
caller.
gcc/value-range.cc
This page took 0.063039 seconds and 5 git commands to generate.