From ad020996963da0cdfa748fb8f2059fc68048f2c2 Mon Sep 17 00:00:00 2001 From: krebbel Date: Fri, 23 Sep 2016 19:37:06 +0000 Subject: [PATCH] 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240454 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 10 ++++++++++ gcc/testsuite/gcc.target/s390/hotpatch-compile-1.c | 2 +- gcc/testsuite/gcc.target/s390/hotpatch-compile-14.c | 2 +- gcc/testsuite/gcc.target/s390/hotpatch-compile-2.c | 2 +- gcc/testsuite/gcc.target/s390/hotpatch-compile-3.c | 2 +- gcc/testsuite/gcc.target/s390/hotpatch-compile-4.c | 2 +- gcc/testsuite/gcc.target/s390/hotpatch-compile-5.c | 2 +- gcc/testsuite/gcc.target/s390/hotpatch-compile-6.c | 2 +- 8 files changed, 17 insertions(+), 7 deletions(-) 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 } */ -- 2.11.4.GIT