re PR fortran/12841 (passing null to a subroutine)
authorTobias Schlüter <tobi@gcc.gnu.org>
Sat, 12 Jun 2004 14:06:19 +0000 (16:06 +0200)
committerTobias Schlüter <tobi@gcc.gnu.org>
Sat, 12 Jun 2004 14:06:19 +0000 (16:06 +0200)
commit662ef0f5c62f781c4d20406ee11333c63bac8eef
tree3f6f1f97c22b8ddc8b4db0231e42b95da118a586
parent4aef80f8e0b9f3a18e2afb6d10dcdcc26683d34d
re PR fortran/12841 (passing null to a subroutine)

fortran/
PR fortran/12841
* interface.c (compare_parameter, compare_actual_formal): Don't
check types and array shapes for NULL()
* trans-expr.c (conv_function_call): No double indirection for
NULL()
( I had accidentally committed the interface.c part before)

testuite/
PR fortran/12841
* gfortran.fortran-torture/execute/null_arg.f90: New test.

From-SVN: r83028
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.fortran-torture/execute/nullarg.f90 [new file with mode: 0644]