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

--- Comment #7 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Sat, Feb 17, 2018 at 03:56:14AM +0000, jvdelisle at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84389
> 
> I think I prefer this patch, regression tested OK.
> 
> diff --git a/gcc/fortran/io.c b/gcc/fortran/io.c
> index 9b7c2de16f4..d9f0fb1d4ac 100644
> --- a/gcc/fortran/io.c
> +++ b/gcc/fortran/io.c
> @@ -985,6 +985,9 @@ data_desc:
>         case FMT_COMMA:
>           goto format_item;
> 
> +       case FMT_COLON:
> +         goto format_item_1;
> +
>         case FMT_LPAREN:
> 
>    dtio_vlist:
> 

Works for me.

Reply via email to