Hi Paul, well, I had those might complicated patches bit my mightily. So let's hope for the best :-)
Thanks for the review. Committed with your proposed change in the testcase as gcc-15-8642-ga5c69abf138 Thanks again, Andre On Fri, 21 Mar 2025 10:40:11 +0000 Paul Richard Thomas <paul.richard.tho...@gmail.com> wrote: > Hi Andre, > > Gosh, that's a mighty complicated patch :-) I suggest changing the comment > in the test case: > > s/Check that components of procedure pointer aren't freeed./Do not free > procedure pointer components/ or some such. > > OK for mainline and, I propose, 14-branch. > > Regards and thanks > > Paul > > > On Fri, 21 Mar 2025 at 09:38, Andre Vehreschild <ve...@gmx.de> wrote: > > > Hi all, > > > > attached patch fixes freeing of procedure pointers that are stored in a > > derived > > type's component. GFortran did that already for polymorphic types but > > missed > > out on the others. > > > > Regtested ok on x86_64-pc-linux-gnu / F41. Ok for mainline? > > > > Regards, > > Andre > > -- > > Andre Vehreschild * Email: vehre ad gmx dot de > > -- Andre Vehreschild * Email: vehre ad gmx dot de