Commit 90ef45cb by Dominik Vogt Committed by Andreas Krebbel

S/390: Fix hotpatch test cases.

The attached patch fixes some dg-error tests that were broken since
the recent change of the error location.

gcc/testsuite/ChangeLog:

	* gcc.target/s390/hotpatch-compile-1.c: Fixed dg-error test.
	* gcc.target/s390/hotpatch-compile-2.c: Likewise.
	* gcc.target/s390/hotpatch-compile-3.c: Likewise.
	* gcc.target/s390/hotpatch-compile-4.c: Likewise.
	* gcc.target/s390/hotpatch-compile-5.c: Likewise.
	* gcc.target/s390/hotpatch-compile-6.c: Likewise.
	* gcc.target/s390/hotpatch-compile-14.c: Likewise.

From-SVN: r240454
parent 56bafc49
2016-09-23 Dominik Vogt <vogt@linux.vnet.ibm.com>
* gcc.target/s390/hotpatch-compile-1.c: Fixed dg-error test.
* gcc.target/s390/hotpatch-compile-2.c: Likewise.
* gcc.target/s390/hotpatch-compile-3.c: Likewise.
* gcc.target/s390/hotpatch-compile-4.c: Likewise.
* gcc.target/s390/hotpatch-compile-5.c: Likewise.
* gcc.target/s390/hotpatch-compile-6.c: Likewise.
* gcc.target/s390/hotpatch-compile-14.c: Likewise.
2016-09-23 Martin Sebor <msebor@redhat.com> 2016-09-23 Martin Sebor <msebor@redhat.com>
PR testsuite/77713 PR testsuite/77713
......
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O3 -mzarch -mhotpatch=-1,0" } */ /* { dg-options "-O3 -mzarch -mhotpatch=-1,0" } */
/* { dg-error "arguments to .-mhotpatch=n,m. should be non-negative integers" "" { target *-*-* } 1 } */ /* { dg-error "arguments to .-mhotpatch=n,m. should be non-negative integers" "" { target *-*-* } 0 } */
...@@ -8,4 +8,4 @@ viod main(void) ...@@ -8,4 +8,4 @@ viod main(void)
return 0; return 0;
} }
/* { dg-error "argument to .-mhotpatch=n,m. is too large" "" { target *-*-* } 1 } */ /* { dg-error "argument to .-mhotpatch=n,m. is too large" "" { target *-*-* } 0 } */
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O3 -mzarch -mhotpatch=0,-1" } */ /* { dg-options "-O3 -mzarch -mhotpatch=0,-1" } */
/* { dg-error "arguments to .-mhotpatch=n,m. should be non-negative integers" "" { target *-*-* } 1 } */ /* { dg-error "arguments to .-mhotpatch=n,m. should be non-negative integers" "" { target *-*-* } 0 } */
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O3 -mzarch -mhotpatch=0" } */ /* { dg-options "-O3 -mzarch -mhotpatch=0" } */
/* { dg-error "arguments to .-mhotpatch=n,m. should be non-negative integers" "" { target *-*-* } 1 } */ /* { dg-error "arguments to .-mhotpatch=n,m. should be non-negative integers" "" { target *-*-* } 0 } */
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O3 -mzarch -mhotpatch=0,0,0" } */ /* { dg-options "-O3 -mzarch -mhotpatch=0,0,0" } */
/* { dg-error "arguments to .-mhotpatch=n,m. should be non-negative integers" "" { target *-*-* } 1 } */ /* { dg-error "arguments to .-mhotpatch=n,m. should be non-negative integers" "" { target *-*-* } 0 } */
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O3 -mzarch -mhotpatch=a,0" } */ /* { dg-options "-O3 -mzarch -mhotpatch=a,0" } */
/* { dg-error "arguments to .-mhotpatch=n,m. should be non-negative integers" "" { target *-*-* } 1 } */ /* { dg-error "arguments to .-mhotpatch=n,m. should be non-negative integers" "" { target *-*-* } 0 } */
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O3 -mzarch -mhotpatch=0,a" } */ /* { dg-options "-O3 -mzarch -mhotpatch=0,a" } */
/* { dg-error "arguments to .-mhotpatch=n,m. should be non-negative integers" "" { target *-*-* } 1 } */ /* { dg-error "arguments to .-mhotpatch=n,m. should be non-negative integers" "" { target *-*-* } 0 } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment