Fix broken cunroll-13.c for avr target
authorSenthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Tue, 9 May 2017 09:59:25 +0000 (09:59 +0000)
committerSenthil Kumar Selvaraj <saaadhu@gcc.gnu.org>
Tue, 9 May 2017 09:59:25 +0000 (09:59 +0000)
commitfd71825b428daa5f466c8e3a26dbeace303e08f8
treed602a2e5ba54445ec8c8e7b9de6e7b59b3020080
parent39032dee86e21245131591df3d876f114a1768c6
Fix broken cunroll-13.c for avr target

The test reports bogus failures because the loop variable i is declared
as int, and the constant expected in the dump doesn't fit in an int for avr.
Fixed by explicitly using __INT32_TYPE__ for targets with __SIZEOF_INT__ < 4.

gcc/testsuite/

2017-05-09  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>

* gcc.dg/tree-ssa/cunroll-13.c: Use __INT32_TYPE__ for
for targets with __SIZEOF_INT__ < 4.

From-SVN: r247782
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/cunroll-13.c