This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/35810] [TR 15581 / F2003] Automatic reallocation on assignment to allocatable variables
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 30 Dec 2010 12:18:26 +0000
- Subject: [Bug fortran/35810] [TR 15581 / F2003] Automatic reallocation on assignment to allocatable variables
- Auto-submitted: auto-generated
- References: <bug-35810-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35810
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |janus at gcc dot gnu.org
--- Comment #12 from janus at gcc dot gnu.org 2010-12-30 12:18:14 UTC ---
Note: realloc_on_assign_2.f03 fails on current trunk when building with
--disable-bootstrap (system compiler: gcc version 4.5.0 20100604
[gcc-4_5-branch revision 160292]):
realloc_on_assign_2.f03: In function âtest5â:
realloc_on_assign_2.f03:101:0: internal compiler error: in fold_convert_loc, at
fold-const.c:1906
Reduced test case:
program test5
real, allocatable, dimension (:,:) :: xwrkt
xwrkt = trs2a2 ()
contains
function trs2a2 ()
real, dimension (1:2,1:2) :: trs2a2
trs2a2 = 0.0
end function
end