[PATCH] PR fortran/89103 - Allow blank format items in format strings

Mark Eggleston mark.eggleston@codethink.co.uk
Thu May 23 08:19:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89103 see comment 4

Please can some one commit the attached patch for me as I do not have 
the privileges to do so.

Change logs:

gcc/fortran

     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 to section on Commas in FORMAT specifications.
     * io.c (check_format): At FMT_RPAREN goto finished if
     -fdec-blank-format-item.
     * lang.opt: Add new option.
     * options.c (set_dec_flags): Add SET_BITFLAG for
     flag_dec_format_defaults.

gcc/testsuite

     Jim MacArthur <jim.macarthur@codethink.co.uk>
     Mark Eggleston <mark.eggleston@codethink.com>

     PR fortran/89103
     * 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.

-- 
https://www.codethink.co.uk/privacy.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Allow-blank-format-items-in-format-strings.patch
Type: text/x-patch
Size: 7765 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190523/d76a2629/attachment.bin>


More information about the Gcc-patches mailing list