This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/80484] Three syntax errors involving derived-type I/O
- From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 22 Apr 2017 21:28:01 +0000
- Subject: [Bug fortran/80484] Three syntax errors involving derived-type I/O
- Auto-submitted: auto-generated
- References: <bug-80484-4@http.gcc.gnu.org/bugzilla/>
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.