aboutsummaryrefslogtreecommitdiff
path: root/gcc/omp-low.c
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2021-05-12 15:22:15 -0400
committerAldy Hernandez <aldyh@redhat.com>2021-05-12 16:46:58 -0400
commitd902a1b57606536982a1001670f998de685eaf7c (patch)
tree70f23a7edb0c0a6825af6613deed94734620d2e0 /gcc/omp-low.c
parent8982a5354d2697eeb12a77d49b6730db90053618 (diff)
downloadgcc-d902a1b57606536982a1001670f998de685eaf7c.zip
gcc-d902a1b57606536982a1001670f998de685eaf7c.tar.gz
gcc-d902a1b57606536982a1001670f998de685eaf7c.tar.bz2
Skip out on processing __builtin_clz when varying.
The previous changes to irange::constant_p return TRUE for VARYING, since VARYING has numerical end points like any other constant range. The problem is that some users of constant_p depended on constant_p excluding the full domain. The range handler for __builtin_clz, that is shared between ranger and vr_values, is one such user. This patch excludes varying_p(), to match the original behavior for clz. gcc/ChangeLog: PR c/100521 * gimple-range.cc (range_of_builtin_call): Skip out on processing __builtin_clz when varying.
Diffstat (limited to 'gcc/omp-low.c')
0 files changed, 0 insertions, 0 deletions