This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: parallel_algorithm_assert2.cc
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
- Date: Thu, 8 Dec 2016 14:41:39 -0800
- Subject: Re: parallel_algorithm_assert2.cc
- Authentication-results: sourceware.org; auth=none
- References: <CAGWvnymdimQsoWaHnuhngiiC2QGZndf353JN4hZzr1b92BOJnw@mail.gmail.com> <CAH6eHdQaAOUk12y7R8O9dsCvMsGHr_3=ppOiB1Ky-5_fmrhWEQ@mail.gmail.com>
On Thu, Dec 8, 2016 at 10:03 AM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> On 8 December 2016 at 17:09, David Edelsohn wrote:
>> Jonathan,
>>
>> I'm seeing a new failure on AIX.
>>
>> FAIL: 25_algorithms/headers/algorithm/parallel_algorithm_assert2.cc
>> (test for excess errors)
>> Excess errors:
>> xg++: error: libgomp.spec: No such file or directory
>>
>> Does the testsuite driver assume that libgomp.spec already is
>> installed in the correct install location?
>
> Ah, I think the DG directives are in the wrong order.
>
> Does this help?
>
> --- a/libstdc++-v3/testsuite/25_algorithms/headers/algorithm/parallel_algorithm_assert2.cc
> +++ b/libstdc++-v3/testsuite/25_algorithms/headers/algorithm/parallel_algorithm_assert2.cc
> @@ -1,6 +1,6 @@
> -// { dg-require-parallel-mode "" }
> // { dg-options "-fopenmp -D_GLIBCXX_PARALLEL" { target *-*-* } }
> // { dg-do run }
> +// { dg-require-parallel-mode "" }
>
> // Copyright (C) 2016 Free Software Foundation, Inc.
> //
Placing the dg-do run directive first fixes the problem. That is what
I committed.
Thanks, David