re PR fortran/55901 ([OOP] type is (character(len=*)) misinterpreted as array)
authorAndre Vehreschild <vehre@gmx.de>
Tue, 24 Mar 2015 11:47:45 +0000 (12:47 +0100)
committerAndre Vehreschild <vehre@gcc.gnu.org>
Tue, 24 Mar 2015 11:47:45 +0000 (12:47 +0100)
commita2581005856d53ccff513e04c05a85c97ef474df
treeb618f7a46a9cfa0f75d4ea733faf57cd2c56326b
parent29ec68cb98fbf1eedfaead7afc7673e9cd229b24
re PR fortran/55901 ([OOP] type is (character(len=*)) misinterpreted as array)

2015-03-24  Andre Vehreschild  <vehre@gmx.de>

PR fortran/55901
* trans-expr.c (gfc_conv_structure): Fixed indendation.
Using integer_zero_node now instead of explicitly
constructing a integer constant zero node.
(gfc_conv_derived_to_class): Add handling of _len component,
i.e., when the rhs has a string_length then assign that to
class' _len, else assign 0.
(gfc_conv_intrinsic_to_class): Likewise.

From-SVN: r221627
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c