From: Dominik Vogt Date: Mon, 3 Apr 2017 10:57:41 +0000 (+0000) Subject: Don't xfail on s390. X-Git-Tag: upstream/12.2.0~40389 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=79f9fc387d52049546f9ceb43472743d3a1153cc;p=platform%2Fupstream%2Fgcc.git 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 PR testsuite/79356 * gcc.dg/attr-alloc_size-11.c: Don't xfail on s390. From-SVN: r246645 --- 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 + + PR testsuite/79356 + * gcc.dg/attr-alloc_size-11.c: Don't xfail on s390. + 2017-04-03 Robin Dapp * 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" } */