]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/33162 (INTRINSIC functions as ACTUAL argument)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Wed, 14 Nov 2007 00:59:09 +0000 (00:59 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Wed, 14 Nov 2007 00:59:09 +0000 (00:59 +0000)
commit6cc309c9234d18f69b2c70ec0220becf3b0f58f5
treec296e0620442c1d321dbe2b55bcada779f15b955
parent7cbb9e290262fc10104e673248332e1a889ac1b4
re PR fortran/33162 (INTRINSIC functions as ACTUAL argument)

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

PR fortran/33162
* decl.c (match_procedure_decl): Remove TODO and allow intrinsics in
PROCEDURE declarations.  Set attr.untyped to allow the interface to be
resolved later where the symbol type will be set.
* interface.c (compare_intr_interfaces): Remove static from pointer
declarations.  Add type and kind checks for dummy function arguments.
(compare_actual_formal_intr): New function to compare an actual
argument with an intrinsic function. (gfc_procedures_use): Add check for
interface that points to an intrinsic function, use the new function.
* resolve.c (resolve_specific_f0): Resolve the intrinsic interface.
(resolve_specific_s0): Ditto.

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