aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-range-cache.h
diff options
context:
space:
mode:
authorAlexander Monakov <amonakov@ispras.ru>2022-01-14 20:51:12 +0300
committerAlexander Monakov <amonakov@ispras.ru>2022-07-19 17:16:17 +0300
commit26cea5f108e0facdb080e385000bb141b086845f (patch)
treeff8fb6fd44e6609fcf03e6b331165cd38107246c /gcc/gimple-range-cache.h
parent76c3f0dc2f815e0e450642efd5348c3ab852e4d0 (diff)
downloadgcc-26cea5f108e0facdb080e385000bb141b086845f.zip
gcc-26cea5f108e0facdb080e385000bb141b086845f.tar.gz
gcc-26cea5f108e0facdb080e385000bb141b086845f.tar.bz2
tree-cfg: do not duplicate returns_twice calls
A returns_twice call may have associated abnormal edges that correspond to the "second return" from the call. If the call is duplicated, the copies of those edges also need to be abnormal, but e.g. tracer does not enforce that. Just prohibit the (unlikely to be useful) duplication. gcc/ChangeLog: * cfghooks.cc (duplicate_block): Expand comment. * tree-cfg.cc (gimple_can_duplicate_bb_p): Reject blocks with calls that may return twice.
Diffstat (limited to 'gcc/gimple-range-cache.h')
0 files changed, 0 insertions, 0 deletions