[Bug fortran/56800] [fortran-dev Regression] move_alloc_13.f90 failure

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 7 10:00:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56800

--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-05-07 10:00:20 UTC ---
FIXED by the following commit (on the Fortran-dev branch).

Thanks for the report!


Author: burnus
Date: Tue May  7 09:37:19 2013
New Revision: 198669

URL: http://gcc.gnu.org/viewcvs?rev=198669&root=gcc&view=rev
Log:
2013-05-07  Tobias Burnus  <burnus@net-b.de>

        * trans-array.c (gfc_conv_descriptor_stride_get,
        gfc_conv_descriptor_stride_set): Use elem_len, unless it is
        a nonstring intrinsic type for which size_in_bytes is used.
        (gfc_array_init_size): Set elem_len before handling the
        strides.
        * trans-expr.c (gfc_conv_subref_array_arg): Remove no-op
        extent shifting code.


Modified:
    branches/fortran-dev/gcc/fortran/ChangeLog.fortran-dev
    branches/fortran-dev/gcc/fortran/trans-array.c
    branches/fortran-dev/gcc/fortran/trans-expr.c



More information about the Gcc-bugs mailing list