[PATCH][gcc] libgccjit: check result_type in gcc_jit_context_new_binary_op

Andrea Corallo Andrea.Corallo@arm.com
Tue Jun 25 08:11:00 GMT 2019

third version for this patch with the simplified test.

make check-jit pass clean


2019-06-09  Andrea Corallo  andrea.corallo@arm.com

* libgccjit.c (gcc_jit_context_new_binary_op): Check result_type to be a
numeric type.

2019-06-20  Andrea Corallo andrea.corallo@arm.com

* jit.dg/test-error-gcc_jit_context_new_binary_op-bad-res-type.c:
New testcase.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binary_op_check_result_type.patch
Type: text/x-diff
Size: 2128 bytes
Desc: binary_op_check_result_type.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190625/ec07b198/attachment.bin>

More information about the Gcc-patches mailing list