diff options
author | Richard Biener <rguenther@suse.de> | 2022-09-08 12:22:26 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-09-08 13:11:32 +0200 |
commit | c8d3b44dfa2851659f966627835497667c5fed6c (patch) | |
tree | 53ac590dec21943b05a62252a189fe876d9e5716 /gcc/tree-cfg.cc | |
parent | 794a01d7dcf306578bc5d0d147895c58a91506de (diff) | |
download | gcc-c8d3b44dfa2851659f966627835497667c5fed6c.zip gcc-c8d3b44dfa2851659f966627835497667c5fed6c.tar.gz gcc-c8d3b44dfa2851659f966627835497667c5fed6c.tar.bz2 |
tree-optimization/106881 - constrain uninit control edge add
The following avoids adding fallthru edges to the control chain from
the post-dominator walk.
PR tree-optimization/106881
* gimple-predicate-analysis.cc (compute_control_dep_chain_pdom):
Add only non-fallthru edges and avoid the same set of edges
as the caller does.
* gcc.dg/uninit-pr106881.c: New testcase.
Diffstat (limited to 'gcc/tree-cfg.cc')
0 files changed, 0 insertions, 0 deletions