From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 101701 invoked by alias); 22 Jul 2019 15:11:51 -0000 Mailing-List: contact jit-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Subscribe: Sender: jit-owner@gcc.gnu.org Received: (qmail 101683 invoked by uid 89); 22 Jul 2019 15:11:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.100.3 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-6.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=HTo:U*jit X-Spam-Status: No, score=-6.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on sourceware.org X-Spam-Level: X-Spam-User: qpsmtpd, 2 recipients X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 22 Jul 2019 15:11:50 +0000 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id CF05286679; Mon, 22 Jul 2019 15:11:48 +0000 (UTC) Received: from ovpn-117-34.phx2.redhat.com (ovpn-117-34.phx2.redhat.com [10.3.117.34]) by smtp.corp.redhat.com (Postfix) with ESMTP id 448C619D7C; Mon, 22 Jul 2019 15:11:48 +0000 (UTC) Message-ID: <1563808307.2530.94.camel@redhat.com> Subject: Re: [PATCH][gcc] libgccjit: check result_type in gcc_jit_context_new_unary_op From: David Malcolm To: Andrea Corallo , "jit@gcc.gnu.org" , "gcc-patches@gcc.gnu.org" Cc: nd Date: Tue, 01 Jan 2019 00:00:00 -0000 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Mon, 22 Jul 2019 15:11:48 +0000 (UTC) X-IsSubscribed: yes X-SW-Source: 2019-q3/txt/msg00009.txt.bz2 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