This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH] libstd++: Library-side tests for parenthesized aggregate init (c++/92878, c++/92947)
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: Ville Voutilainen <ville dot voutilainen at gmail dot com>
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>, libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Mon, 24 Feb 2020 10:44:30 +0000
- Subject: Re: [PATCH] libstd++: Library-side tests for parenthesized aggregate init (c++/92878, c++/92947)
- References: <CAFk2RUYzLrhtGUVA1B7VsZhGB4O6HgXOXvG0wrE6_sUWQn0wCw@mail.gmail.com>
On 23/02/20 15:18 +0200, Ville Voutilainen wrote:
This shebang adds library tests for all cases of parenthesized aggregate
initialization that I could find. Tested locally on Linux-x64, going to
test with full suite on Linux-PPC64, OK for trunk if tests pass?
Please add: { dg-do run { target c++2a } }
Tests that aren't valid in all modes should be marked as such. Some
day I'd like the library tests to be able to run automatically for
multiple -std variations, like the front end tests do. To do that we'd
want to remove all -std flags from dg-options, and at that point we
need the tests to be correctly marked so they won't try to run for
-std=c++98 etc.
OK with that change if testing passes, thanks.