aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2021-04-26 19:23:25 -0400
committerAndrew MacLeod <amacleod@redhat.com>2021-05-07 15:00:21 -0400
commitd942d7332d3dbd93609f5b5706df5990fd63dcfc (patch)
tree64b7da43580eaa104a7da35f1f34aeacc08f4644 /gcc/builtins.c
parent12f0a54ba9fa25aa13af368af5bb07e345c33dff (diff)
downloadgcc-d942d7332d3dbd93609f5b5706df5990fd63dcfc.zip
gcc-d942d7332d3dbd93609f5b5706df5990fd63dcfc.tar.gz
gcc-d942d7332d3dbd93609f5b5706df5990fd63dcfc.tar.bz2
Fix range_on_exit for PHI stmts when there are no other stmts in the block.
last_stmt(bb) returns NULL for blocks which only have PHI stmts, and range_on_exit would trigger a cache fill all the way to the top of the program for the SSA_NAME. * gimple-range.cc (gimple_ranger::range_on_exit): Handle block with only PHI nodes better.
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions