OSDN Git Service

2010-08-15 Tobias Burnus <burnus@net-b.de>
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 15 Aug 2010 16:04:49 +0000 (16:04 +0000)
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 15 Aug 2010 16:04:49 +0000 (16:04 +0000)
commitaf86198698988e4837df6f8e16ff21a2944ae975
treea4cb2857a24f9fc0a97c5791a6cc3f3c2d51f227
parent728e95c825715bc3fdfa656088cb47cf072a0de1
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163263 138bc75d-0d04-0410-961f-82ee72b054a4
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]