This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, Fortran] PR 58146, enable array slice compile-time bounds checking


Thomas,

The two lines

   gfc_actual_arglist *args1;
   gfc_actual_arglist *args2;

in gfc_dep_compare_expr must be removed. Otherwise
the compilation aborts with

.../../work/gcc/fortran/dependency.c: In function 'int gfc_dep_compare_expr(gfc_expr*, gfc_expr*)':
../../work/gcc/fortran/dependency.c:295:23: error: unused variable 'args1' [-Werror=unused-variable]
   gfc_actual_arglist *args1;
                       ^
../../work/gcc/fortran/dependency.c:296:23: error: unused variable 'args2' [-Werror=unused-variable]
   gfc_actual_arglist *args2;
                       ^

TIA

Dominique


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]