This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/47516] ICE with reallocate on assignment w/ --disable-bootstrap
- From: "paul.richard.thomas at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 28 Jan 2011 15:14:33 +0000
- Subject: [Bug fortran/47516] ICE with reallocate on assignment w/ --disable-bootstrap
- Auto-submitted: auto-generated
- References: <bug-47516-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47516
--- Comment #1 from paul.richard.thomas at gmail dot com <paul.richard.thomas at gmail dot com> 2011-01-28 15:14:24 UTC ---
gcc version 4.5.0 20100604??? version is marked as 4.6.0
Paul
On Fri, Jan 28, 2011 at 3:59 PM, burnus at gcc dot gnu.org
<gcc-bugzilla@gcc.gnu.org> wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47516
>
> Â Â Â Â Â Summary: ICE with reallocate on assignment w/
> Â Â Â Â Â Â Â Â Â Â--disable-bootstrap
> Â Â Â Â Â Product: gcc
> Â Â Â Â Â Version: 4.6.0
> Â Â Â Â Â ÂStatus: UNCONFIRMED
> Â Â Â Â ÂKeywords: ice-on-valid-code
> Â Â Â Â ÂSeverity: normal
> Â Â Â Â ÂPriority: P3
> Â Â Â Â Component: fortran
> Â Â Â ÂAssignedTo: unassigned@gcc.gnu.org
> Â Â Â ÂReportedBy: burnus@gcc.gnu.org
> Â Â Â Â Â Â Â ÂCC: pault@gcc.gnu.org, janus@gcc.gnu.org
>
>
> Moved from bug 35810 comment 12. Janus wrote there the following; I have not
> tried to confirm it.
>
> -------- Bug 35810 Comment 12 janus 2010-12-30 13:18:14 CET ---------
>
> 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
>
> --
> Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
>