https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108500
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code --- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #3) > assign_dfs_numbers has not changed for years ... [...] > Maybe we can do some bb merging before calculate_dominance_info Unfortunately not (easily). A more sustainable fix would be to avoid the recursion in assign_dfs_numbers in favor of a worklist approach, pushing 'node->son, son' as "iterator" like the cfganal DFS walks do.