diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2021-05-25 14:41:16 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2021-05-25 19:28:04 -0400 |
commit | 35c78c6fc54721e067ed3a30ddd9184b45c5981d (patch) | |
tree | be9a19330dd956397a447d9aa71f7fa1b3baf159 /gcc/gimplify.c | |
parent | 10b286ce335cca135a45a92581b28146f3e3209b (diff) | |
download | gcc-35c78c6fc54721e067ed3a30ddd9184b45c5981d.zip gcc-35c78c6fc54721e067ed3a30ddd9184b45c5981d.tar.gz gcc-35c78c6fc54721e067ed3a30ddd9184b45c5981d.tar.bz2 |
Tweak location of non-null calls. revamp ranger debug output.
range_on_entry shouldnt be checking non-null, but we sometimes should
after calling it.
change the debug output a bit.
* gimple-range.cc (gimple_ranger::range_of_expr): Non-null should be
checked only after range_of_stmt, not range_on_entry.
(gimple_ranger::range_on_entry): Check for non-null in any
predecessor block, if it is not already non-null.
(gimple_ranger::range_on_exit): DOnt check for non-null after
range on entry call.
(gimple_ranger::dump_bb): New. Split from dump.
(gimple_ranger::dump): Adjust.
* gimple-range.h (class gimple_ranger): Adjust.
Diffstat (limited to 'gcc/gimplify.c')
0 files changed, 0 insertions, 0 deletions