Skip to content

Commit 002a0a6

Browse files
committed
Partially revert changes involving include/language-support.F90
This header is no longer relevant to the test code
1 parent 871dd26 commit 002a0a6

12 files changed

+2
-26
lines changed

include/language-support.F90

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
! Terms of use are as specified in LICENSE.txt
33

44
#ifdef __GNUC__
5-
# define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
6-
#else
7-
# define GCC_VERSION 0
5+
# define HAVE_GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
86
#endif
97

108
#ifndef HAVE_SELECTED_LOGICAL_KIND
@@ -21,7 +19,7 @@
2119
! Define whether the compiler supports associating a procedure pointer dummy argument with an
2220
! actual argument that is a valid target for the pointer dummy in a procedure assignment, a
2321
! feature introduced in Fortran 2008 and described in Fortran 2023 clause 15.5.2.10 paragraph 5.
24-
#if defined _CRAYFTN || defined __INTEL_COMPILER || defined NAGFOR || defined __flang__ || (GCC_VERSION > 140200)
22+
#if defined(_CRAYFTN) || defined(__INTEL_COMPILER) || defined(NAGFOR) || defined(__flang__) || (HAVE_GCC_VERSION > 140200)
2523
# define HAVE_PROCEDURE_ACTUAL_FOR_POINTER_DUMMY 1
2624
#else
2725
# define HAVE_PROCEDURE_ACTUAL_FOR_POINTER_DUMMY 0

test/prif_co_broadcast_test.F90

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#include "language-support.F90"
2-
31
module prif_co_broadcast_test_m
42
use prif, only : prif_co_broadcast, prif_num_images, prif_this_image_no_coarray
53
use julienne_m, only : &

test/prif_co_max_test.F90

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#include "language-support.F90"
2-
31
module prif_co_max_test_m
42
use iso_c_binding, only: c_int8_t, c_int16_t, c_int32_t, c_int64_t, c_float, c_double
53
use prif, only : prif_co_max, prif_co_max_character, prif_this_image_no_coarray, prif_num_images

test/prif_co_min_test.F90

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#include "language-support.F90"
2-
31
module prif_co_min_test_m
42
use iso_c_binding, only: c_int8_t, c_int16_t, c_int32_t, c_int64_t, c_float, c_double
53
use prif, only : prif_co_min, prif_co_min_character, prif_this_image_no_coarray, prif_num_images

test/prif_co_reduce_test.F90

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#include "language-support.F90"
2-
31
module prif_co_reduce_test_m
42
use iso_c_binding, only: c_ptr, c_funptr, c_size_t, c_f_pointer, c_f_procpointer, c_funloc, c_loc, c_null_ptr
53
use prif, only : prif_co_reduce, prif_num_images, prif_this_image_no_coarray, prif_operation_wrapper_interface

test/prif_co_sum_test.F90

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#include "language-support.F90"
2-
31
module prif_co_sum_test_m
42
use iso_c_binding, only: c_int8_t, c_int16_t, c_int32_t, c_int64_t, c_float, c_double
53
use prif, only : prif_co_sum, prif_num_images, prif_this_image_no_coarray

test/prif_coarray_inquiry_test.F90

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#include "language-support.F90"
2-
31
module prif_coarray_inquiry_test_m
42
use prif, only : &
53
prif_allocate_coarray, prif_deallocate_coarray, &

test/prif_image_queries_test.F90

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#include "language-support.F90"
2-
31
module prif_image_queries_test_m
42
use iso_c_binding, only: c_int
53
use prif, only : prif_image_status, prif_stopped_images, prif_failed_images, PRIF_STAT_FAILED_IMAGE, PRIF_STAT_STOPPED_IMAGE

test/prif_init_test.F90

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#include "language-support.F90"
2-
31
module prif_init_test_m
42
use prif, only : prif_init, PRIF_STAT_ALREADY_INIT
53
use julienne_m, only: test_description_t, test_diagnosis_t, test_result_t, test_t, operator(.equalsExpected.), usher

test/prif_num_images_test.F90

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#include "language-support.F90"
2-
31
module prif_num_images_test_m
42
use prif, only : prif_num_images
53
use julienne_m, only: &

0 commit comments

Comments
 (0)