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/64578] [OOP] Seg-fault and ICE with unlimited polymorphic array pointer function


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


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