This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #6 from vehre at gcc dot gnu.org ---
Author: vehre
Date: Mon Aug  8 09:58:21 2016
New Revision: 239237

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

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

        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-08  Andre Vehreschild  <vehre@gcc.gnu.org>

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



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]