[Bug fortran/71936] [6/7 Regression] ICE in wide_int_to_tree, at tree.c:1487

vehre at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 11 08:13:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71936

--- Comment #8 from vehre at gcc dot gnu.org ---
Author: vehre
Date: Thu Aug 11 08:12:31 2016
New Revision: 239354

URL: https://gcc.gnu.org/viewcvs?rev=239354&root=gcc&view=rev
Log:
gcc/fortran/ChangeLog:

2016-08-11  Andre Vehreschild  <vehre@gcc.gnu.org>

        Backport from trunk:
        PR fortran/71936
        * trans-array.c (gfc_array_allocate): When SOURCE= is a function
        stick with the ref of the object to allocate.

gcc/testsuite/ChangeLog:

2016-08-11  Andre Vehreschild  <vehre@gcc.gnu.org>

        Backport from trunk:
        PR fortran/71936
        * gfortran.dg/allocate_with_source_21.f03: New test.



Added:
    branches/gcc-6-branch/gcc/testsuite/gfortran.dg/allocate_with_source_21.f03
Modified:
    branches/gcc-6-branch/gcc/fortran/ChangeLog
    branches/gcc-6-branch/gcc/fortran/trans-array.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list