https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864

--- Comment #76 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Jürgen Reuter from comment #75)
> (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.

Good

> 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)
>       |   ^~~~~~~~~~~~~~~~~~~~~

This either a regression (since trunk GCC built LLVM ≈ 2 months ago) or it's a
new feature exposing some other bug in LLVM - either way, you are right, it
doesn't appear related to the current patch.  I will attempt to see if it's
repeatable on Linux,

Reply via email to