Fix tests for targets with sizeof(int) != 32.
authorSenthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Mon, 25 Jul 2016 11:55:45 +0000 (11:55 +0000)
committerSenthil Kumar Selvaraj <saaadhu@gcc.gnu.org>
Mon, 25 Jul 2016 11:55:45 +0000 (11:55 +0000)
commitbf01e070a65a0d85cce05034673648b79d467c72
tree326b03a840b7f7338dfe4d31d50dfc5bee2f1c60
parent10c9ea62d6d07e20d23b0ff6ea5211a573b0b9c0
Fix tests for targets with sizeof(int) != 32.

gcc/testsuite/

* gcc.dg/torture/pr69352.c (foo): Cast to intptr_t instead of long.
* gcc.dg/torture/pr69771.c: Require int32plus.
* gcc.dg/torture/pr71866.c (inb): Add cast to intptr_t.

From-SVN: r238708
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr69352.c
gcc/testsuite/gcc.dg/torture/pr69771.c
gcc/testsuite/gcc.dg/torture/pr71866.c