This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH] Make check_effective_target_c++ work for libstdc++
- From: Mike Stump <mrs at mrs dot kithrup dot com>
- To: Jonathan Wakely <jwakely at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Fri, 29 Jul 2016 13:08:02 -0700
- Subject: Re: [PATCH] Make check_effective_target_c++ work for libstdc++
- Authentication-results: sourceware.org; auth=none
- References: <20160729194337.GK4264@redhat.com>
On Jul 29, 2016, at 12:43 PM, Jonathan Wakely <jwakely@redhat.com> wrote:
>
> I've been working on some changes to let the libstdc++ testsuite use
> the same approach as G++ to specify a minimum language dialect for
> tests. That means instead of hardcoding { dg-options "-std=gnu++11" }
> we can use { dg-do run { target c++11 } } and the test will be run for
> any implicit or explicit -std mode that meets that minimum.
>
> For that to work I need check_effective_target_c++ to return true when
> the dg tool is "libstdc++".
>
> The patch looks a bit messy, because it's fixing some messy
> indentiation.
>
> Tested x86_64-linux.
>
> OK for trunk?
Ok.