[Bug fortran/91359] logical function X returns .TRUE. - Warning: spaghetti code

kargl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Aug 12 20:09:00 GMT 2019


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

--- Comment #16 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Mon Aug 12 20:09:00 2019
New Revision: 274319

URL: https://gcc.gnu.org/viewcvs?rev=274319&root=gcc&view=rev
Log:
2019-08-12  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/91359
        * trans-decl.c (gfc_generate_return): Ensure something is returned
        from a function.

2019-08-12  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/91359
        * gfortran.dg/pr91359_1.f: New test.
        * gfortran.dg/pr91359_2.f: Ditto.

Added:
    branches/gcc-9-branch/gcc/testsuite/gfortran.dg/pr91359_1.f
    branches/gcc-9-branch/gcc/testsuite/gfortran.dg/pr91359_2.f
Modified:
    branches/gcc-9-branch/gcc/fortran/ChangeLog
    branches/gcc-9-branch/gcc/fortran/trans-decl.c
    branches/gcc-9-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list