]> gcc.gnu.org Git - gcc.git/commit - gcc/fortran/interface.c
trans-expr.c (gfc_conv_expr_present): Regard nullified pointer arrays as absent.
authorTobias Burnus <burnus@net-b.de>
Sun, 15 Aug 2010 16:04:49 +0000 (18:04 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Sun, 15 Aug 2010 16:04:49 +0000 (18:04 +0200)
commit08857b61110b21df00ad74de9d36ef8392dc98d3
treea4cb2857a24f9fc0a97c5791a6cc3f3c2d51f227
parent7d54ef80fef93c68354ffa09448ad9c6e32c1545
trans-expr.c (gfc_conv_expr_present): Regard nullified pointer arrays as absent.

2010-08-15  Tobias Burnus  <burnus@net-b.de>

        * trans-expr.c (gfc_conv_expr_present): Regard nullified
        pointer arrays as absent.
        (gfc_conv_procedure_call): Handle EXPR_NULL for non-pointer
        dummys as absent argument.
        * interface.c (compare_actual_formal,compare_parameter):
        Ditto.

2010-08-15  Tobias Burnus  <burnus@net-b.de>

        * gfortran.dg/optional_absent_1.f90: New.
        * gfortran.dg/null_actual.f90: New.

From-SVN: r163263
gcc/fortran/ChangeLog
gcc/fortran/interface.c
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/null_actual.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/optional_absent_1.f90 [new file with mode: 0644]
This page took 0.0628 seconds and 5 git commands to generate.