On 12/17/2021 2:42 PM, Siddhesh Poyarekar wrote:
Since all computations in tree-object-size are now done in sizetype and
not HOST_WIDE_INT, comparisons after conversion to HOST_WIDE_INT would
be incorrect.  Instead, truncate unknown (object_size_type) to sizetype
to compare with the computed size to evaluate if it is unknown.

gcc/ChangeLog:

        PR tree-optimization/103759
        * tree-object-size (unknown, initval): Change to arrays.  Adjust
        all uses.
        (init_limits): Rename from init_offset_limit.  Initialize
        UNKNOWN and INITVAL.  Adjust all uses.
OK
jeff

Reply via email to