]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/44925 ([OOP] C_LOC with CLASS pointer)
authorJanus Weil <janus@gcc.gnu.org>
Wed, 14 Jul 2010 08:09:05 +0000 (10:09 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Wed, 14 Jul 2010 08:09:05 +0000 (10:09 +0200)
commitf6199e635e7a3286d5580d17903e881e2701d1a8
tree54a2c46fe1716df95f4f8171b512adec531cd9f1
parentfa86d337f691f622a4ff946b8b8e87deffb72f7f
re PR fortran/44925 ([OOP] C_LOC with CLASS pointer)

2010-07-14  Janus Weil  <janus@gcc.gnu.org>

PR fortran/44925
* gfortran.h (gfc_is_data_pointer): Remove prototype.
* dependency.c (gfc_is_data_pointer): Make it static.
* intrinsic.texi: Update documentation on C_LOC.
* resolve.c (gfc_iso_c_func_interface): Fix pointer and target checks
and add a check for polymorphic variables.

2010-07-14  Janus Weil  <janus@gcc.gnu.org>

PR fortran/44925
* gfortran.dg/c_loc_tests_15.f90: New.

From-SVN: r162169
gcc/fortran/ChangeLog
gcc/fortran/dependency.c
gcc/fortran/gfortran.h
gcc/fortran/intrinsic.texi
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/c_loc_tests_15.f90 [new file with mode: 0644]