]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/113197 - bougs assert in PTA
authorRichard Biener <rguenther@suse.de>
Mon, 30 Sep 2024 07:07:36 +0000 (09:07 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 2 Oct 2024 10:56:02 +0000 (12:56 +0200)
commit02f4efe3c12cf7ef54e5a71b11044c15be5c7fab
tree58b00ef6c897ac6cca8ca253a1f891030e6b3f0d
parent4ba4165d66b18d7c5b8af02ecdf38bfa0690c106
tree-optimization/113197 - bougs assert in PTA

PTA asserts that EAF_NO_DIRECT_READ is not set when flags are
set consistently which doesn't make sense.  The following removes
the assert.

PR tree-optimization/113197
* tree-ssa-structalias.cc (handle_call_arg): Remove bougs
assert.

* gcc.dg/lto/pr113197_0.c: New testcase.
* gcc.dg/lto/pr113197_1.c: Likewise.
gcc/testsuite/gcc.dg/lto/pr113197_0.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/lto/pr113197_1.c [new file with mode: 0644]
gcc/tree-ssa-structalias.cc