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

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

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

commit r12-8572-gc1b0037bcc26019a87935e5634b6d448e9773193
Author: Steve Kargl <ka...@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.cc (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)

Reply via email to