------- Additional Comments From tobi at gcc dot gnu dot org  2005-01-05 17:12 
-------
I don't understand why my build hadn't picked up the changes to io.h, which made
me miss the typo.  Apart from that there's another inconsistency, cured by this
patch to trans-io.c.  Can you test this please?

2005-01-05  Tobias Schlueter  <[EMAIL PROTECTED]>

        PR fortran/19194
        * trans-io.c (gfc_build_io_library_fndecls): 'recl_in' is not a pointer
        field.

Index: trans-io.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/fortran/trans-io.c,v
retrieving revision 1.25
diff -u -p -r1.25 trans-io.c
--- trans-io.c  3 Jan 2005 21:43:55 -0000       1.25
+++ trans-io.c  5 Jan 2005 17:07:59 -0000
@@ -185,7 +185,7 @@ gfc_build_io_library_fndecls (void)
   ADD_FIELD (nextrec, gfc_pint4_type_node);
   ADD_FIELD (size, gfc_pint4_type_node);

-  ADD_FIELD (recl_in, gfc_pint4_type_node);
+  ADD_FIELD (recl_in, gfc_int4_type_node);
   ADD_FIELD (recl_out, gfc_pint4_type_node);

   ADD_FIELD (iolength, gfc_pint4_type_node);

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19194

Reply via email to