This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gfortran] patch for mixed C-Fortran I/O


Built and regtested on i686-linux. Comes with a testcase. OK for
mainline and 4.0 (after due testing)?

Commited, as well as an additional patch (attached, considered obvious) to enable the use of dg-additional-sources in 4.0 (it was only enabled in mainline before).


FX
Index: gcc/testsuite/ChangeLog
===================================================================
--- gcc/testsuite/ChangeLog	(revision 106018)
+++ gcc/testsuite/ChangeLog	(working copy)
@@ -1,5 +1,10 @@
 2005-10-30  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
 
+	* lib/gfortran.exp (gfortran_target_compile): Call
+	dg-additional-files-options.
+
+2005-10-30  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
+
 	PR libfortran/20179
 	* gfortran.dg/mixed_io_1.f90: New test.
 	* gfortran.dg/mixed_io_1.c: New file.
Index: gcc/testsuite/lib/gfortran.exp
===================================================================
--- gcc/testsuite/lib/gfortran.exp	(revision 106017)
+++ gcc/testsuite/lib/gfortran.exp	(working copy)
@@ -188,6 +188,7 @@
     lappend options "compiler=$GFORTRAN_UNDER_TEST";
 
     set options [concat "$ALWAYS_GFORTRANFLAGS" $options];
+    set options [dg-additional-files-options $options $source]
 
     return [target_compile $source $dest $type $options]
 }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]