[Bug libfortran/57174] [Fortran-Dev] RTE triggered by type component allocation

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=57174

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-05-07 09:59:59 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