aboutsummaryrefslogtreecommitdiff
path: root/gcc/real.h
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2021-09-27 18:53:54 -0400
committerAndrew MacLeod <amacleod@redhat.com>2021-10-06 09:11:50 -0400
commit4b8ca6c6177b2bd948c1cb2a116955b942751559 (patch)
treeded96deed7cd8fae6d1c4fe7461235e0c01c402c /gcc/real.h
parent90c3a62272313bb08cd5d9a948ff2d71af73b294 (diff)
downloadgcc-4b8ca6c6177b2bd948c1cb2a116955b942751559.zip
gcc-4b8ca6c6177b2bd948c1cb2a116955b942751559.tar.gz
gcc-4b8ca6c6177b2bd948c1cb2a116955b942751559.tar.bz2
Ranger: More efficient zero/nonzero check.
A recent change introduced a frequent check for zero and non-zero which has caused a lot of extra temporary trees to be created. Make the check more efficent as it is always a pointer and thus unsigned. * gimple-range-cache.cc (non_null_ref::adjust_range): Check for zero and non-zero more efficently.
Diffstat (limited to 'gcc/real.h')
0 files changed, 0 insertions, 0 deletions