re PR fortran/42936 (Result of passing NULL() as actual arg doesn't inherit character...
authorTobias Burnus <burnus@net-b.de>
Wed, 3 Feb 2010 08:26:08 +0000 (09:26 +0100)
committerTobias Burnus <burnus@gcc.gnu.org>
Wed, 3 Feb 2010 08:26:08 +0000 (09:26 +0100)
commitd8a8dab31c72d09222f42cdce6cc65d2437c8762
tree73c8a5aef1a09b5453b90f76643270931f047026
parent23f8e984b7983df4b06836a0662174c0331162ae
re PR fortran/42936 (Result of passing NULL() as actual arg doesn't inherit characteristics from the corresponding dummy arg)

2010-02-03  Tobias Burnus  <burnus@net-b.de>

        PR fortran/42936
        * interface.c (compare_parameter): Disable rank-checking
        for NULL().

2010-02-03  Tobias Burnus  <burnus@net-b.de>

        PR fortran/42936
        * gfortran.dg/null_4.f90: New test.

From-SVN: r156461
gcc/fortran/ChangeLog
gcc/fortran/interface.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/null_4.f90 [new file with mode: 0644]