diff mbox series

[committed] XFAIL some IPA tests that are not supported on 32-bit hppa*-*-hpux*

Message ID 52147138-2332-0ac2-ff11-66baebff059a@bell.net
State New
Headers show
Series [committed] XFAIL some IPA tests that are not supported on 32-bit hppa*-*-hpux* | expand

Commit Message

John David Anglin Feb. 29, 2020, 7:34 p.m. UTC
IPA-SRA does not handle structures passed by invisible reference when the callee does copies.
This patch xfails test that depend on this feature on 32-bit hppa*-*-hpux*.

Dave

2020-02-29  John David Anglin  <danglin@gcc.gnu.org>

	PR ipa/92548
	* gcc.dg/ipa/ipa-sra-12.c: xfail parameter split test on 32-bit
	hppa*-*-hpux*.
	* gcc.dg/ipa/ipa-sra-14.c: Likewise.
	* gcc.dg/ipa/ipcp-agg-12.c: xfail adding extra caller test.
diff mbox series

Patch

diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-sra-12.c b/gcc/testsuite/gcc.dg/ipa/ipa-sra-12.c
index 689071e566c..4d9057e6353 100644
--- a/gcc/testsuite/gcc.dg/ipa/ipa-sra-12.c
+++ b/gcc/testsuite/gcc.dg/ipa/ipa-sra-12.c
@@ -46,5 +46,5 @@  main (int argc, char *argv[])
   return 0;
 }

-/* { dg-final { scan-ipa-dump-times "Will split parameter" 2 "sra" } } */
-/* { dg-final { scan-ipa-dump-times "component at byte offset" 4 "sra" } } */
+/* { dg-final { scan-ipa-dump-times "Will split parameter" 2 "sra" { xfail { hppa*-*-hpux* && { ! lp64 } } } } } */
+/* { dg-final { scan-ipa-dump-times "component at byte offset" 4 "sra" { xfail { hppa*-*-hpux* && { ! lp64 } } } } } */
diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-sra-14.c b/gcc/testsuite/gcc.dg/ipa/ipa-sra-14.c
index 01881249d90..3ca302c77e2 100644
--- a/gcc/testsuite/gcc.dg/ipa/ipa-sra-14.c
+++ b/gcc/testsuite/gcc.dg/ipa/ipa-sra-14.c
@@ -56,5 +56,7 @@  main (int argc, char *argv[])
 }


-/* { dg-final { scan-ipa-dump-times "Will split parameter" 2 "sra" } } */
-/* { dg-final { scan-ipa-dump-times "component at byte offset" 4 "sra" } } */
+/* { dg-final { scan-ipa-dump-times "Will split parameter" 2 "sra" { xfail { hpp
+a*-*-hpux* && { ! lp64 } } } } } */
+/* { dg-final { scan-ipa-dump-times "component at byte offset" 4 "sra" { xfail { hpp
+a*-*-hpux* && { ! lp64 } } } } } */
diff --git a/gcc/testsuite/gcc.dg/ipa/ipcp-agg-12.c b/gcc/testsuite/gcc.dg/ipa/ipcp-agg-12.c
index 5c57913803e..57a94aca049 100644
--- a/gcc/testsuite/gcc.dg/ipa/ipcp-agg-12.c
+++ b/gcc/testsuite/gcc.dg/ipa/ipcp-agg-12.c
@@ -50,4 +50,4 @@  void entry2 (void)
 }


-/* { dg-final { scan-ipa-dump-times "adding an extra caller" 2 "cp" } } */
+/* { dg-final { scan-ipa-dump-times "adding an extra caller" 2 "cp" { xfail { hppa*-*-hpux* && { ! lp64 } } } } } */