diff options
author | Richard Biener <rguenther@suse.de> | 2023-01-24 10:49:18 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2023-01-24 15:29:17 +0100 |
commit | f31fa9ea35ebcf221a2abaacba5511225f5d036e (patch) | |
tree | 0e7da00770611f268fca937e237226cd166694f4 /gcc/config.gcc | |
parent | 9f0cb3368af735e95776769c4f28fa9cbb60eaf8 (diff) | |
download | gcc-f31fa9ea35ebcf221a2abaacba5511225f5d036e.zip gcc-f31fa9ea35ebcf221a2abaacba5511225f5d036e.tar.gz gcc-f31fa9ea35ebcf221a2abaacba5511225f5d036e.tar.bz2 |
tree-optimization/108500 - avoid useless fast-query compute in CFG cleanup
CFG cleanup computes dominators before the loop over blocks looking
for merging opportunities. That computes also the fast-query DFS
numbers but that's a bit pointless since any CFG cleanup will invalidate
them immediately (they are re-computed before fixing up loops).
The following avoids this and fixes the SIGSEGV due to the deep
recursion in assign_dfs_numbers after inlining very many small
functions.
PR tree-optimization/108500
* dominance.h (calculate_dominance_info): Add parameter
to indicate fast-query compute, defaulted to true.
* dominance.cc (calculate_dominance_info): Honor
fast-query compute parameter.
* tree-cfgcleanup.cc (cleanup_tree_cfg_noloop): Do
not compute the dominator fast-query DFS numbers.
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions