On Tue, Jul 29, 2025 at 08:55:05AM +0200, Richard Biener wrote: > > The result of that is the branch "patched15". It has 47 cherry-picked > > commits on top of gcc/releases/gcc-15. With gcc-15.1.0 as the compiler, > > it successfully compiles on an x86_64-linux Ubuntu 22.04 LTS system > > starting from "../configure --enable-languages=all,cobol", meaning it is a > > bootstrapped multilib build. "make check-cobol" then runs with no > > unexpected errors. > > > > That branch "patched15" can be found at > > https://gitlab.cobolworx.com/COBOLworx/gcc-cobol.git. > > That looks good apart from the pick of 0eac9cfe which brings > in unrelated c/c++ frontend changes for a gcobolspec.cc change. > This rev should be skipped. You can edit it out with a > git rebase -i for example.
Yeah, we definitely don't want the -Wunused-but-set-*= changes on the branch. Either drop that commit, or edit it so that it is just the gcc/cobol/gcobolspec.cc cobol change and nothing else, with gcc/cobol/ * gcobolspec.cc (lang_specific_driver): Remove unused but set variable n_cobol_files. ChangeLog and edited commit message which just says that it removes an unused variable detected by new GCC 16 warning. Even that can be done with git rebase -i. Jakub