From: Uros Bizjak Date: Mon, 10 Apr 2017 18:51:42 +0000 (+0200) Subject: re PR testsuite/79356 (XPASS in attr-alloc_size-11.c) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=065ba179195ec339203d0421fe3ab2eecd025f3f;p=gcc.git re PR testsuite/79356 (XPASS in attr-alloc_size-11.c) PR testsuite/79356 * gcc.dg/attr-alloc_size-11.c: Don't xfail on alpha. From-SVN: r246816 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b87d0eeedde..91b232d566f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-04-10 Uros Bizjak + + PR testsuite/79356 + * gcc.dg/attr-alloc_size-11.c: Don't xfail on alpha. + 2017-04-10 Daniel Santos PR testsuite/79867 @@ -200,7 +205,7 @@ * gcc.target/arm/small-multiply-m1-2.c: Likewise. * gcc.target/arm/small-multiply-m1-3.c: Likewise. -2017-04-04 Nicolas Koenig +2017-04-04 Nicolas Koenig PR fortran/69498 * gfortran.dg/submodule_unexp.f90: New test. @@ -299,11 +304,11 @@ * gcc.dg/uninit-pred-8_b.c: Reenable DOM. 2017-03-31 Richard Biener - + * gcc.dg/tree-ssa/pr71347.c: Put back XFAIL on sparc. 2017-03-31 Richard Biener - + * gcc.dg/tree-ssa/pr71347.c: Put back XFAIL. 2017-03-31 Jakub Jelinek @@ -500,7 +505,7 @@ 2017-03-27 Claudiu Zissulescu - * testsuite/gcc.target/arc/interrupt-4.c: New file. + * gcc.target/arc/interrupt-4.c: New file. 2017-03-27 Richard Biener @@ -717,7 +722,7 @@ * gcc.c-torture/compile/pr71436.c: New test. 2017-03-23 Bill Schmidt - Richard Biener + Richard Biener PR tree-optimization/79908 PR tree-optimization/80136 @@ -782,7 +787,7 @@ * gfortran.dg/unexp_attribute.f90: New test 2017-03-21 Bill Schmidt - Richard Biener + Richard Biener PR tree-optimization/79908 * gcc.dg/torture/pr79908.c: New file. @@ -986,11 +991,11 @@ 2017-03-13 Claudiu Zissulescu - * testsuite/gcc.target/arc/bitfield.c: New file. + * gcc.target/arc/bitfield.c: New file. 2017-03-13 Claudiu Zissulescu - * testsuite/gcc.target/arc/pr9001090948.c: New file. + * gcc.target/arc/pr9001090948.c: New file. 2017-03-11 Segher Boessenkool @@ -1319,7 +1324,7 @@ * g++.dg/tm/pr70266.C: New. 2017-03-05 Andre Vehreschild - Alessandro Fanfarillo + Alessandro Fanfarillo * gfortran.dg/coarray/fail_image_1.f08: New test. * gfortran.dg/coarray/fail_image_2.f08: New test. diff --git a/gcc/testsuite/gcc.dg/attr-alloc_size-11.c b/gcc/testsuite/gcc.dg/attr-alloc_size-11.c index 47584f5601f..fe6154a0d77 100644 --- a/gcc/testsuite/gcc.dg/attr-alloc_size-11.c +++ b/gcc/testsuite/gcc.dg/attr-alloc_size-11.c @@ -47,8 +47,8 @@ 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*-*-* 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 (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*-*-* alpha*-*-* 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*-*-* alpha*-*-* 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" } */ TEST (int, -2, ALLOC_MAX); /* { dg-warning "argument 1 range \\\[13, \[0-9\]+\\\] exceeds maximum object size 12" } */