https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126130
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #5)
[...]
> diff --git a/gcc/pta-andersen.cc b/gcc/pta-andersen.cc
> index bba34b3c9a0..7adf4f53579 100644
> --- a/gcc/pta-andersen.cc
> +++ b/gcc/pta-andersen.cc
> @@ -394,7 +394,8 @@ solution_set_expand (bitmap set, bitmap *expanded)
> {
> varinfo_t v = get_varinfo (j);
> if (v->is_artificial_var
> - || v->is_full_var)
> + || v->is_full_var
> + || v->is_fn_info)
> continue;
> if (v->head != prev_head)
> {
causes
+XPASS: gcc.dg/ipa/ipa-pta-13.c scan-ipa-dump pta2 "local_address_taken.use = {
}"
+FAIL: gcc.dg/ipa/ipa-pta-13.c scan-tree-dump fre3 " = x;"
+FAIL: gcc.dg/ipa/ipa-pta-2.c scan-ipa-dump pta2 "foo.arg0 = { ESCAPED NONLOCAL
}"
+FAIL: gcc.dg/lto/pr101949 c_lto_pr101949_0.o-c_lto_pr101949_1.o execute -O2
-fipa-pta -flto -flto-partition=1to1
+FAIL: gcc.dg/torture/pr43879_1.c -O1 execution test
+FAIL: gcc.dg/torture/pr43879_1.c -O2 execution test
+FAIL: gcc.dg/torture/pr43879_1.c -O3 -g execution test
+FAIL: gcc.dg/torture/pr43879_1.c -Os execution test
+FAIL: gcc.dg/torture/pr47426-1.c -O1 execution test
+FAIL: gcc.dg/torture/pr47426-1.c -O2 execution test
+FAIL: gcc.dg/torture/pr47426-1.c -O3 -g execution test
+FAIL: gcc.dg/torture/pr47426-1.c -Os execution test
+FAIL: gcc.dg/torture/pr94947-1.c -O1 execution test
+FAIL: gcc.dg/torture/pr94947-1.c -O2 execution test
+FAIL: gcc.dg/torture/pr94947-1.c -O3 -g execution test
+FAIL: gcc.dg/torture/pr94947-1.c -Os execution test
...
+FAIL: libgomp.oacc-c++/../libgomp.oacc-c-c++-common/acc_prof-init-1.c
-DACC_DEV
ICE_TYPE_host=1 -DACC_MEM_SHARED=1 -foffload=disable -O2 execution test
+FAIL: libgomp.oacc-c++/../libgomp.oacc-c-c++-common/acc_prof-parallel-1.c
-DACC
_DEVICE_TYPE_host=1 -DACC_MEM_SHARED=1 -foffload=disable -O2 execution test
+FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/acc_prof-init-1.c
-DACC_DEVICE_TYPE_host=1 -DACC_MEM_SHARED=1 -foffload=disable -O2 execution
test
+FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/acc_prof-parallel-1.c
-DACC_DEVICE_TYPE_host=1 -DACC_MEM_SHARED=1 -foffload=disable -O2 execution
test
and more when -fipa-pta is enabled by default. I'll have a look.