class.c (gfc_build_class_symbol): Set the kind of _len to gfc_charlen_int_kind to catch changes of the charlen kind.
gcc/fortran/ChangeLog: 2016-10-20 Andre Vehreschild <vehre@gcc.gnu.org> * class.c (gfc_build_class_symbol): Set the kind of _len to gfc_charlen_int_kind to catch changes of the charlen kind. From-SVN: r241367
This commit is contained in:
parent
6c1a9e41d9
commit
40cc684dce
@ -1,3 +1,8 @@
|
||||
2016-10-20 Andre Vehreschild <vehre@gcc.gnu.org>
|
||||
|
||||
* class.c (gfc_build_class_symbol): Set the kind of _len to
|
||||
gfc_charlen_int_kind to catch changes of the charlen kind.
|
||||
|
||||
2016-10-17 Steven G. Kargl <kargl@gcc.gnu.org>
|
||||
|
||||
PR fortran/77978
|
||||
|
@ -707,7 +707,7 @@ gfc_build_class_symbol (gfc_typespec *ts, symbol_attribute *attr,
|
||||
if (!gfc_add_component (fclass, "_len", &c))
|
||||
return false;
|
||||
c->ts.type = BT_INTEGER;
|
||||
c->ts.kind = 4;
|
||||
c->ts.kind = gfc_charlen_int_kind;
|
||||
c->attr.access = ACCESS_PRIVATE;
|
||||
c->attr.artificial = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user