This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++] Fix interaction between aka changes and DR1558 (PR92206)
- From: Richard Sandiford <richard dot sandiford at arm dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Jason Merrill <jason at redhat dot com>, gcc-patches at gcc dot gnu dot org, nathan at acm dot org
- Date: Thu, 14 Nov 2019 12:50:09 +0000
- Subject: Re: [C++] Fix interaction between aka changes and DR1558 (PR92206)
- References: <mptftjh7wyf.fsf@arm.com> <8b5323a7-72cc-b71c-2da5-d99e4b066000@redhat.com> <mpt4kz8b1xs.fsf@arm.com> <20191114004827.GT4650@tucnak>
Jakub Jelinek <jakub@redhat.com> writes:
> On Wed, Nov 13, 2019 at 08:44:31AM +0000, Richard Sandiford wrote:
>> PR c++/92206
>> * g++.dg/cpp0x/alias-decl-pr92206-1.C: New test.
>> * g++.dg/cpp0x/alias-decl-pr92206-2.C: Likewise.
>> * g++.dg/cpp0x/alias-decl-pr92206-3.C: Likewise.
>
> This last test FAILs with -std=c++11:
> /usr/src/gcc/gcc/testsuite/g++.dg/cpp0x/alias-decl-pr92206-3.C:8:37: error: variable templates only available with '-std=c++14' or '-std=gnu++14'
>
> Fixed thusly, committed as obvious:
>
> 2019-11-14 Jakub Jelinek <jakub@redhat.com>
>
> * g++.dg/cpp0x/alias-decl-pr92206-3.C: Require effective target c++14
> rather than c++11.
Thanks, and sorry for the breakage. I obviously messed something up
during the testing.
Richard