summaryrefslogtreecommitdiffstats
path: root/tests/015/awk-rng.expected
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-04-22 06:42:44 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-04-22 06:42:44 -0700
commit43303f6ce29bf502644c27115b0d9b680142f989 (patch)
treeef2b782e30b06703415ef061d39c11923d97f280 /tests/015/awk-rng.expected
parent2480aea51560801f436823c53dc408a7333f683b (diff)
downloadtxr-43303f6ce29bf502644c27115b0d9b680142f989.tar.gz
txr-43303f6ce29bf502644c27115b0d9b680142f989.tar.bz2
txr-43303f6ce29bf502644c27115b0d9b680142f989.zip
compiler: bug: graph issue in dead code elimination.
* share/txr/stdlib/optimize.tl (basic-blocks join-block): When we merge a block N with its physical predecessor P, we must iterate over the jump targets of N, and update their reverse list to point to P instead of N. A full call to link-graph would fix it also, but we don't call link-graph anywhere in the optimization pipeline after this point. The reverse links are relied on to be correct elsewhere, such merge-jump-tunks, which needs to walk the blocks which jump to a removed duplicate block, to retarget them to go to another copy of that block.
Diffstat (limited to 'tests/015/awk-rng.expected')
0 files changed, 0 insertions, 0 deletions