https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109345
--- Comment #14 from Paul Thomas <pault at gcc dot gnu.org> --- (In reply to Paul Thomas from comment #13) > I have had a period of not being able to work on gfortran. I'll take a look > at this today. Some other patch has been applied to 14-branch onwards that results in the component references being handled completely differently to 12- and 13-. The newer branches create a temporary array and point the descriptor to that, while 12- and 13- attempt to point to the original data field and screw it up. Since the original problem is fixed, my inclination is to comment out the last two calls to foo. OK? Paul