Fix int vs bool issue in jit.dg/test-arith-overflow.c
authorDavid Malcolm <dmalcolm@redhat.com>
Mon, 19 Jan 2015 19:15:10 +0000 (19:15 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Mon, 19 Jan 2015 19:15:10 +0000 (19:15 +0000)
commit670c08b3577fd0d502d4f51629df28a267135113
tree70976aba270acb79239683a1dd36261e1c542caf
parent29c38396b50299b35f21765a5d44f3aa7ad07602
Fix int vs bool issue in jit.dg/test-arith-overflow.c

gcc/testsuite/ChangeLog:
* jit.dg/test-arith-overflow.c: Include stdbool.h.
(create_overflow_fn): Update comment to clarify that
the third param of the created function is a bool *, not
an int *.
(verify_int_overflow_fn): Convert param "expected_ovf" from
int to bool.  Update third param of "overflow_fn_type" from int *
to bool *.  Update local "actual_ovf" from int to bool.
(verify_uint_overflow_fn): Likewise.

From-SVN: r219856
gcc/testsuite/ChangeLog
gcc/testsuite/jit.dg/test-arith-overflow.c