[Bug fortran/95053] [11 regression] ICE in f951: gfc_divide()

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon May 11 19:27:40 GMT 2020


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

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

https://gcc.gnu.org/g:1422c2e4462c9b7c44aa035ac56af77565556181

commit r11-288-g1422c2e4462c9b7c44aa035ac56af77565556181
Author: Harald Anlauf <anlauf@gmx.de>
Date:   Mon May 11 21:27:11 2020 +0200

    PR fortran/95053 - ICE in gfc_divide(): Bad basic type

            The fix for PR 93499 introduced a too strict check in gfc_divide
            that could trigger errors in the early parsing phase.  Relax the
            check and defer to a later stage.

    gcc/fortran/

    2020-05-11  Harald Anlauf  <anlauf@gmx.de>

            PR fortran/95053
            * arith.c (gfc_divide): Do not error out if operand 2 is
            non-numeric.  Defer checks to later stage.

    gcc/testsuite/

    2020-05-11  Harald Anlauf  <anlauf@gmx.de>

            PR fortran/95053
            * gfortran.dg/pr95053.f: New test.


More information about the Gcc-bugs mailing list