public inbox for fortran@gcc.gnu.org
 help / color / mirror / Atom feed
* [Patch, committed] gfortran.dg/gomp/requires-4.f90: Fix !$omp syntax
@ 2020-11-27 10:50 Tobias Burnus
  0 siblings, 0 replies; only message in thread
From: Tobias Burnus @ 2020-11-27 10:50 UTC (permalink / raw)
  To: gcc-patches, fortran

[-- Attachment #1: Type: text/plain, Size: 364 bytes --]

Found when grepping & post commit. There were two !$omp issues in
the testcase – which (currently) do not show up due to the previous
(and intended) errors.

Tobias

-----------------
Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany
Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander Walter

[-- Attachment #2: committed.diff --]
[-- Type: text/x-patch, Size: 1750 bytes --]

commit 6fb9b4c97690c5750e49c32fa2a373a7c66c5d46
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Fri Nov 27 11:45:14 2020 +0100

    gfortran.dg/gomp/requires-4.f90: Fix !$omp clause
    
    gcc/testsuite/
            * gfortran.dg/gomp/requires-4.f90: Fix typo in '!$omp' clause.

diff --git a/gcc/testsuite/gfortran.dg/gomp/requires-4.f90 b/gcc/testsuite/gfortran.dg/gomp/requires-4.f90
index 0dc5e69da04..b17aceb898b 100644
--- a/gcc/testsuite/gfortran.dg/gomp/requires-4.f90
+++ b/gcc/testsuite/gfortran.dg/gomp/requires-4.f90
@@ -30,7 +30,7 @@ contains
     !$omp end target
   end subroutine
   subroutine bar
-    !$omp requires unified_addres ! { dg-error "must appear in the specification part of a program unit" }
+    !$omp requires unified_address ! { dg-error "must appear in the specification part of a program unit" }
   end subroutine bar
 end
 ! { dg-prune-output "not yet supported" }

commit d78e106e95191f44274c8c9ba196abd6fd5ed558
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Fri Nov 27 11:40:11 2020 +0100

    gfortran.dg/gomp/requires-4.f90: Fix !$omp syntax
    
    gcc/testsuite/
            * gfortran.dg/gomp/requires-4.f90: Fix '!$omp' syntax.

diff --git a/gcc/testsuite/gfortran.dg/gomp/requires-4.f90 b/gcc/testsuite/gfortran.dg/gomp/requires-4.f90
index e0eb4dbc603..0dc5e69da04 100644
--- a/gcc/testsuite/gfortran.dg/gomp/requires-4.f90
+++ b/gcc/testsuite/gfortran.dg/gomp/requires-4.f90
@@ -26,8 +26,8 @@ program main
 !$omp requires reverse_offload
 contains
   subroutine foo
-    !$target
-    !$end target
+    !$omp target
+    !$omp end target
   end subroutine
   subroutine bar
     !$omp requires unified_addres ! { dg-error "must appear in the specification part of a program unit" }

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

only message in thread, other threads:[~2020-11-27 10:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-27 10:50 [Patch, committed] gfortran.dg/gomp/requires-4.f90: Fix !$omp syntax Tobias Burnus

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).