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

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt
IBM Germany
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 391bde7c28df2189f3652b29fa742b5bb39f2b30 Mon Sep 17 00:00:00 2001
From: Dominik Vogt <v...@linux.vnet.ibm.com>
Date: Fri, 23 Sep 2016 16:10:07 +0100
Subject: [PATCH] S/390: Fix hotpatch test cases.

---
 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 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/gcc/testsuite/gcc.target/s390/hotpatch-compile-1.c 
b/gcc/testsuite/gcc.target/s390/hotpatch-compile-1.c
index ca47f6b..f283a1e 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 0b5e674..a5871f9 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 78253f5..b84d26a 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 6dde224..385ac6a 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 fbb3083..da9e121 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 dc0ff67..1da3e93 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 d04045e..4b523db 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.3.0

Reply via email to