This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [testsuite, committed] Fix unresolved vector26.C for c++98
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: Richard Sandiford <rdsandiford at googlemail dot com>
- Date: Sat, 1 Feb 2014 12:10:39 +0100
- Subject: Re: [testsuite, committed] Fix unresolved vector26.C for c++98
- Authentication-results: sourceware.org; auth=none
Hello!
> The scan-assembler test in vector26.C was showing up unresolved for c++98,
> since in that case we report an expected error and don't produce any asm.
>
> Tested on mips64-linux-gnu and applied as obvious.
-// { dg-final { scan-assembler-not "globl\[ \t]*_Z3bar" } }
+// { dg-final { scan-assembler-not "globl\[ \t]*_Z3bar" { target { !
c++98 } } } }
Shouldn't "]" be escaped as well?
Uros.