aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-unswitch.c
diff options
context:
space:
mode:
authorJanus Weil <janus@gcc.gnu.org>2009-06-27 00:11:15 +0200
committerJanus Weil <janus@gcc.gnu.org>2009-06-27 00:11:15 +0200
commitfc9c6e5d64f4dbdc1f7a53a4fa14ddc3f124f165 (patch)
treea011c58836777edcbf0334f314676e4eccd1a4bf /gcc/tree-ssa-loop-unswitch.c
parent9833720d3bf1e5adf2319bb480b882dad8060182 (diff)
downloadgcc-fc9c6e5d64f4dbdc1f7a53a4fa14ddc3f124f165.zip
gcc-fc9c6e5d64f4dbdc1f7a53a4fa14ddc3f124f165.tar.gz
gcc-fc9c6e5d64f4dbdc1f7a53a4fa14ddc3f124f165.tar.bz2
re PR fortran/39997 (Procedure(), pointer & implicit typing: rejects-valid / accepts-invalid?)
2009-06-26 Janus Weil <janus@gcc.gnu.org> PR fortran/39997 PR fortran/40541 * decl.c (add_hidden_procptr_result): Copy the typespec to the hidden result. * expr.c (gfc_check_pointer_assign): Enable interface check for procedure pointer assignments where the rhs is a function returning a procedure pointer. * resolve.c (resolve_symbol): If an external procedure with unspecified return type can not be implicitly typed, it must be a subroutine. 2009-06-26 Janus Weil <janus@gcc.gnu.org> PR fortran/39997 PR fortran/40541 * gfortran.dg/proc_ptr_15.f90: Fixed and extended. * gfortran.dg/proc_ptr_common_1.f90: Fixed invalid test case. * gfortran.dg/proc_ptr_result_1.f90: Ditto. * gfortran.dg/proc_ptr_result_5.f90: New. From-SVN: r148996
Diffstat (limited to 'gcc/tree-ssa-loop-unswitch.c')
0 files changed, 0 insertions, 0 deletions