Commit c048038f by Rainer Orth Committed by Rainer Orth

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
parent 8a3a6ab4
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> 2017-01-19 Matthew Fortune <matthew.fortune@imgtec.com>
PR target/78176 PR target/78176
......
...@@ -140,7 +140,7 @@ test_int_range (int n) ...@@ -140,7 +140,7 @@ test_int_range (int n)
#if __i386__ || __x86_64__ #if __i386__ || __x86_64__
/* Avoid failures described in bug 79051. */ /* 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 #endif
sink (f_int_1 (SAR (0, max))); /* { dg-warning "argument 1 range \\\[-\[0-9\]*, -1\\\] is negative" } */ sink (f_int_1 (SAR (0, max))); /* { dg-warning "argument 1 range \\\[-\[0-9\]*, -1\\\] is negative" } */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment