[Bug fortran/64397] [OOP] Runtime segfault with parenthesis expression passed to polymorphic dummy argument
patnel97269-gfortran at yahoo dot fr
gcc-bugzilla@gcc.gnu.org
Tue Dec 23 23:19:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64397
--- Comment #7 from patnel97269-gfortran at yahoo dot fr ---
(In reply to janus from comment #6)
> (In reply to patnel97269-gfortran from comment #5)
> > I agree that this example still trigger a bug, but I remember in my original
> > (more complicated) code, the segfault appears when it tries to access the
> > allocatable components of the type in the subroutine
>
> Are you sure? In my debugging sessions, it always seemed like the segfault
> happened after the subroutine call.
My bad, can't reproduce that. Appears to be in between the a multiplication
call and the assignment call, so at the return.
More information about the Gcc-bugs
mailing list