Joseph Myers <jos...@codesourcery.com> writes: > On Wed, 18 May 2022, Gaius Mulley via Gcc-patches wrote: > >> /* This is the contribution to the `documented_lang_options' array in >> toplev.c for gm2. */ > > I'm not sure what this is (an unused file?), but documented_lang_options > was removed in 2003. And in general, comments referring to .c files, > throughout the front end, need to be updated to refer to the current names > of those files (C++ sources have been renamed from .c to .cc in GCC).
ah yes - many thanks for spotting this - I will git rm lang-options.h. Also thanks for the suggestion to check for other comments mentioning .c files. I've found about 4 in gcc/m2/gm2-gcc/*.{h,cc} - which I'll change immediately, regards, Gaius