re PR fortran/84924 (Erroneous error in C_F_POINTER)
authorSeth Johnson <johnsonsr@ornl.gov>
Sun, 25 Mar 2018 11:30:24 +0000 (11:30 +0000)
committerDominique d'Humieres <dominiq@gcc.gnu.org>
Sun, 25 Mar 2018 11:30:24 +0000 (13:30 +0200)
commita2b471e494bf3942e35336227a846e332232d88c
treee5a533858deb6dbe102dd31881e67e07a06e070c
parent60ac5d9dd93ea7d95f69d9082eba0ed0d1a1baf0
re PR fortran/84924 (Erroneous error in C_F_POINTER)

2018-03-25  Seth Johnson <johnsonsr@ornl.gov>
Dominique d'Humieres  <dominiq@gcc.gnu.org>

PR fortran/84924
* check.c (gfc_check_c_f_pointer): Allow scalar noninteroperable
scalar derived type with -std=f2003 and -std=f2008.

2018-03-25  Seth Johnson <johnsonsr@ornl.gov>
Dominique d'Humieres  <dominiq@gcc.gnu.org>

PR fortran/84924
* gfortran.dg/scalar_pointer_1.f90: New test.

Co-Authored-By: Dominique d'Humieres <dominiq@gcc.gnu.org>
From-SVN: r258843
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/scalar_pointer_1.f90 [new file with mode: 0644]