[committed] Skip some tests that require assembler .ident support on 32-bit hppa*-*-hpux*

Message ID 291e6c65-e06e-6fd6-33cc-3a477321afbe@bell.net
State New
Headers show
Series
  • [committed] Skip some tests that require assembler .ident support on 32-bit hppa*-*-hpux*
Related show

Commit Message

John David Anglin March 9, 2019, 9:52 p.m.
The 32-bit hppa*-*-hpux* target lacks .ident support, so we need to fix some failing
ident tests.

Committed to trunk.

Dave
-- 
John David Anglin  dave.anglin@bell.net

2019-03-09  John David Anglin  <dave.anglin@bell.net>

	* c-c++-common/ident-0b.c: Also skip on 32-bit hppa*-*-hpux*.
	* c-c++-common/ident-1a.c: Likewise.
	* c-c++-common/ident-1b.c: Likewise.
	* c-c++-common/ident-2b.c: Likewise.

Patch

Index: c-c++-common/ident-0b.c
===================================================================
--- c-c++-common/ident-0b.c	(revision 269537)
+++ c-c++-common/ident-0b.c	(working copy)
@@ -2,7 +2,7 @@ 
  * Make sure scan-assembler-not turns off .ident unless -fident in testcase */
 /* { dg-do compile } */
 /* { dg-options "-fident" } */
-/* { dg-skip-if "no assembler .ident support" { powerpc*-*-darwin* } } */
+/* { dg-skip-if "no assembler .ident support" { { hppa*-*-hpux* && { ! lp64 } } || powerpc*-*-darwin* } } */
 int i;

 /* { dg-final { scan-assembler-not "GCC: " { xfail *-*-* } } } */
Index: c-c++-common/ident-1a.c
===================================================================
--- c-c++-common/ident-1a.c	(revision 269537)
+++ c-c++-common/ident-1a.c	(working copy)
@@ -1,7 +1,7 @@ 
 /* PR testsuite/52665
  * Make sure scan-assembler turns off .ident  */
 /* { dg-do compile } */
-/* { dg-skip-if "no assembler .ident support" { powerpc*-*-darwin* } } */
+/* { dg-skip-if "no assembler .ident support" { { hppa*-*-hpux* && { ! lp64 } } || powerpc*-*-darwin* } } */
 int i;

 /* { dg-final { scan-assembler "GCC: " { xfail *-*-* } } } */
Index: c-c++-common/ident-1b.c
===================================================================
--- c-c++-common/ident-1b.c	(revision 269537)
+++ c-c++-common/ident-1b.c	(working copy)
@@ -4,4 +4,4 @@ 
 /* { dg-options "-fident" } */
 int i;

-/* { dg-final { scan-assembler "GCC: " { xfail powerpc-ibm-aix* powerpc*-*-darwin* } } } */
+/* { dg-final { scan-assembler "GCC: " { xfail { { hppa*-*-hpux* && { ! lp64 } } || { powerpc-ibm-aix* || powerpc*-*-darwin* } } } } } */
Index: c-c++-common/ident-2b.c
===================================================================
--- c-c++-common/ident-2b.c	(revision 269537)
+++ c-c++-common/ident-2b.c	(working copy)
@@ -4,4 +4,4 @@ 
 /* { dg-options "-fident" } */
 int ident;

-/* { dg-final { scan-assembler-times "GCC: " 1 { xfail powerpc-ibm-aix* powerpc*-*-darwin* } } } */
+/* { dg-final { scan-assembler "GCC: " { xfail { { hppa*-*-hpux* && { ! lp64 } } || { powerpc-ibm-aix* || powerpc*-*-darwin* } } } } } */