re PR fortran/21177 (wrong code with NULL())
authorFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Wed, 27 Apr 2005 15:37:53 +0000 (15:37 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Wed, 27 Apr 2005 15:37:53 +0000 (15:37 +0000)
commit90aeadcb5c1c498a6b4260a3e35063618541aff0
tree994299707c399c2909c8c7b1436fe3b387996d36
parentb9f8dfba4222e65611c4e9ff15ee392a40e5117a
re PR fortran/21177 (wrong code with NULL())

PR fortran/21177

* interface.c (compare_parameter): Ignore type for EXPR_NULL
only if type is BT_UNKNOWN.

* gfortran.dg/pr21177.f90: New test

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