[Bug fortran/55901] [OOP] type is (character(len=*)) misinterpreted as array
vehre at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 24 12:19:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55901
--- Comment #15 from vehre at gcc dot gnu.org ---
Author: vehre
Date: Tue Mar 24 11:47:45 2015
New Revision: 221627
URL: https://gcc.gnu.org/viewcvs?rev=221627&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-expr.c
More information about the Gcc-bugs
mailing list