aboutsummaryrefslogtreecommitdiff
path: root/include/gdb/gdb-index.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-09-26 15:41:59 +0200
committerRichard Biener <rguenth@gcc.gnu.org>2024-09-30 07:41:04 +0200
commit64163657ba7e70347087a63bb2b32d83b52ea7d9 (patch)
tree01a08ad7fa497d712b322a005a181af7cd94f978 /include/gdb/gdb-index.h
parent3f8b1b21f377427adbdfa4cbfc21b979eb49c9d3 (diff)
downloadgcc-64163657ba7e70347087a63bb2b32d83b52ea7d9.zip
gcc-64163657ba7e70347087a63bb2b32d83b52ea7d9.tar.gz
gcc-64163657ba7e70347087a63bb2b32d83b52ea7d9.tar.bz2
tree-optimization/116850 - corrupt post-dom info
Path isolation computes post-dominators on demand but can end up splitting blocks after that, wrecking it. We can delay splitting of blocks until we no longer need the post-dom info which is what the following patch does to solve the issue. PR tree-optimization/116850 * gimple-ssa-isolate-paths.cc (bb_split_points): New global. (insert_trap): Delay BB splitting if post-doms are computed. (find_explicit_erroneous_behavior): Process delayed BB splitting after releasing post dominators. (gimple_ssa_isolate_erroneous_paths): Do not free post-dom info here. * gcc.dg/pr116850.c: New testcase.
Diffstat (limited to 'include/gdb/gdb-index.h')
0 files changed, 0 insertions, 0 deletions