re PR fortran/62125 (Nested select type not accepted (rejects valid))
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Fri, 15 Jul 2016 19:58:55 +0000 (19:58 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Fri, 15 Jul 2016 19:58:55 +0000 (19:58 +0000)
commita07b81c7422349f3a104058af3ae192565a6a6f4
tree61b7c0ce5454c61aa9c28620d7b1f82c25a99954
parentd1129d45b09c6fe0542f439fffda3bd4667a67a1
re PR fortran/62125 (Nested select type not accepted (rejects valid))

2016-07-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
    Marco Restelli <mrestelli@gmail.com>

PR fortran/62125
* symbol.c (select_type_insert_tmp): Recursively call self to take care
of nested select type.

* gfortran.dg/pr62125.f90: New test.

Co-Authored-By: Marco Restelli <mrestelli@gmail.com>
From-SVN: r238400
gcc/fortran/ChangeLog
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr62125.f90 [new file with mode: 0644]