Fix broken tests for avr target
authorSenthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Tue, 28 Mar 2017 10:55:18 +0000 (10:55 +0000)
committerSenthil Kumar Selvaraj <saaadhu@gcc.gnu.org>
Tue, 28 Mar 2017 10:55:18 +0000 (10:55 +0000)
commit17722fb9e6f8c79c7016c68ea359d6fe2dd5aadd
tree3e99b7e467b519adc2fdf74c9a90c329b6da8562
parent41f447177cd863ae2bdf8f77801517e8007b4e2b
Fix broken tests for avr target

These tests assume {unsigned,} ints are 32 bits or wider. Explicitly
specify __{U}INT32_TYPE__ for targets with __SIZEOF_INT__ < 4.

gcc/testsuite/

2017-03-28  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>

* gcc.c-torture/execute/pr79121.c:Use __{U}INT32_TYPE__ for targets
with sizeof(int) < 4.
* gcc.c-torture/execute/pr79737-1.c (struct S): Likewise.
* gcc.c-torture/execute/pr79737-2.c: Likewise.
* gcc.dg/torture/pr79777.c: Likewise.
* gcc.dg/torture/pr79910.c: Likewise.

From-SVN: r246529
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr79121.c
gcc/testsuite/gcc.c-torture/execute/pr79737-1.c
gcc/testsuite/gcc.c-torture/execute/pr79737-2.c
gcc/testsuite/gcc.dg/torture/pr79777.c
gcc/testsuite/gcc.dg/torture/pr79910.c