This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/64578] [OOP] Seg-fault and ICE with unlimited polymorphic array pointer function
- From: "pault at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 15 Jan 2015 09:23:37 +0000
- Subject: [Bug fortran/64578] [OOP] Seg-fault and ICE with unlimited polymorphic array pointer function
- Auto-submitted: auto-generated
- References: <bug-64578-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64578
Paul Thomas <pault at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pault at gcc dot gnu.org
--- Comment #9 from Paul Thomas <pault at gcc dot gnu.org> ---
I had a quick look this morning to see if I could understand the reason for the
last remark of my previous comment.
The statements responsible for setting the _data and the _vptr fields of
class.11 are certainly visited but never make it into the code. It is as if the
parmse.pre and .post are not added. I could not see why.
If the rhs of the pointer assignment to return_pointer is set to NULL(), the
code behaves correctly.
I'll give it another go tonight.
Paul