https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69834
--- Comment #7 from Paul Thomas <pault at gcc dot gnu.org> --- (In reply to Dominique d'Humieres from comment #6) Hi Dominique, I do not know what is going on here. > > Created attachment 37791 [details] > > --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37791&action=edit > > Better Patch > > Withe patch applied to my working tree (many patches) fixes the PR but I see > several regressions at run time > These were precisely the regressions that I spent most of last night trying to fix. > FAIL: gfortran.dg/allocate_with_source_(7|8).f08 * execution test > FAIL: gfortran.dg/unlimited_polymorphic_zzz.f03 * execution test > > with zzz in (1, 5, 6, 14, 17, 18, 20, 22). AFAICT it "fixes" > It looks as if the final part of the patch, at least, did not apply. Since there is another field in the vtable, I took out the right brace, which is still there in your output. > FAIL: gfortran.dg/finalize_21.f90 -O scan-tree-dump original "static > struct __vtype__STAR __vtab__STAR = {._hash=0, ._size=., ._extends=0B, > ._def_init=0B, ._copy=0B, ._final=0B};" I'll come back to you tomorrow. Cheers Paul