]> gcc.gnu.org Git - gcc.git/commit
re PR fortran/40869 ([F03] PPC assignment checking)
authorJanus Weil <janus@gcc.gnu.org>
Thu, 27 Aug 2009 19:48:46 +0000 (21:48 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Thu, 27 Aug 2009 19:48:46 +0000 (21:48 +0200)
commit889dc035812dfc72033fb61b7b3433dba072e279
tree0b4f4a7e22430637b541964f0f58ea591ed634ea
parent0930984ef0f7920353aa5465322e42a17706aa3d
re PR fortran/40869 ([F03] PPC assignment checking)

2009-08-27  Janus Weil  <janus@gcc.gnu.org>

PR fortran/40869
* expr.c (gfc_check_pointer_assign): Enable interface check for
pointer assignments involving procedure pointer components.
* gfortran.h (gfc_compare_interfaces): Modified prototype.
* interface.c (gfc_compare_interfaces): Add argument 'name2', to be
used instead of s2->name. Don't rely on the proc_pointer attribute,
but instead on the flags handed to this function.
(check_interface1,compare_parameter): Add argument for
gfc_compare_interfaces.
* resolve.c (check_generic_tbp_ambiguity): Ditto.

2009-08-27  Janus Weil  <janus@gcc.gnu.org>

PR fortran/40869
* gfortran.dg/proc_ptr_comp_20.f90: New.

From-SVN: r151147
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/fortran/gfortran.h
gcc/fortran/interface.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/proc_ptr_comp_20.f90 [new file with mode: 0644]
This page took 0.05595 seconds and 5 git commands to generate.