]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/84394 (compiler error when using modules with derived types in block...
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 17 Mar 2019 12:54:29 +0000 (12:54 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 17 Mar 2019 12:54:29 +0000 (12:54 +0000)
commit41557ae3d543f6f613201bdac7bb3f6dc8476e07
treed2a33ee96e3b2ad7cf0c634ed7a0369b007cf589
parentface721e11f1a053c0db2478f8c0f47e19625190
re PR fortran/84394 (compiler error when using modules with derived types in block data subprograms)

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

PR fortran/84394
Backport from trunk
* 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-17  Thomas Koenig  <tkoenig@gcc.gnu.org>

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

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