Fix bogus pr78886.c failure for avr
authorSenthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Wed, 17 May 2017 05:50:37 +0000 (05:50 +0000)
committerSenthil Kumar Selvaraj <saaadhu@gcc.gnu.org>
Wed, 17 May 2017 05:50:37 +0000 (05:50 +0000)
commit8508a5b58ff4eefe161489d10623a9a24899c0b2
tree8856cda57f563dfbde334d5eb2e40a5ecb4c00fd
parentbc36d2b7aea6437d579ac1df84278e24c7f15485
Fix bogus pr78886.c failure for avr

The test fails for avr because malloc has been declared to take
an unsigned long, whereas size_t for avr is only unsigned int.

Fixed by typedef'ing __SIZE_TYPE__ to size_t and using it in the
malloc function declaration.

gcc/testsuite/

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

* gcc.dg/tree-ssa/pr78886.c: Use __SIZE_TYPE__ instead of
unsigned long.

From-SVN: r248138
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr78886.c