This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/71936] [6/7 Regression] ICE in wide_int_to_tree, at tree.c:1487
- From: "vehre at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 11 Aug 2016 08:13:02 +0000
- Subject: [Bug fortran/71936] [6/7 Regression] ICE in wide_int_to_tree, at tree.c:1487
- Auto-submitted: auto-generated
- References: <bug-71936-4@http.gcc.gnu.org/bugzilla/>
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