]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR fortran/70842 (internal compiler error with character members within...
authorAndre Vehreschild <vehre@gcc.gnu.org>
Fri, 22 Jul 2016 15:01:48 +0000 (17:01 +0200)
committerAndre Vehreschild <vehre@gcc.gnu.org>
Fri, 22 Jul 2016 15:01:48 +0000 (17:01 +0200)
commit8e29e03c0007216cf195df35b4d6ce654a611b37
tree01b71a38d97e83340e1ca87a854d008ce149a2c3
parent9cc946ffcb6dc4bd7444b9ef2e56c2dcef5c3b43
backport: re PR fortran/70842 (internal compiler error with character members within a polymorphic pointer)

gcc/testsuite/ChangeLog:

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

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

gcc/fortran/ChangeLog:

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

Backport from trunk:
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: r238646
gcc/fortran/simplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/select_type_35.f03 [new file with mode: 0644]