Fix wrong escaping of brackets (PR testsuite/90564).

2019-05-22  Martin Liska  <mliska@suse.cz>

	PR testsuite/90564
	* gcc.target/powerpc/pr80315-1.c: Add one extra \ to escape
	brackets.
	* gcc.target/powerpc/pr80315-2.c: Likewise.
	* gcc.target/powerpc/pr80315-3.c: Likewise.
	* gcc.target/powerpc/pr80315-4.c: Likewise.

From-SVN: r271508
This commit is contained in:
Martin Liska 2019-05-22 10:25:07 +02:00 committed by Martin Liska
parent fc907923f1
commit 0872c677e8
5 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,12 @@
2019-05-22 Martin Liska <mliska@suse.cz>
PR testsuite/90564
* gcc.target/powerpc/pr80315-1.c: Add one extra \ to escape
brackets.
* gcc.target/powerpc/pr80315-2.c: Likewise.
* gcc.target/powerpc/pr80315-3.c: Likewise.
* gcc.target/powerpc/pr80315-4.c: Likewise.
2019-05-22 Iain Sandoe <iain@sandoe.co.uk>
PR testsuite/27221

View File

@ -10,6 +10,6 @@ main()
int mask;
/* Argument 2 must be 0 or 1. Argument 3 must be in range 0..15. */
res = __builtin_crypto_vshasigmaw (test, 1, 0xff); /* { dg-error "argument 3 must be in the range \\[0, 15\\]" } */
res = __builtin_crypto_vshasigmaw (test, 1, 0xff); /* { dg-error "argument 3 must be in the range \\\[0, 15\\\]" } */
return 0;
}

View File

@ -10,6 +10,6 @@ main ()
int mask;
/* Argument 2 must be 0 or 1. Argument 3 must be in range 0..15. */
res = __builtin_crypto_vshasigmad (test, 1, 0xff); /* { dg-error "argument 3 must be in the range \\[0, 15\\]" } */
res = __builtin_crypto_vshasigmad (test, 1, 0xff); /* { dg-error "argument 3 must be in the range \\\[0, 15\\\]" } */
return 0;
}

View File

@ -12,6 +12,6 @@ main ()
int mask;
/* Argument 2 must be 0 or 1. Argument 3 must be in range 0..15. */
res = vec_shasigma_be (test, 1, 0xff); /* { dg-error "argument 3 must be in the range \\[0, 15\\]" } */
res = vec_shasigma_be (test, 1, 0xff); /* { dg-error "argument 3 must be in the range \\\[0, 15\\\]" } */
return res;
}

View File

@ -12,6 +12,6 @@ main ()
int mask;
/* Argument 2 must be 0 or 1. Argument 3 must be in range 0..15. */
res = vec_shasigma_be (test, 1, 0xff); /* { dg-error "argument 3 must be in the range \\[0, 15\\]" } */
res = vec_shasigma_be (test, 1, 0xff); /* { dg-error "argument 3 must be in the range \\\[0, 15\\\]" } */
return res;
}