From: Tom de Vries Date: Thu, 15 Oct 2020 07:37:03 +0000 (+0200) Subject: [nvptx, testsuite] Fix xpass with ident-0b.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6760065a1388ed70094ff9308464773a24324814;p=gcc.git [nvptx, testsuite] Fix xpass with ident-0b.c For nvptx, I see: ... XPASS: c-c++-common/ident-0b.c -Wc++-compat scan-assembler-not GCC: ... Fix this by requiring effective target ident_directive. Tested on nvptx. gcc/testsuite/ChangeLog: 2020-10-15 Tom de Vries * c-c++-common/ident-0b.c: Require effective target ident_directive. --- diff --git a/gcc/testsuite/c-c++-common/ident-0b.c b/gcc/testsuite/c-c++-common/ident-0b.c index 67b593c63ad..b46d85010d9 100644 --- a/gcc/testsuite/c-c++-common/ident-0b.c +++ b/gcc/testsuite/c-c++-common/ident-0b.c @@ -2,6 +2,7 @@ * Make sure scan-assembler-not turns off .ident unless -fident in testcase */ /* { dg-do compile } */ /* { dg-options "-fident" } */ +/* { dg-require-effective-target ident_directive }*/ /* { dg-skip-if "no assembler .ident support" { { hppa*-*-hpux* && { ! lp64 } } || powerpc*-*-darwin* } } */ int i;