https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90374
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anlauf at gcc dot gnu.org
--- Comment #6 from anlauf at gcc dot gnu.org ---
(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 {}?