From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E9367385800F; Sat, 7 Nov 2020 12:53:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E9367385800F From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/78352] GCC lacks support for the Apple "blocks" extension to the C family of languages Date: Sat, 07 Nov 2020 12:53:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: iains at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Nov 2020 12:53:46 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78352 --- Comment #12 from Iain Sandoe --- (In reply to Fabian Groffen from comment #11) > Is there a patch or WIP somewhere I can try out or attempt to bring forwa= rds? I need to bring forward my patches to the latest master, will post a link h= ere when that is done (it won't be soon - mainly because all time is being soak= ed up with work on the arm64 port for Apple Silicon). At present, I am also tr= ying 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 anywa= y, since they were not counted as contributed (not present on the FSF servers)= .=20 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.=