https://gcc.gnu.org/g:389c655274feaca1196b27c17bd53ddf41fe04b6
commit 389c655274feaca1196b27c17bd53ddf41fe04b6 Author: Mikael Morin <mik...@gcc.gnu.org> Date: Tue Dec 17 18:55:23 2024 +0100 Suppression variables inutilisées Diff: --- gcc/fortran/trans-expr.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/gcc/fortran/trans-expr.cc b/gcc/fortran/trans-expr.cc index 00dd8815800e..e8b229d853e3 100644 --- a/gcc/fortran/trans-expr.cc +++ b/gcc/fortran/trans-expr.cc @@ -991,8 +991,6 @@ gfc_conv_derived_to_class (gfc_se *parmse, gfc_expr *e, gfc_symbol *fsym, stmtblock_t block; gfc_init_block (&block); gfc_ref *ref; - int dim; - tree lbshift = NULL_TREE; /* Array refs with sections indicate, that a for a formal argument expecting contiguous repacking needs to be done. */