This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][gcc] libgccjit: check result_type in gcc_jit_context_new_unary_op
- From: David Malcolm <dmalcolm at redhat dot com>
- To: Andrea Corallo <Andrea dot Corallo at arm dot com>, "jit at gcc dot gnu dot org" <jit at gcc dot gnu dot org>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: nd <nd at arm dot com>
- Date: Mon, 22 Jul 2019 11:11:47 -0400
- Subject: Re: [PATCH][gcc] libgccjit: check result_type in gcc_jit_context_new_unary_op
- References: <gkr36j31l1s.fsf@arm.com>
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