Le 22/08/2013 23:30, Mikael Morin a écrit :
> Le 14/08/2013 23:46, Thomas Koenig a écrit :
>> Hello world,
>>
>> the attached patch enables more sophisticated bounds-checking on
>> array slices by using gfc_dep_difference to calculate extents.
>> The information may also be useful in other places o
Le 14/08/2013 23:46, Thomas Koenig a écrit :
> Hello world,
>
> the attached patch enables more sophisticated bounds-checking on
> array slices by using gfc_dep_difference to calculate extents.
> The information may also be useful in other places of the
> front end, I don't really know.
>
> There
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
Hello world,
the attached patch enables more sophisticated bounds-checking on
array slices by using gfc_dep_difference to calculate extents.
The information may also be useful in other places of the
front end, I don't really know.
There is one wrinkle (alluded to in the comments) which makes
this