[Patch, fortran] PR34945 - LBOUND fails for array with KIND(complex) used in zero-sized dimension
Andreas Meier
andreasmeier80@gmx.de
Sun Feb 3 16:47:00 GMT 2008
Hello,
is it possible to have this in GCC 4.3.
At the moment there are only three (with this) "F95" bugs. It would be
great, if GCC 4.3 would be without any of these.
Best regards
Andreas
Paul Richard Thomas schrieb:
> :ADDPATCH fortran:
>
> This is one of the four remaining "F95" bugs. Again, the problem is
> due to jumping the gun and trying to do checks before expressions are
> resolved. Here, the check for negative array size was moved from
> matching to resolution, so that we can be sure that every expression
> that can be simplified has had it done.
>
> Bootstraps and regtests on x86_ia64 - OK for 4.4 when it opens?
>
> Cheers
>
> Paul
>
> 2008-02-03 Paul Thomas <pault@gcc.gnu.org>
>
> PR fortran/34945
> * array.c (match_array_element_spec): Remove check for negative
> array size.
> (gfc_resolve_array_spec): Add check for negative size.
>
> 2008-02-03 Paul Thomas <pault@gcc.gnu.org>
>
> PR fortran/34945
> * gfortran.dg/bounds_check_13.f: New test.
>
More information about the Fortran
mailing list