https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78352
--- Comment #12 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to Fabian Groffen from comment #11) > Is there a patch or WIP somewhere I can try out or attempt to bring forwards? I need to bring forward my patches to the latest master, will post a link here when that is done (it won't be soon - mainly because all time is being soaked up with work on the arm64 port for Apple Silicon). At present, I am also trying to resolve some of the other (smaller) objective-c issues preventing us from parsing the system headers. > My attempts at porting the 4.2.1 Apple changes to 10.1 seem to have failed > as I get some weird "byref undeclared" errors whenever a __block var is > encountered. I must admit I'm not really well versed with GCC's code. The apple-4.2.1 branch is, indeed, too far removed from current trunk - and as far as I understand, we would not be permitted to apply those patches anyway, since they were not counted as contributed (not present on the FSF servers). IANAL - but that's how I understand the rules. It would be great to have more than one person working on this - I will post here when the current WIP is published somewhere.