re PR fortran/33162 (INTRINSIC functions as ACTUAL argument)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Wed, 31 Oct 2007 14:26:57 +0000 (14:26 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Wed, 31 Oct 2007 14:26:57 +0000 (14:26 +0000)
commit26033479fb7d724061af07716f0077934032bbf9
tree225d18b5b7c428001a8dd82bb1f810f3a517d524
parent2c26cbfd237121530e5f3b74d48de1688e3b31e6
re PR fortran/33162 (INTRINSIC functions as ACTUAL argument)

2007-10-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/33162
* interface.c (compare_intr_interfaces): New function to check intrinsic
function arguments against formal arguments. (compare_interfaces): Fix
logic in comparison of function and subroutine attributes.
(compare_parameter): Use new function for intrinsic as argument.
* resolve.c (resolve_actual_arglist): Allow an intrinsic without
function attribute to be checked further.  Set function attribute if
intrinsic symbol is found, return FAILURE if not.

From-SVN: r129798
gcc/fortran/ChangeLog
gcc/fortran/interface.c
gcc/fortran/resolve.c