[Bug fortran/104313] [10/11/12/13 Regression] ICE verify_gimple failed with -ff2c since r10-2279-ge0af8f52b10385d8

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jul 16 18:39:59 GMT 2022


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

--- Comment #11 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:663ac94cf02b18c9c89a2ada9d3c7cded08e29d6

commit r11-10150-g663ac94cf02b18c9c89a2ada9d3c7cded08e29d6
Author: Steve Kargl <kargl@gcc.gnu.org>
Date:   Fri Jul 15 22:07:15 2022 +0200

    Fortran: do not generate conflicting results under -ff2c [PR104313]

    gcc/fortran/ChangeLog:

            PR fortran/104313
            * trans-decl.c (gfc_generate_return): Do not generate conflicting
            fake results for functions with no result variable under -ff2c.

    gcc/testsuite/ChangeLog:

            PR fortran/104313
            * gfortran.dg/pr104313.f: New test.

    (cherry picked from commit 517fb1a78102df43f052c6934c27dd51d786aff7)


More information about the Gcc-bugs mailing list