]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/115137 - more ptr-vs-ptr compare fixes
authorRichard Biener <rguenther@suse.de>
Tue, 21 May 2024 08:12:40 +0000 (10:12 +0200)
committerRichard Biener <rguenther@suse.de>
Tue, 21 May 2024 10:00:10 +0000 (12:00 +0200)
commit85f7828679edc3ae7488594145756cd53787650e
treea5587c7c38a4fa0a1659e0dd12e5cf5196da9bd0
parent7f35863ebbf7ba63e2f075edfbec105de272578a
tree-optimization/115137 - more ptr-vs-ptr compare fixes

The following fixes the omission of const-pool included in NONLOCAL.

PR tree-optimization/115137
* tree-ssa-structalias.cc (pt_solution_includes_const_pool): NONLOCAL
also includes constant pool entries.

* gcc.dg/torture/pr115137.c: New testcase.
gcc/testsuite/gcc.dg/torture/pr115137.c [new file with mode: 0644]
gcc/tree-ssa-structalias.cc