[Bug fortran/89103] Allow blank format items in format strings
jvdelisle at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 19 03:02:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89103
--- Comment #10 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Author: jvdelisle
Date: Wed Jun 19 03:02:21 2019
New Revision: 272467
URL: https://gcc.gnu.org/viewcvs?rev=272467&root=gcc&view=rev
Log:
2019-06-19 Jim MacArthur <jim.macarthur@codethink.co.uk>
Mark Eggleston <mark.eggleston@codethink.com>
PR fortran/89103
* gfortran.texi: Add -fdec-blank-format-item
* invoke.texi: Add option to list of options.
* invoke.texi: Add to section on Commas in FORMAT specifications.
* io.c (check_format): At FMT_RPAREN goto finished if
-fdec-blank-format-item otherwise set error string.
* lang.opt: Add new option.
* options.c (set_dec_flags): Add SET_BITFLAG for
flag_dec_format_defaults.
* gfortran.dg/dec_format_empty_item_1.f: New test.
* gfortran.dg/dec_format_empty_item_2.f: New test.
* gfortran.dg/dec_format_empty_item_3.f: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/dec_format_empty_item_1.f
trunk/gcc/testsuite/gfortran.dg/dec_format_empty_item_2.f
trunk/gcc/testsuite/gfortran.dg/dec_format_empty_item_3.f
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/gfortran.texi
trunk/gcc/fortran/invoke.texi
trunk/gcc/fortran/io.c
trunk/gcc/fortran/lang.opt
trunk/gcc/fortran/options.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list