]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/primary.c
PR93253 – Document BOZ changes, make it friendlier in legacy code
authorTobias Burnus <tobias@codesourcery.com>
Thu, 16 Jan 2020 07:50:57 +0000 (08:50 +0100)
committerTobias Burnus <tobias@codesourcery.com>
Thu, 16 Jan 2020 07:50:57 +0000 (08:50 +0100)
commitc35a3046247c495509610b50c7a85683d540811a
tree330563b37abe5109f2834b61a9593807f05c231e
parent03647d2e26176bb874460b67deab0c30aa715d59
PR93253 – Document BOZ changes, make it friendlier in legacy code

        PR fortran/93253
        * check.c (gfc_invalid_boz): Mention -fallow-invalid-boz
        in the error message.
        * gfortran.texi (BOZ literal constants): List another missing
        extension and refer to -fallow-invalid-boz.
        * lang.opt (fallow-invalid-boz): Also mention 'X' in the help text
        as it is not covered by the previous wording.
        * primary.c (match_boz_constant): Tweak wording such that it is
        clear how to fix the nonstandard use.

        PR fortran/93253
        * fortran.dg/boz_7.f90: Updated dg-error.
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/fortran/gfortran.texi
gcc/fortran/lang.opt
gcc/fortran/primary.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/boz_7.f90