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/52151] Segfault with realloc on assignment and RESHAPE to unallocated LHS


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.


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