This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/52151] Segfault with realloc on assignment and RESHAPE to unallocated LHS
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 07 Feb 2012 18:03:13 +0000
- Subject: [Bug fortran/52151] Segfault with realloc on assignment and RESHAPE to unallocated LHS
- Auto-submitted: auto-generated
- References: <bug-52151-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52151
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu.org
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-02-07 18:03:13 UTC ---
(In reply to comment #0)
> I think there might be an ordering issue with regards to the zero condition
> and the bounds condition. Something like the following might work.
Of course, it doesn't. Additionally: Don't forget about the bounds issue, which
is unrelated to the segfault.