[Bug fortran/64397] [OOP] Runtime segfault with parenthesis expression passed to polymorphic dummy argument
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jun 10 15:28:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64397
Paul Thomas <pault at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org
--- Comment #9 from Paul Thomas <pault at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #8)
> AFAICT this PR is now fixed, likely r251949 (pr34640 and friends).
Well, for the original testcase, a=my_integer([1]) leaks memory.
If replaced with:
integer :: i(1) = [1]
a=my_integer(i)
the segfault at:
c = (a)
returns.
It seems that there is a way to go on this one :-(
Reverting to NEW and taking.
Paul
More information about the Gcc-bugs
mailing list