[gcc(refs/vendors/ibm/heads/gcc-9)] Fix gfortran.dg/ISO_Fortran_binding_17.c using rel. #include

Peter Bergner bergner@gcc.gnu.org
Tue Feb 4 20:57:00 GMT 2020


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

commit 8afd44a899985f2454d1fea38d7a2518d1c0863e
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Thu Nov 14 08:02:42 2019 +0000

    Fix gfortran.dg/ISO_Fortran_binding_17.c using rel. #include
    
            PR fortran/92470
            PR fortran/92500
            * gfortran.dg/ISO_Fortran_binding_17.c: Include
            ISO_Fortran_binding.h with relative path.
    
    From-SVN: r278201

Diff:
---
 gcc/testsuite/ChangeLog                            | 7 +++++++
 gcc/testsuite/gfortran.dg/ISO_Fortran_binding_17.c | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 9ed961d..8f97012 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,12 @@
 2019-11-13  Tobias Burnus  <tobias@codesourcery.com>
 
+	PR fortran/92470
+	PR fortran/92500
+	* gfortran.dg/ISO_Fortran_binding_17.c: Include
+	ISO_Fortran_binding.h with relative path.
+
+2019-11-13  Tobias Burnus  <tobias@codesourcery.com>
+
 	Backport from mainline
 	2019-11-13  Tobias Burnus  <tobias@codesourcery.com>
 
diff --git a/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_17.c b/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_17.c
index b0893cc..14dfcc9 100644
--- a/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_17.c
+++ b/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_17.c
@@ -2,7 +2,7 @@
 
 #include <stdio.h>
 #include <assert.h>
-#include "ISO_Fortran_binding.h"
+#include "../../../libgfortran/ISO_Fortran_binding.h"
 
 void Csub(const CFI_cdesc_t *, size_t, CFI_index_t invalid);



More information about the Gcc-cvs mailing list