This is the mail archive of the gcc-bugs@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]

[Bug fortran/80484] Three syntax errors involving derived-type I/O


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.

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