re PR fortran/57834 (C_F_POINTER (only with -std=): accepts only explicit- and assume...
authorTobias Burnus <burnus@net-b.de>
Mon, 8 Jul 2013 19:05:16 +0000 (21:05 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Mon, 8 Jul 2013 19:05:16 +0000 (21:05 +0200)
commit5e7ea2143a3cbc557e07a31f84a51a0bcc0e98cd
treeb54c2698e63d3180109abdd587d637a11196af00
parent4a283fdfbf9eb2bee7ccba7cbe75ac5e11ba0ce2
re PR fortran/57834 (C_F_POINTER (only with -std=): accepts only explicit- and assumed-size arrays for FPTR when SHAPE is present)

2013-07-08  Tobias Burnus  <burnus@net-b.de>

        PR fortran/57834
        * check.c (is_c_interoperable): Add special case for
        * c_f_pointer.
        (explicit-size, gfc_check_c_f_pointer, gfc_check_c_loc): Update
        call.

2013-07-08  Tobias Burnus  <burnus@net-b.de>

        PR fortran/57834
        * gfortran.dg/c_f_pointer_tests_8.f90: New.

From-SVN: r200794
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/c_f_pointer_tests_8.f90 [new file with mode: 0644]