[gcc r11-6960] testsuite: Fix up a testcase to find the right ISO_Fortran_binding.h.

David Edelsohn dje@gcc.gnu.org
Thu Jan 28 17:44:05 GMT 2021


https://gcc.gnu.org/g:e28bd09498bb8ee0dbb35ee213c1127b80ade00c

commit r11-6960-ge28bd09498bb8ee0dbb35ee213c1127b80ade00c
Author: David Edelsohn <dje.gcc@gmail.com>
Date:   Thu Jan 28 12:42:00 2021 -0500

        testsuite: Fix up a testcase to find the right ISO_Fortran_binding.h.
    
    gcc/testsuite/ChangeLog:
    
            * gfortran.dg/ISO_Fortran_binding_18.c: Include
            ../../../libgfortran/ISO_Fortran_binding.h rather than
            ISO_Fortran_binding.h.

Diff:
---
 gcc/testsuite/gfortran.dg/ISO_Fortran_binding_18.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_18.c b/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_18.c
index 4d1c4ecbd72..eef5cc632c9 100644
--- a/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_18.c
+++ b/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_18.c
@@ -1,8 +1,6 @@
-#include <ISO_Fortran_binding.h>
-
 #include <stdlib.h>
 #include <string.h>
-
+#include "../../../libgfortran/ISO_Fortran_binding.h"
 
 
 extern int do_loop(CFI_cdesc_t* array);


More information about the Gcc-cvs mailing list