[Bug fortran/29322] [4.1/4.2 Regression] ICE with character optional arg

pault at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Oct 3 20:13:00 GMT 2006



------- Comment #3 from pault at gcc dot gnu dot org  2006-10-03 20:13 -------
Subject: Bug 29322

Author: pault
Date: Tue Oct  3 20:13:03 2006
New Revision: 117413

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117413
Log:
2006-10-03  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/29284
        PR fortran/29321
        PR fortran/29322
        * trans-expr.c (gfc_conv_function_call): Check the expression
        and the formal symbol are present when testing the actual
        argument.

        PR fortran/25091
        PR fortran/25092
        * resolve.c (resolve_entries): It is an error if the entries
        of an array-valued function do not have the same shape.

2006-10-03  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/29284
        * gfortran.dg/optional_assumed_charlen_1.f90: New test.

        PR fortran/29321
        PR fortran/29322
        * gfortran.dg/missing_optional_dummy_2.f90: New test.

        PR fortran/25091
        PR fortran/25092
        * gfortran.dg/entry_array_specs_1.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/entry_array_specs_1.f90
    trunk/gcc/testsuite/gfortran.dg/missing_optional_dummy_2.f90
    trunk/gcc/testsuite/gfortran.dg/optional_assumed_charlen_1.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/resolve.c
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/testsuite/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list