public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "iains at gcc dot gnu.org" <gcc-bugzilla@gcc.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: Sun, 08 Nov 2020 09:25:23 +0000 [thread overview] Message-ID: <bug-78352-4-s7ut0oAEa4@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-78352-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78352 --- Comment #15 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to Fabian Groffen from comment #14) > (In reply to Eric Gallager from comment #13) > > If we could get in touch with an actual lawyer to review which laws > > specifically are getting in the way here, I would expect that the determination has been made by the FSF lawyers (but I am not an authority here, just repeating the policy put to me when I started work on the Darwin port, years ago). > that could be helpful. I won my > > election to the New Hampshire State Legislature congrats! >>so if there's any > > legislation I could pass to make it legal to apply those patches here in NH, > > I'd love to know how to write it. IMO the technical issues with reusing 4.2.1 code are so significant that it would be a poor use of your time chasing a way to include stuff that we'd need to rewrite anyway (see below) > FWIW: if Iain wrote a new patch, then we don't need Apple's original work > which from my experience, frankly is messy. Indeed, it isn't suitable for the current source base - there have been a lot of changes since 4.2.1. As a secondary consideration, I also want to move Objective-C style metadata generation until after LTO has run (and Apple blocks also makes use of that style meta-data). > There's lots of stuff in there > intertwined, so going by a specification e.g. Clang's > (https://clang.llvm.org/docs/BlockLanguageSpec.html) is probably the best > way forward in any case. Which is what I was doing + 1:1 comparison with clang's output ( on the grounds that the ABI is defined by the actual output regardless of what the documentation says ;) ) Sorry that there hasn't been much progress on this - it *was* top of my GCC11 TODO list, and then Apple Si. came along and torpedoed that...
next prev parent reply other threads:[~2020-11-08 9:25 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-78352-4@http.gcc.gnu.org/bugzilla/> 2020-11-07 12:36 ` grobian at gentoo dot org 2020-11-07 12:53 ` iains at gcc dot gnu.org 2020-11-07 16:29 ` egallager at gcc dot gnu.org 2020-11-08 9:11 ` grobian at gentoo dot org 2020-11-08 9:25 ` iains at gcc dot gnu.org [this message] 2020-11-09 8:20 ` redi at gcc dot gnu.org 2022-05-13 21:04 ` egor.pugin at gmail dot com 2022-11-05 19:23 ` vital.had at gmail dot com 2023-06-04 19:01 ` vital.had at gmail dot com 2023-06-04 19:28 ` iains at gcc dot gnu.org 2023-12-11 22:55 ` vital.had at gmail dot com 2023-12-11 22:58 ` pinskia at gcc dot gnu.org 2023-12-31 0:58 ` vital.had at gmail dot com 2023-12-31 7:24 ` iains at gcc dot gnu.org 2024-01-01 0:57 ` egallager at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-78352-4-s7ut0oAEa4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).