https://gcc.gnu.org/g:75891c68287bea049fed3d833b9704f75e588b2a
commit 75891c68287bea049fed3d833b9704f75e588b2a Author: Mikael Morin <[email protected]> Date: Mon Nov 23 12:19:17 2026 +0100 Correction bootstsrap Diff: --- gcc/fortran/trans-types.cc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/gcc/fortran/trans-types.cc b/gcc/fortran/trans-types.cc index 66355c3b7d7c..723d23afa306 100644 --- a/gcc/fortran/trans-types.cc +++ b/gcc/fortran/trans-types.cc @@ -2894,7 +2894,6 @@ gfc_get_derived_type (gfc_symbol * derived, int codimen) tree canonical = NULL_TREE; tree *chain = NULL; bool got_canonical = false; - bool unlimited_entity = false; gfc_component *c; gfc_namespace *ns; tree tmp; @@ -3039,13 +3038,6 @@ gfc_get_derived_type (gfc_symbol * derived, int codimen) GFC_CLASS_TYPE_P (typenode) = 1; } - if (derived->components - && derived->components->ts.type == BT_DERIVED - && startswith (derived->name, "__class") - && strcmp (derived->components->name, "_data") == 0 - && derived->components->ts.u.derived->attr.unlimited_polymorphic) - unlimited_entity = true; - /* Go through the derived type components, building them as necessary. The reason for doing this now is that it is possible to recurse back to this derived type through a
