This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [testsuite, committed] Fix unresolved vector26.C for c++98


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]