aboutsummaryrefslogtreecommitdiff
path: root/gcc/debug.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2022-08-31 14:04:46 +0200
committerRichard Biener <rguenther@suse.de>2022-08-31 15:20:41 +0200
commit88f29a8aa82f2788baf2f9865940d4c83012c580 (patch)
treeb60c09aad26b08a142caa6a891af72566709b0a2 /gcc/debug.cc
parent25dd2768afdb8fad7b11d511eb5f739958f9870d (diff)
downloadgcc-88f29a8aa82f2788baf2f9865940d4c83012c580.zip
gcc-88f29a8aa82f2788baf2f9865940d4c83012c580.tar.gz
gcc-88f29a8aa82f2788baf2f9865940d4c83012c580.tar.bz2
tree-optimization/90994 - fix uninit diagnostics with EH
r12-3640-g94c12ffac234b2 sneaked in a hack to avoid the diagnostic for the testcase in PR90994 which sees non-call EH control flow confusing predicate analysis. The following patch instead adjusts the existing code handling EH to handle non-calls and do what I think was intented. PR tree-optimization/90994 * gimple-predicate-analysis.cc (predicate::init_from_control_deps): Ignore exceptional control flow and skip the edge for the purpose of predicate generation also for non-calls. * g++.dg/torture/pr90994.C: New testcase.
Diffstat (limited to 'gcc/debug.cc')
0 files changed, 0 insertions, 0 deletions