This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: RFA (libstdc++): C++ PATCH to implement C++17 noexcept in type system
- From: "Bin.Cheng" <amker dot cheng at gmail dot com>
- To: Christophe Lyon <christophe dot lyon at linaro dot org>
- Cc: Jonathan Wakely <jwakely dot gcc at gmail dot com>, Jason Merrill <jason at redhat dot com>, gcc-patches List <gcc-patches at gcc dot gnu dot org>, "libstdc++" <libstdc++ at gcc dot gnu dot org>
- Date: Wed, 9 Nov 2016 09:12:36 +0000
- Subject: Re: RFA (libstdc++): C++ PATCH to implement C++17 noexcept in type system
- Authentication-results: sourceware.org; auth=none
- References: <CADzB+2=rgZ0Zit493q_nfqUPXqLemJAoY_bs=17eBDn_grdmKg@mail.gmail.com> <CAH6eHdQuCiYfm=Su4M1xcTxY4aTabO-oFjaKpkwZSs8E0wXVrA@mail.gmail.com> <CAKdteOarDMaiLzoD=WhzK16BMnNq-xS1UkS_19htDjZSUhTV8A@mail.gmail.com>
On Tue, Nov 8, 2016 at 9:11 AM, Christophe Lyon
<christophe.lyon@linaro.org> wrote:
> Hi,
>
> On 7 November 2016 at 23:56, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
>> On 7 November 2016 at 22:49, Jason Merrill wrote:
>>> Tested x86_64-pc-linux-gnu. Are the libstdc++ changes OK for trunk?
>>
>> Yes, I like the approach, thanks.
>
> The new test "g++.dg/cpp1z/noexcept-type11.C" fails on arm:
> /aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/testsuite/g++.dg/cpp1z/noexcept-type11.C:3:6:
> warning: mangled name for 'void f(int (*)() noexcept)' will change in
> C++17 because the exception specification is part of a function type
> [-Wc++1z-compat]
> In function 'void f(int (*)() noexcept)':
> cc1plus: warning: mangled name for '<built-in>' will change in C++17
> because the exception specification is part of a function type
> [-Wc++1z-compat]
> cc1plus: warning: mangled name for '<built-in>' will change in C++17
> because the exception specification is part of a function type
> [-Wc++1z-compat]
>
> FAIL: g++.dg/cpp1z/noexcept-type11.C (test for excess errors)
I can confirm this and created PR78269 for tracking. I also noticed
noexcept-type9.C fails on both arm/aarch64 target.
Thanks,
bin
>
>
> Christophe