This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: [Patch, Fortran, OOP] PR 47240: segfault with procedure pointer component


Dear Janus,


> 1) The hunk in trans-expr.c fixes the segfault in the original test
> case and is pretty much obvious.

Indeed, this is OK.

> 2) The hunk in resolve.c fixes the rejects-valid problem in comment
> #2. I think this should be ok, but I'm not 100% sure.

I wonder if you should not limit your condition to attr.proc_pointer
&& attr.function ?

> The patch was regtested on x86_64-unknown-linux-gnu. Ok for trunk?
>

Otherwise, it looks OK for trunk.

Thanks for the patch

Paul


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