From: Dominik Vogt Date: Fri, 23 Sep 2016 19:37:06 +0000 (+0000) Subject: S/390: Fix hotpatch test cases. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=90ef45cb310be06c0cdb1a0e36ee73a2db96a6e2;p=gcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a9a52c965db..6ac5436fc2c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,13 @@ +2016-09-23 Dominik Vogt + + * 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 PR testsuite/77713 diff --git a/gcc/testsuite/gcc.target/s390/hotpatch-compile-1.c b/gcc/testsuite/gcc.target/s390/hotpatch-compile-1.c index ca47f6be5de..f283a1ea329 100644 --- a/gcc/testsuite/gcc.target/s390/hotpatch-compile-1.c +++ b/gcc/testsuite/gcc.target/s390/hotpatch-compile-1.c @@ -2,4 +2,4 @@ /* { dg-do compile } */ /* { 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 } */ diff --git a/gcc/testsuite/gcc.target/s390/hotpatch-compile-14.c b/gcc/testsuite/gcc.target/s390/hotpatch-compile-14.c index 0b5e674d407..a5871f9e8dc 100644 --- a/gcc/testsuite/gcc.target/s390/hotpatch-compile-14.c +++ b/gcc/testsuite/gcc.target/s390/hotpatch-compile-14.c @@ -8,4 +8,4 @@ viod main(void) 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 } */ diff --git a/gcc/testsuite/gcc.target/s390/hotpatch-compile-2.c b/gcc/testsuite/gcc.target/s390/hotpatch-compile-2.c index 78253f59583..b84d26a31d2 100644 --- a/gcc/testsuite/gcc.target/s390/hotpatch-compile-2.c +++ b/gcc/testsuite/gcc.target/s390/hotpatch-compile-2.c @@ -2,4 +2,4 @@ /* { dg-do compile } */ /* { 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 } */ diff --git a/gcc/testsuite/gcc.target/s390/hotpatch-compile-3.c b/gcc/testsuite/gcc.target/s390/hotpatch-compile-3.c index 6dde22422b0..385ac6ad89d 100644 --- a/gcc/testsuite/gcc.target/s390/hotpatch-compile-3.c +++ b/gcc/testsuite/gcc.target/s390/hotpatch-compile-3.c @@ -2,4 +2,4 @@ /* { dg-do compile } */ /* { 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 } */ diff --git a/gcc/testsuite/gcc.target/s390/hotpatch-compile-4.c b/gcc/testsuite/gcc.target/s390/hotpatch-compile-4.c index fbb30833775..da9e1218758 100644 --- a/gcc/testsuite/gcc.target/s390/hotpatch-compile-4.c +++ b/gcc/testsuite/gcc.target/s390/hotpatch-compile-4.c @@ -2,4 +2,4 @@ /* { dg-do compile } */ /* { 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 } */ diff --git a/gcc/testsuite/gcc.target/s390/hotpatch-compile-5.c b/gcc/testsuite/gcc.target/s390/hotpatch-compile-5.c index dc0ff6775b8..1da3e93b05b 100644 --- a/gcc/testsuite/gcc.target/s390/hotpatch-compile-5.c +++ b/gcc/testsuite/gcc.target/s390/hotpatch-compile-5.c @@ -2,4 +2,4 @@ /* { dg-do compile } */ /* { 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 } */ diff --git a/gcc/testsuite/gcc.target/s390/hotpatch-compile-6.c b/gcc/testsuite/gcc.target/s390/hotpatch-compile-6.c index d04045eecd5..4b523dba3c0 100644 --- a/gcc/testsuite/gcc.target/s390/hotpatch-compile-6.c +++ b/gcc/testsuite/gcc.target/s390/hotpatch-compile-6.c @@ -2,4 +2,4 @@ /* { dg-do compile } */ /* { 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 } */