[Bug fortran/30235] [4.1 and 4.2] missing alternate return argument with explicit interface causes segfault

pault at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Feb 18 21:19:00 GMT 2007



------- Comment #8 from pault at gcc dot gnu dot org  2007-02-18 21:18 -------
Subject: Bug 30235

Author: pault
Date: Sun Feb 18 21:18:28 2007
New Revision: 122105

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122105
Log:
2007-02-18  Brooks Moses  <brooks.moses@codesourcery.com>

        PR 30235
        * interface.c (compare_actual_formal): check for
        alternate returns when iterating over non-present
        arguments.

2007-02-18  Brooks Moses  <brooks.moses@codesourcery.com>

        PR 30235
        * gfortran.dg/altreturn_2.f90: new test.


Added:
    branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/altreturn_2.f90
Modified:
    branches/gcc-4_2-branch/gcc/fortran/ChangeLog
    branches/gcc-4_2-branch/gcc/fortran/interface.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30235



More information about the Gcc-bugs mailing list