diff options
author | Richard Biener <rguenther@suse.de> | 2023-11-15 12:24:46 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2023-11-15 13:09:03 +0100 |
commit | 5cb8610d3a8f8849a4bb6a0f81a2934484d6a15a (patch) | |
tree | 736cffc7be5688f3a99a4458eafa0936f9f36e05 /gcc/cp/tree.cc | |
parent | bcef48b59e4b4f86595929b490a8303da1239ac0 (diff) | |
download | gcc-5cb8610d3a8f8849a4bb6a0f81a2934484d6a15a.zip gcc-5cb8610d3a8f8849a4bb6a0f81a2934484d6a15a.tar.gz gcc-5cb8610d3a8f8849a4bb6a0f81a2934484d6a15a.tar.bz2 |
tree-optimization/112282 - wrong-code with ifcvt hoisting
The following avoids hoisting of invariants from conditionally
executed parts of an if-converted loop. That now makes a difference
since we perform bitfield lowering even when we do not actually
if-convert the loop. if-conversion deals with resetting flow-sensitive
info when necessary already.
PR tree-optimization/112282
* tree-if-conv.cc (ifcvt_hoist_invariants): Only hoist from
the loop header.
* gcc.dg/torture/pr112282.c: New testcase.
Diffstat (limited to 'gcc/cp/tree.cc')
0 files changed, 0 insertions, 0 deletions