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

David Malcolm dmalcolm@redhat.com
Mon Jul 22 15:37:00 GMT 2019


On Thu, 2019-07-18 at 14:20 +0000, Andrea Corallo wrote:
> Hi all,
> I've just realized that what we has been done recently for
> gcc_jit_context_new_binary_op should be done also for the unary
> version.
> This patch checks at record time for the result type of
> gcc_jit_context_new_unary_op to be numeric type plus add a testcase
> for the new check.
> 
> make check-jit runs clean
> 
> Is it okay for trunk?

Thanks - this is good for trunk.

Dave



More information about the Gcc-patches mailing list