https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80484

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code

--- Comment #12 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to Jerry DeLisle from comment #8)
> Regarding:
> 
>    use dt_write_mod, only: B_type, write (formatted)
> 

The following patchlet allows the above to compile.

diff --git a/gcc/fortran/module.c b/gcc/fortran/module.c
index 4d6afa55..e8cba145 100644
--- a/gcc/fortran/module.c
+++ b/gcc/fortran/module.c
@@ -631,6 +631,7 @@ gfc_match_use (void)

        case INTERFACE_USER_OP:
        case INTERFACE_GENERIC:
+       case INTERFACE_DTIO:
          m = gfc_match (" =>");

          if (type == INTERFACE_USER_OP && m == MATCH_YES

I will get these into trunk (8.0) soon. 7.0 is in the middle of being released.
I will ask the release manager if I can apply it, but if not will backport it
after the release so it will get out there as soon as possible.

Reply via email to