commit | e01012c459c931ae39558b019107226c232fa4d1 | [log] [tgz] |
---|---|---|
author | Richard Biener <rguenther@suse.de> | Sun Jun 30 11:34:43 2024 +0200 |
committer | Richard Biener <rguenth@gcc.gnu.org> | Tue Jul 16 16:22:05 2024 +0200 |
tree | ee59af96fc437668d0b2bbcec3959ddbabc4ad66 | |
parent | 6f74a5f5dc12bc337068f0f6a554d72604488959 [diff] |
tree-optimization/115701 - fix maybe_duplicate_ssa_info_at_copy The following restricts copying of points-to info from defs that might be in regions invoking UB and are never executed. PR tree-optimization/115701 * tree-ssanames.cc (maybe_duplicate_ssa_info_at_copy): Only copy info from within the same BB. * gcc.dg/torture/pr115701.c: New testcase. (cherry picked from commit b77f17c5feec9614568bf2dee7f7d811465ee4a5)