From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by sourceware.org (Postfix) with ESMTPS id 4F1453857832 for ; Thu, 31 Dec 2020 18:46:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4F1453857832 Received: by mail-wm1-x334.google.com with SMTP id c133so7850086wme.4 for ; Thu, 31 Dec 2020 10:46:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=euf5qFmtiHC/dHa+5kGHYQFCkptAVynCichPIj6zouQ=; b=QieIqQjG8qBg+nbzXXfFxKCaO0hop+tXiOmODtnk0jmMYkkbQ3PCLvZsuVEmyJOQHB Yvx2whDxos+I2Um9BQO5CCqtbB3H96FzKCzICLFmFI9uy5Y376HG0Ogo5eNResUpfN1u T1iwUIsN0Cmg7+tS81T39HZrT2m3qjdfXEBs4wRqp/nw5BJR5msKFV0/PM+EHzDw7t5I FbfTRdgH/A0cgA6nVk8nVGChas23ATtZJMzXal7uIxh4qugFudbONzuu5NHXHk3pp0PK nNdvbcS5HF0et1/saKMMm/eMDI3se/QAZsheNUPlqRa5CsBzyCOgFJ7Uhtob/c2crK5+ VcQA== X-Gm-Message-State: AOAM532ciVMMIYWAfYqvbCRhrX5W7OuoFyq+nrTUWxmig46wUxiW54ym zpx1ouQiWq85Kx79DSIKdOM= X-Google-Smtp-Source: ABdhPJxi/wIYEIcDCgyw6omFUcqq+JURDWUOvm1KC8Lp1RW9+NESD5LV+zNEE02b7zUY8RyRaVtDPw== X-Received: by 2002:a1c:de41:: with SMTP id v62mr13067038wmg.135.1609440360955; Thu, 31 Dec 2020 10:46:00 -0800 (PST) Received: from ?IPv6:2a01:e35:2fd6:2a80:c89e:83e8:1f86:1553? ([2a01:e35:2fd6:2a80:c89e:83e8:1f86:1553]) by smtp.gmail.com with ESMTPSA id c6sm49233694wrh.7.2020.12.31.10.46.00 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Dec 2020 10:46:00 -0800 (PST) From: FX Message-Id: <880EB4CB-FEC2-4EC4-8ACB-4B58C0631EBD@gmail.com> Content-Type: multipart/mixed; boundary="Apple-Mail=_B868E895-95F4-40FF-9497-4B614E42B815" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: C++11 code in the gcc 10 branch Date: Thu, 31 Dec 2020 19:45:59 +0100 In-Reply-To: <0F86C809-B5D6-4619-968B-7D9B3218749C@sandoe.co.uk> Cc: Gerald Pfeifer , gcc@gcc.gnu.org, Richard Sandiford To: Iain Sandoe References: <63a1a158-222e-83b3-e71c-e9955ed23baa@pfeifer.com> <36818F84-C0C7-4407-8AB6-E0EDDEFFC71C@gmail.com> <0F86C809-B5D6-4619-968B-7D9B3218749C@sandoe.co.uk> X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Dec 2020 18:46:07 -0000 --Apple-Mail=_B868E895-95F4-40FF-9497-4B614E42B815 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > If Richard approves the second patch (and you=E2=80=99re stuck for = time) - then send me the patch(es) as attachments with the commit = credits you want, and I can apply them for you. Both patches only needed on gcc-10, if you can commit that=E2=80=99s = great, many thanks. For credits in GCC I=E2=80=99m known as Francois-Xavier Coudert = (and for the record, I do have a copyright assignment in place) Happy new year to all, FX --Apple-Mail=_B868E895-95F4-40FF-9497-4B614E42B815 Content-Disposition: attachment; filename=p1.txt Content-Type: text/plain; x-unix-mode=0644; name="p1.txt" Content-Transfer-Encoding: quoted-printable commit 96a9d0950453ca571b3999c2f4d4168da9d770f0 Author: Francois-Xavier Coudert Date: 2020-12-21 22:06:59 +0100 Fix prototype for aarch64_get_extension_string_for_isa_flags =20 Patch should be backported in gcc-10 branch diff --git a/gcc/config/aarch64/driver-aarch64.c = b/gcc/config/aarch64/driver-aarch64.c index 8840a2d9486..d99834c9989 100644 --- a/gcc/config/aarch64/driver-aarch64.c +++ b/gcc/config/aarch64/driver-aarch64.c @@ -27,8 +27,7 @@ #include "tm.h" =20 /* Defined in common/config/aarch64/aarch64-common.c. */ -std::string aarch64_get_extension_string_for_isa_flags (unsigned long, - unsigned long); +std::string aarch64_get_extension_string_for_isa_flags (uint64_t, = uint64_t); =20 struct aarch64_arch_extension { --Apple-Mail=_B868E895-95F4-40FF-9497-4B614E42B815 Content-Disposition: attachment; filename=p2.txt Content-Type: text/plain; x-unix-mode=0644; name="p2.txt" Content-Transfer-Encoding: quoted-printable commit 3f1b98679eecdaf81ba5702a8de65bcb6b4ab25f Author: Francois-Xavier Coudert Date: 2020-12-21 22:06:15 +0100 Remove C++11 constructor =20 Patch should be backported in gcc-10 branch diff --git a/gcc/config/aarch64/aarch64-builtins.c = b/gcc/config/aarch64/aarch64-builtins.c index cba596765ac..184e9095d51 100644 --- a/gcc/config/aarch64/aarch64-builtins.c +++ b/gcc/config/aarch64/aarch64-builtins.c @@ -1225,8 +1225,9 @@ aarch64_init_memtag_builtins (void) =3D aarch64_general_add_builtin ("__builtin_aarch64_memtag_"#N, \ T, AARCH64_MEMTAG_BUILTIN_##F); \ aarch64_memtag_builtin_data[AARCH64_MEMTAG_BUILTIN_##F - \ - AARCH64_MEMTAG_BUILTIN_START - 1] =3D \ - {T, CODE_FOR_##I}; + AARCH64_MEMTAG_BUILTIN_START - 1].ftype =3D = T; \ + aarch64_memtag_builtin_data[AARCH64_MEMTAG_BUILTIN_##F - \ + AARCH64_MEMTAG_BUILTIN_START - 1].icode =3D = CODE_FOR_##I; =20 fntype =3D build_function_type_list (ptr_type_node, ptr_type_node, uint64_type_node, NULL); --Apple-Mail=_B868E895-95F4-40FF-9497-4B614E42B815--