[PATCH] Make check_effective_target_c++ work for libstdc++
Mike Stump
mrs@mrs.kithrup.com
Fri Jul 29 20:08:00 GMT 2016
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.
More information about the Libstdc++
mailing list