[Bug fortran/103413] [10/11/12/13 Regression] ICE: Invalid expression in gfc_element_size since r10-2083-g8dc63166e0b85954

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Oct 28 20:57:00 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103413

--- Comment #19 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Harald Anlauf
<anlauf@gcc.gnu.org>:

https://gcc.gnu.org/g:3b4c9e0658b13b8db6c7f38242ed270cdb8fc932

commit r10-11063-g3b4c9e0658b13b8db6c7f38242ed270cdb8fc932
Author: Harald Anlauf <anlauf@gmx.de>
Date:   Wed Oct 26 21:00:44 2022 +0200

    Fortran: BOZ literal constants are not compatible to any type [PR103413]

    gcc/fortran/ChangeLog:

            PR fortran/103413
            * symbol.c (gfc_type_compatible): A boz-literal-constant has no
type
            and thus is not considered compatible to any type.

    gcc/testsuite/ChangeLog:

            PR fortran/103413
            * gfortran.dg/illegal_boz_arg_4.f90: New test.

    (cherry picked from commit f7d28818179247685f3c101f9f2f16366f56309b)


More information about the Gcc-bugs mailing list