[COMMITTED] PR tree-optimization/106621 - Check for undefined and varying first.
Andrew MacLeod
amacleod@redhat.com
Mon Aug 15 17:32:38 GMT 2022
We treat POLY_INT_CSTs as VARYING, but the check in irange::set for them
was occurring after we called irange::set_range. This patch merely
shuffles the orders of checks around such that we check for undefined,
and then varying/polyints before the other cases. Performance impact is
negligible.
bootstraps on 86_64-pc-linux-gnu with no regressions. Compilation
reproduced the PR and patch passes the test on a cross compiler for
aarch64. I have no access to bootstrap on aarch64. Hopefully the
testcase works as provided :)
pushed.
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 621.diff
Type: text/x-patch
Size: 2482 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20220815/3fa9bc8c/attachment.bin>
More information about the Gcc-patches
mailing list