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 18:49:23 +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
--- Comment #8 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Regarding:
use dt_write_mod, only: B_type, write (formatted)
This works:
use dt_write_mod, only: B_type
It seems to me that since write (formatted) is a special instance of an
interface defined by the langauge that it should nut be included in the ONLY
and might even be invalid. Its not really a name. The error is an ICE from
hitting what was expected to be unreachable.
I wonder if we should accept it and do nothing or reject with an error message.
I will have to read the Standard and try to understand this a little better.