[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:48:58 GMT 2022


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

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

https://gcc.gnu.org/g:f2298bd50109e5460e8949290b5337ec28310e91

commit r11-10343-gf2298bd50109e5460e8949290b5337ec28310e91
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