re PR fortran/70842 (internal compiler error with character members within a polymorp...
authorAndre Vehreschild <vehre@gcc.gnu.org>
Thu, 14 Jul 2016 17:07:47 +0000 (19:07 +0200)
committerAndre Vehreschild <vehre@gcc.gnu.org>
Thu, 14 Jul 2016 17:07:47 +0000 (19:07 +0200)
commit1f8dd420ebf769bd0b8068af416735f082464575
tree7f737d9f104e3471b6e68a90dba3176927887b54
parentaefae0f13c8622a095ae966de321566d529bbd70
re PR fortran/70842 (internal compiler error with character members within a polymorphic pointer)

gcc/testsuite/ChangeLog:

2016-07-14  Andre Vehreschild  <vehre@gcc.gnu.org>

PR fortran/70842
* gfortran.dg/select_type_35.f03: New test.

gcc/fortran/ChangeLog:

2016-07-14  Andre Vehreschild  <vehre@gcc.gnu.org>

PR fortran/70842
* simplify.c (gfc_simplify_len): Only for unlimited polymorphic
types replace the expression's _data ref with a _len ref.

From-SVN: r238347
gcc/fortran/ChangeLog
gcc/fortran/simplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/select_type_35.f03 [new file with mode: 0644]