https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81521
--- Comment #3 from mateuszb at poczta dot onet.pl --- Thanks for the patch. There is left one more TYPE_METHODS in file trunk/gcc/config/i386/winnt-cxx.c see https://gcc.gnu.org/viewcvs/gcc/trunk/gcc/config/i386/winnt-cxx.c?view=markup&pathrev=250476#l154 Now the bug is: /home/ma/m/source/gcc-8/gcc/config/i386/winnt-cxx.c: In function ‘void i386_pe_adjust_class_at_definition(tree)’: /home/ma/m/source/gcc-8/gcc/config/i386/winnt-cxx.c:154:36: error: ‘TYPE_METHODS’ was not declared in this scope for (member = TYPE_METHODS (t); member; member = DECL_CHAIN (member)) ^ /home/ma/m/source/gcc-8/gcc/config/i386/t-cygming:32: recipe for target 'winnt-cxx.o' failed make[1]: *** [winnt-cxx.o] Error 1