https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96325
--- Comment #11 from jvdelisle at charter dot net --- (In reply to kargl from comment #10) ---snip--- > Thanks for testing. Does the patch that follows fix the regressions? > gfortran treats components and type bound procedures separately. I've > (hopefully) adapted the patch to whether foo is either. > ---snip--- Patch at comment 10 passes patch provided in comment 10 passes regression testing. I will commit to trunk and use the original case as a test case tomorrow.