https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90374
--- Comment #7 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to anlauf from comment #6)
> (In reply to Jerry DeLisle from comment #5)
> > Author: jvdelisle
> > Date: Thu Nov 28 18:33:20 2019
> > New Revision: 278817
>
> Jerry,
>
> your change to format.c generates a warning here:
>
> ../../../trunk/libgfortran/io/format.c: In function 'parse_format_list':
> ../../../trunk/libgfortran/io/format.c:1029:7: warning: suggest explicit
> braces to avoid am
> biguous 'else' [-Wdangling-else]
> 1029 | if (t != FMT_POSINT)
> | ^
>
> Looking at the context:
>
> t = format_lex (fmt);
> if (t != FMT_POSINT)
> if (t == FMT_ZERO)
> {
>
> this seems to make sense (to me). Do you plan to add {}?
Hi Herald, I saw that also, so plan to add the braces.