aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDominik Vogt <vogt@linux.vnet.ibm.com>2017-04-03 10:57:41 +0000
committerAndreas Krebbel <krebbel@gcc.gnu.org>2017-04-03 10:57:41 +0000
commit79f9fc387d52049546f9ceb43472743d3a1153cc (patch)
tree84a0de8f8055d1f6ea363bb7f8c7a8d0b1d73ae8 /gcc
parenta8e70fd379cd81455b61dd031c277d929f8eaa4e (diff)
downloadgcc-79f9fc387d52049546f9ceb43472743d3a1153cc.zip
gcc-79f9fc387d52049546f9ceb43472743d3a1153cc.tar.gz
gcc-79f9fc387d52049546f9ceb43472743d3a1153cc.tar.bz2
Don't xfail on s390.
The attached patch removes the XFAIL in attr-alloc_size-11.c on s390. (PR 79356). https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79356 gcc/testsuite/ChangeLog: 2017-04-03 Dominik Vogt <vogt@linux.vnet.ibm.com> PR testsuite/79356 * gcc.dg/attr-alloc_size-11.c: Don't xfail on s390. From-SVN: r246645
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/attr-alloc_size-11.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index c353008..c0fc1eb 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2017-04-03 Dominik Vogt <vogt@linux.vnet.ibm.com>
+
+ PR testsuite/79356
+ * gcc.dg/attr-alloc_size-11.c: Don't xfail on s390.
+
2017-04-03 Robin Dapp <rdapp@linux.vnet.ibm.com>
* gcc.target/s390/vector/vcond-shift.c (foo, foo2, foo3, baz, baf)
diff --git a/gcc/testsuite/gcc.dg/attr-alloc_size-11.c b/gcc/testsuite/gcc.dg/attr-alloc_size-11.c
index e5f2157..47584f5 100644
--- a/gcc/testsuite/gcc.dg/attr-alloc_size-11.c
+++ b/gcc/testsuite/gcc.dg/attr-alloc_size-11.c
@@ -47,7 +47,7 @@ typedef __SIZE_TYPE__ size_t;
/* The following tests fail because of missing range information. The xfail
exclusions are PR79356. */
-TEST (signed char, SCHAR_MIN + 2, ALLOC_MAX); /* { dg-warning "argument 1 range \\\[13, \[0-9\]+\\\] exceeds maximum object size 12" "missing range info for signed char" { xfail { ! { aarch64*-*-* arm*-*-* ia64-*-* mips*-*-* powerpc*-*-* sparc*-*-* s390x-*-* } } } } */
+TEST (signed char, SCHAR_MIN + 2, ALLOC_MAX); /* { dg-warning "argument 1 range \\\[13, \[0-9\]+\\\] exceeds maximum object size 12" "missing range info for signed char" { xfail { ! { aarch64*-*-* arm*-*-* ia64-*-* mips*-*-* powerpc*-*-* sparc*-*-* s390*-*-* } } } } */
TEST (short, SHRT_MIN + 2, ALLOC_MAX); /* { dg-warning "argument 1 range \\\[13, \[0-9\]+\\\] exceeds maximum object size 12" "missing range info for short" { xfail { ! { aarch64*-*-* arm*-*-* ia64-*-* mips*-*-* powerpc*-*-* sparc*-*-* s390x-*-* } } } } */
TEST (int, INT_MIN + 2, ALLOC_MAX); /* { dg-warning "argument 1 range \\\[13, \[0-9\]+\\\] exceeds maximum object size 12" } */
TEST (int, -3, ALLOC_MAX); /* { dg-warning "argument 1 range \\\[13, \[0-9\]+\\\] exceeds maximum object size 12" } */