aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-strlen.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2017-12-06 13:32:06 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2017-12-06 13:32:06 +0000
commit4c6f5562dce997c013340fb5d6891d777efb99be (patch)
tree7fffcd9e8ba3dcd0a191a595a2135dabded952b4 /gcc/tree-ssa-strlen.c
parent40242256f156e91244d770ac422e6e244b99152b (diff)
downloadgcc-4c6f5562dce997c013340fb5d6891d777efb99be.zip
gcc-4c6f5562dce997c013340fb5d6891d777efb99be.tar.gz
gcc-4c6f5562dce997c013340fb5d6891d777efb99be.tar.bz2
compiler: handle set-and-use-temp in nilcheck code
Change the code in Unary_expression::do_get_backend that introduces explicit nil checks for dereference operations to special case set-and-use-temporary expressions. For this case it is better to generate an explicit reference of the temp in the final conditional (avoids introducing tree sharing). Reviewed-on: https://go-review.googlesource.com/81915 From-SVN: r255442
Diffstat (limited to 'gcc/tree-ssa-strlen.c')
0 files changed, 0 insertions, 0 deletions