re PR fortran/92284 (Subroutine with bind(c) attribute causing varied problems)
authorJakub Jelinek <jakub@gcc.gnu.org>
Thu, 31 Oct 2019 16:37:55 +0000 (17:37 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 31 Oct 2019 16:37:55 +0000 (17:37 +0100)
PR fortran/92284
* gfortran.dg/bind_c_array_params_3_aux.c: Include
../../../libgfortran/ISO_Fortran_binding.h rather than
ISO_Fortran_binding.h.

From-SVN: r277679

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/bind_c_array_params_3_aux.c

index 4c85975d94767b5bf5995d1fe78fc6f59524812f..4660d2f024400a226f7d1562c15803726e21ba7e 100644 (file)
@@ -1,3 +1,10 @@
+2019-10-31  Jakub Jelinek  <jakub@redhat.com>
+
+       PR fortran/92284
+       * gfortran.dg/bind_c_array_params_3_aux.c: Include
+       ../../../libgfortran/ISO_Fortran_binding.h rather than
+       ISO_Fortran_binding.h.
+
 2019-10-31  Tobias Burnus  <tobias@codesourcery.com>
 
        * gfortran.dg/achar_2.f90: Remove bogus line from
@@ -31,7 +38,7 @@
 
 2019-10-31  Tobias Burnus  <tobias@codesourcery.com>
 
-       PR fortran/92284.
+       PR fortran/92284
        * gfortran.dg/bind-c-intent-out.f90: Update expected dump;
        extend comment.
        * gfortran.dg/bind_c_array_params_3.f90: New.
index 6e13aa3b2efd7e864b70288525519b62774bbfd5..07d1a033c5a0c59cfbd4bb1e776e5159e5d3be05 100644 (file)
@@ -5,7 +5,7 @@
 #include <errno.h>
 #include <stdio.h>
 
-#include "ISO_Fortran_binding.h"
+#include "../../../libgfortran/ISO_Fortran_binding.h"
 
 void arr_set_c(CFI_cdesc_t*);
 
@@ -24,4 +24,3 @@ void arr_set_c(CFI_cdesc_t *arr){
   for(i=0; i<ub[0]-lb[0]+1; i++) auxp[i]=i;
   return;
 }
-