This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/25829] [F03] Asynchronous IO support
- 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, 28 Apr 2018 15:06:43 +0000
- Subject: [Bug fortran/25829] [F03] Asynchronous IO support
- Auto-submitted: auto-generated
- References: <bug-25829-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25829
--- Comment #39 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Per definition in ioparm.def in frontend:
IOPARM (wait, id, 1 << 7, pint4)
id should be a pointer to an integer kind=4.
This means:
> typedef struct
> {
> st_parameter_common common;
> GFC_IO_INT id;
> }
> st_parameter_wait;
should be:
typedef struct
{
st_parameter_common common;
GFC_INTEGER_4 *id;
}
st_parameter_wait;