Fix bogus pr31096-1.c failure for avr
authorSenthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Tue, 29 Nov 2016 11:21:46 +0000 (11:21 +0000)
committerSenthil Kumar Selvaraj <saaadhu@gcc.gnu.org>
Tue, 29 Nov 2016 11:21:46 +0000 (11:21 +0000)
commit11edabc2dfb9274445d697eff2bafde3abdefa1f
tree561c084f3992904d6c47187c6a75842074a58673
parentb302f2e058a37b462e8c78216a65ff7341a58bf1
Fix bogus pr31096-1.c failure for avr

The dump expects literals which would only be present if the target's
int size is 32 bits.

Fix by explicitly using 32 bit ints for targets with __SIZEOF_INT__ < 4.

gcc/testsuite/
2016-11-29  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>

* testsuite/gcc.dg/pr31096-1.c: Use __{U,}INT32_TYPE__ for
targets with sizeof(int) < 4.

From-SVN: r242954
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr31096-1.c