This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] g++.dg/init/vbase1.C and g++.dg/cpp/ucn-1.C
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 14 Nov 2015 08:47:07 -0500
- Subject: Re: [PATCH] g++.dg/init/vbase1.C and g++.dg/cpp/ucn-1.C
- Authentication-results: sourceware.org; auth=none
- References: <CAGWvnynxgVBDfUMKz5qYkjn42RgO8K+mdFSG0-Bmt_4AQ74ztQ at mail dot gmail dot com> <m2oaewubrx dot fsf at linux-m68k dot org> <CAGWvnykq4D+nKTgQZ1=Qig9rqMLC6a5uw7LTciMtP4oEcYeT3g at mail dot gmail dot com> <87h9kobsv1 dot fsf at igel dot home>
On Sat, Nov 14, 2015 at 8:41 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> David Edelsohn <dje.gcc@gmail.com> writes:
>
>> On Sat, Nov 14, 2015 at 5:16 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:
>>> David Edelsohn <dje.gcc@gmail.com> writes:
>>>
>>>> + int c\u0024c; // { dg-error "not valid in an identifier" {
>>>> target { powerpc-ibm-aix* } } }
>>>
>>> FAIL: g++.dg/cpp/ucn-1.C -std=gnu++11 target { powerpc-ibm-aix* } (test for errors, line 12)
>>
>> Argh. So why isn't it limited to the specified target as the
>> documentation implies?
>
> Where does it imply that?
>
> # dg-error regexp comment [{ target/xfail selector } [{.|0|linenum}]]
That's not right either.
I incorrectly read it as
dg-error regexp [comment] [{ target/xfail selector} [line] }]
- David