From: Rainer Orth Date: Thu, 19 Jan 2017 17:42:50 +0000 (+0000) Subject: Fix gcc.dg/attr-alloc_size-4.c on i?86 (PR testsuite/79051) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c048038f8d50d5f3c657451b216f6ef751887bd8;p=gcc.git Fix gcc.dg/attr-alloc_size-4.c on i?86 (PR testsuite/79051) PR testsuite/79051 * gcc.dg/attr-alloc_size-4.c (test_int_range) [__i386__ || __x86_64__]: Allow for target i?86-*-*. From-SVN: r244647 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0ba8f93b6a8..662fbc548dc 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2017-01-19 Rainer Orth + + PR testsuite/79051 + * gcc.dg/attr-alloc_size-4.c (test_int_range) [__i386__ || + __x86_64__]: Allow for target i?86-*-*. + 2017-01-19 Matthew Fortune PR target/78176 diff --git a/gcc/testsuite/gcc.dg/attr-alloc_size-4.c b/gcc/testsuite/gcc.dg/attr-alloc_size-4.c index 7c33a1dd600..fd7d7ade772 100644 --- a/gcc/testsuite/gcc.dg/attr-alloc_size-4.c +++ b/gcc/testsuite/gcc.dg/attr-alloc_size-4.c @@ -140,7 +140,7 @@ test_int_range (int n) #if __i386__ || __x86_64__ /* Avoid failures described in bug 79051. */ - sink (f_int_1 (SAR (min + 2, 1235))); /* { dg-warning "argument 1 range \\\[1236, \[0-9\]+\\\] exceeds maximum object size 1234" "" { target { x86_64-*-* } } } */ + sink (f_int_1 (SAR (min + 2, 1235))); /* { dg-warning "argument 1 range \\\[1236, \[0-9\]+\\\] exceeds maximum object size 1234" "" { target { i?86-*-* x86_64-*-* } } } */ #endif sink (f_int_1 (SAR (0, max))); /* { dg-warning "argument 1 range \\\[-\[0-9\]*, -1\\\] is negative" } */