This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, Fortran] PR 58146, enable array slice compile-time bounds checking
- From: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- To: fortran at gcc dot gnu dot org
- Cc: gcc-patches at gcc dot gnu dot org, tkoenig at netcologne dot de
- Date: Thu, 15 Aug 2013 21:19:31 +0200
- Subject: 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