From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 38C56385800F; Sat, 7 Nov 2020 16:29:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 38C56385800F From: "egallager 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 16:29:21 +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: egallager 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 16:29:21 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D78352 --- Comment #13 from Eric Gallager --- (In reply to Iain Sandoe from comment #12) > (In reply to Fabian Groffen from comment #11) > > Is there a patch or WIP somewhere I can try out or attempt to bring for= wards? >=20 > 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 bei= ng > 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. >=20 > > My attempts at porting the 4.2.1 Apple changes to 10.1 seem to have fai= led > > 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. >=20 > The apple-4.2.1 branch is, indeed, too far removed from current trunk - a= nd > 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. If we could get in touch with an actual lawyer to review which laws specifically are getting in the way here, that could be helpful. I won my election to the New Hampshire State Legislature so if there's any legislati= on I could pass to make it legal to apply those patches here in NH, I'd love to = know how to write it. >=20 > It would be great to have more than one person working on this - I will p= ost > here when the current WIP is published somewhere.=