2015-01-07 David Malcolm <dmalcolm@redhat.com>
+ * jit.dg/test-arith-overflow.c: New test case.
+ * jit.dg/all-non-failing-tests.h: Add test-arith-overflow.c.
+ * jit.dg/test-combination.c (create_code): Likewise.
+ (verify_code): Likewise.
+ * jit.dg/test-threads.c (testcases): Likewise.
+
+2015-01-07 David Malcolm <dmalcolm@redhat.com>
+
* jit.dg/jit.exp: Load wrapper.exp with %{tool} set to "g++"
rather than "jit". Load g++.exp, and call g++_init.
Run test-*.cc files within the testsuite and *.cc files within
#undef create_code
#undef verify_code
+/* test-arith-overflow.c */
+#define create_code create_code_arith_overflow
+#define verify_code verify_code_arith_overflow
+#include "test-arith-overflow.c"
+#undef create_code
+#undef verify_code
+
/* test-array-as-pointer.c */
#define create_code create_code_array_as_pointer
#define verify_code verify_code_array_as_pointer
{
create_code_accessing_struct (ctxt, user_data);
create_code_accessing_union (ctxt, user_data);
+ create_code_arith_overflow (ctxt, user_data);
create_code_array_as_pointer (ctxt, user_data);
create_code_arrays (ctxt, user_data);
create_code_calling_external_function (ctxt, user_data);
{
verify_code_accessing_struct (ctxt, result);
verify_code_accessing_union (ctxt, result);
+ verify_code_arith_overflow (ctxt, result);
verify_code_array_as_pointer (ctxt, result);
verify_code_arrays (ctxt, result);
verify_code_calling_external_function (ctxt, result);
{"accessing_union",
create_code_accessing_union,
verify_code_accessing_union},
+ {"arith_overflow",
+ create_code_arith_overflow,
+ verify_code_arith_overflow},
{"array_as_pointer",
create_code_array_as_pointer,
verify_code_array_as_pointer},