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
This commit is contained in:
parent
8a3a6ab451
commit
c048038f8d
@ -1,3 +1,9 @@
|
||||
2017-01-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
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 <matthew.fortune@imgtec.com>
|
||||
|
||||
PR target/78176
|
||||
|
@ -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" } */
|
||||
|
Loading…
Reference in New Issue
Block a user