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.ang...@bell.net 2019-03-09 John David Anglin <dave.ang...@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. 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* } } } } } */