re PR fortran/84394 (compiler error when using modules with derived types in block...
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 16 Mar 2019 11:50:03 +0000 (11:50 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 16 Mar 2019 11:50:03 +0000 (11:50 +0000)
commitfbf1cec7a4f6457161c1bfb3ba982e3f8190888e
tree16851a192bf714fbd289e34b793d69d5efb8ef05
parent0759ca4a92e9e269c8001fb8023f0539a1b315fa
re PR fortran/84394 (compiler error when using modules with derived types in block data subprograms)

2019-03-16  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/84394
* symbol.c (gfc_add_subroutine): If we are encountering a
subrtoutine within a BLOCK DATA and the name starts with an
underscore, do not check.

2019-03-16  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/84394
* gfortran.dg/blockdata_11.f90: New test.

From-SVN: r269721
gcc/fortran/ChangeLog
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/blockdata_11.f90 [new file with mode: 0644]