https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108647

--- Comment #16 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Aldy Hernandez <al...@gcc.gnu.org>:

https://gcc.gnu.org/g:10bd26d6efe88a8cf03a6a325351bc470a910cab

commit r13-5695-g10bd26d6efe88a8cf03a6a325351bc470a910cab
Author: Aldy Hernandez <al...@redhat.com>
Date:   Fri Feb 3 17:28:52 2023 +0100

    range-ops: Handle undefined ranges in frange op[12]_range [PR108647]

    This patch gracefully handles undefined operand ranges for the floating
    point op[12]_range operators.  This is very low risk, as we would have
    ICEd otherwise.

    We don't have a testcase that ICEs for floating point ranges, but it's
    only a matter of time.  Besides, this dovetails nicely with the integer
    versions Jakub is testing.

    gcc/ChangeLog:

            PR tree-optimization/108647
            * range-op-float.cc (foperator_lt::op1_range): Handle undefined
ranges.
            (foperator_lt::op2_range): Same.
            (foperator_le::op1_range): Same.
            (foperator_le::op2_range): Same.
            (foperator_gt::op1_range): Same.
            (foperator_gt::op2_range): Same.
            (foperator_ge::op1_range): Same.
            (foperator_ge::op2_range): Same.
            (foperator_unordered_lt::op1_range): Same.
            (foperator_unordered_lt::op2_range): Same.
            (foperator_unordered_le::op1_range): Same.
            (foperator_unordered_le::op2_range): Same.
            (foperator_unordered_gt::op1_range): Same.
            (foperator_unordered_gt::op2_range): Same.
            (foperator_unordered_ge::op1_range): Same.
            (foperator_unordered_ge::op2_range): Same.

Reply via email to