https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864
--- Comment #75 from Jürgen Reuter <juergen.reuter at desy dot de> --- (In reply to Iain Sandoe from comment #74) > Thanks, does that include a test suite run and/or building something > substantial (e.g. LLVM)? .. sorry to pass this on, but right now as noted, > very limited access to Darwin test resources. Well, our own code compiles and tests correctly, but that is Fortran2018 with some C++ interfaces to external libraries. LLVM does not compile, but I guess this is unrelated to the problem here: [ 38%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBContext.cpp.o In file included from /Users/reuter/local/packages/llvm-project/llvm/include/llvm/DebugInfo/PDB/IPDBSession.h:12, from /Users/reuter/local/packages/llvm-project/llvm/include/llvm/DebugInfo/PDB/PDBContext.h:13, from /Users/reuter/local/packages/llvm-project/llvm/lib/DebugInfo/PDB/PDBContext.cpp:9: /Users/reuter/local/packages/llvm-project/llvm/include/llvm/DebugInfo/PDB/PDBSymbol.h:20:37: error: invalid use of incomplete type 'const class llvm::pdb::PDBSymbolData' 20 | auto MethodName() const->decltype(RawSymbol->MethodName()) { \ | ^~~~~~~~~ /Users/reuter/local/packages/llvm-project/llvm/include/llvm/DebugInfo/PDB/PDBSymbolData.h:27:3: note: in expansion of macro 'FORWARD_SYMBOL_METHOD' 27 | FORWARD_SYMBOL_METHOD(getAccess) | ^~~~~~~~~~~~~~~~~~~~~