[Bug fortran/27766] [meta] -fbounds-check related bugs
tkoenig at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Nov 23 08:56:00 GMT 2008
------- Comment #7 from tkoenig at gcc dot gnu dot org 2008-11-23 08:54 -------
(In reply to comment #6)
> (2) The failure of gfortran.dg/bound_2.f90 comes from " Incorrect size in
> SOURCE argument to RESHAPE intrinsic: is 9, should be 4". This is wrong, the
> standard says:
>
> "If PAD is absent or of size zero, the size of SOURCE shall be greater than or
> equal to PRODUCT (SHAPE)."
You're right; this is now PR 38234.
> (3) I think the failure of gfortran.dg/forall_13.f90: "Array reference out of
> bounds for array 'p', upper bound of dimension 1 exceeded (4 > 3)", is also
> wrong.
This is PR 36091.
We should run the testsuite with -fbounds-check to catch
this kind of thing.
--
tkoenig at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn|38234 |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27766
More information about the Gcc-bugs
mailing list