public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-5980] nvptx: Adjust 'scan-assembler' in 'gfortran.dg/weak-1.f90'
@ 2023-02-14  9:20 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2023-02-14  9:20 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:8d8175869ca94c600e64e27b7676787b2a398f6e

commit r13-5980-g8d8175869ca94c600e64e27b7676787b2a398f6e
Author: Thomas Schwinge <thomas@codesourcery.com>
Date:   Tue Feb 14 10:11:19 2023 +0100

    nvptx: Adjust 'scan-assembler' in 'gfortran.dg/weak-1.f90'
    
    Fix-up for recent commit 086a1df4374962787db37c1f0d1bd9beb828f9e3
    "Fortran: Add !GCC$ attributes NOINLINE,NORETURN,WEAK".
    
            gcc/testsuite/
            * gfortran.dg/weak-1.f90: Adjust 'scan-assembler' for nvptx.

Diff:
---
 gcc/testsuite/gfortran.dg/weak-1.f90 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/gfortran.dg/weak-1.f90 b/gcc/testsuite/gfortran.dg/weak-1.f90
index d9aca686775..9ec1fe74053 100644
--- a/gcc/testsuite/gfortran.dg/weak-1.f90
+++ b/gcc/testsuite/gfortran.dg/weak-1.f90
@@ -1,6 +1,7 @@
 ! { dg-do compile }
 ! { dg-require-weak "" }
-! { dg-final { scan-assembler "weak\[^ \t\]*\[ \t\]_?impl" } }
+! { dg-final { scan-assembler "weak\[^ \t\]*\[ \t\]_?impl" { target { ! nvptx-*-* } } } }
+! { dg-final { scan-assembler-times "\\.weak \\.func impl" 2 { target nvptx-*-* } } }
 subroutine impl
 !GCC$ ATTRIBUTES weak :: impl
 end subroutine

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-14  9:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-14  9:20 [gcc r13-5980] nvptx: Adjust 'scan-assembler' in 'gfortran.dg/weak-1.f90' Thomas Schwinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).