re PR fortran/54667 ([OOP] gimplification failure with c_f_pointer)
commit1b04be5d4a6109d44b54ad398da63623db9dab94
authorJanus Weil <janus@gcc.gnu.org>
Sun, 30 Sep 2012 16:36:02 +0000 (30 18:36 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Sun, 30 Sep 2012 16:36:02 +0000 (30 18:36 +0200)
treef8809ca55ffd12c09363fc709ab4fae5951abfab
parentb4ca0e1a10478580672eccf006c6bf1daaf84f3d
re PR fortran/54667 ([OOP] gimplification failure with c_f_pointer)

2012-09-30  Janus Weil  <janus@gcc.gnu.org>

PR fortran/54667
* intrinsic.texi (C_F_POINTER): Fix description.
* resolve.c (gfc_iso_c_sub_interface): Add a check for FPTR argument
of C_F_POINTER. Modify two error messages. Cleanup.

2012-09-30  Janus Weil  <janus@gcc.gnu.org>

PR fortran/54667
* gfortran.dg/c_funloc_tests_6.f90: Modified error message.
* gfortran.dg/c_f_pointer_shape_test.f90: Ditto.
* gfortran.dg/c_f_pointer_tests_5.f90: New.

From-SVN: r191870
gcc/fortran/ChangeLog
gcc/fortran/intrinsic.texi
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/c_f_pointer_shape_test.f90
gcc/testsuite/gfortran.dg/c_f_pointer_tests_5.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/c_funloc_tests_6.f90