https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77732
--- Comment #2 from Martin Jambor <jamborm at gcc dot gnu.org> --- (In reply to Martin Liška from comment #1) > So hppa uses invisible reference to pass the struct argument. > Thus I guess we should not run the test-case on hppa target? Martin can you > please take a look? I think your analysis is correct and I think we should XFAIL it on hppa. Then we know it is a missing functionality and I may look into handling invisible references it if I ever have access to a machine using them. Meanwhile, John, since you seem to have access to an hppa machine, can you please test and if it works commit the following? diff --git a/gcc/testsuite/gcc.dg/ipa/ipcp-cstagg-7.c b/gcc/testsuite/gcc.dg/ipa/ipcp-cstagg-7.c index 6af8bda6d8e..c06abd1e8fb 100644 --- a/gcc/testsuite/gcc.dg/ipa/ipcp-cstagg-7.c +++ b/gcc/testsuite/gcc.dg/ipa/ipcp-cstagg-7.c @@ -62,4 +62,4 @@ h (int x) return bar (s, x); } -/* { dg-final { scan-ipa-dump-times "Discovered an indirect call to a known target" 3 "cp" } } */ +/* { dg-final { scan-ipa-dump-times "Discovered an indirect call to a known target" 3 "cp" { xfail { hppa*-*-* } } } } */