| commit | 2c23368ed910a911e72af5decfc39bef11a9efac | [log] [tgz] |
|---|---|---|
| author | Richard Biener <rguenther@suse.de> | Fri Jul 04 09:08:19 2025 +0200 |
| committer | Richard Biener <rguenth@gcc.gnu.org> | Wed Jul 09 08:29:34 2025 +0200 |
| tree | 610dae460dde233006066cefecb504834caf7d0c | |
| parent | cae319d3ec326ff37af717b9ccbb6ebafe20cf6b [diff] |
tree-optimization/120944 - bogus VN with volatile copies The following avoids translating expressions through volatile copies. PR tree-optimization/120944 * tree-ssa-sccvn.cc (vn_reference_lookup_3): Gate optimizations invalid when volatile is involved. * gcc.dg/torture/pr120944.c: New testcase. (cherry picked from commit 6ed1e2ae1a742d859c2dd74c9e7cebdd3618e8b1)