From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 4CBVDldsVWOuxg8AWB0awg (envelope-from ) for ; Sun, 23 Oct 2022 12:31:19 -0400 Received: by simark.ca (Postfix, from userid 112) id 36EAA1E112; Sun, 23 Oct 2022 12:31:19 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=dCgxSerL; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id D62EB1E0D5 for ; Sun, 23 Oct 2022 12:31:18 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 47CD5385277B for ; Sun, 23 Oct 2022 16:31:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 47CD5385277B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666542678; bh=Ez4qgjuX7xuNLYMWaKmm5bM9WDGaWO6IOi3EkNX1LcQ=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=dCgxSerLGKnkZzzW4Z92TFEtuYX/eU+X5iXNyM3hgX+lSTGqKuuX4Cbx4XL6iGEYS rLiCtjFwC35JKzme/mUNH/l3a6Lp63sYjoZ5y3olzUTkTvqw5BhhSgA9Vw2jRLBHF1 xvzbsjFPSPXuFoIOCX6g0iPpj2wGmU47c3OcCMQI= Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id 16FDF3852742 for ; Sun, 23 Oct 2022 16:30:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 16FDF3852742 Received: by smtp.gentoo.org (Postfix, from userid 559) id BD3FC34117C; Sun, 23 Oct 2022 16:30:36 +0000 (UTC) Date: Sun, 23 Oct 2022 21:01:11 +0545 To: Tsukasa OI Subject: Re: [PATCH 39/40] sim/iq2000: Add explicit casts Message-ID: Mail-Followup-To: Tsukasa OI , Andrew Burgess , Nick Clifton , gdb-patches@sourceware.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="YCI1pjtzQWtzKYsq" Content-Disposition: inline In-Reply-To: X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Mike Frysinger via Gdb-patches Reply-To: Mike Frysinger Cc: Nick Clifton , gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" --YCI1pjtzQWtzKYsq Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 20 Oct 2022 09:32, Tsukasa OI wrote: > Clang generates a warning if there is an enum value with a mismatching ty= pe > without an explicit cast ("-Wenum-conversion"). > On the default configuration, it causes a build failure > (unless "--disable-werror" is specified). >=20 > This commit adds explicit casts on the IQ2000 instruction decoder. >=20 > Note: > This commit touches CGEN-generated files directly. > Modifying CGEN is the best way to prevent this issue from happening again > but there is another known regression in CGEN or sim/iq2000 to resolve. same feedback as what i posted to "[PATCH 14/40] sim/frv: Add explicit cast= s" -mike --YCI1pjtzQWtzKYsq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmNVWroACgkQQWM7n+g3 9YEKiBAAss1DYnWi/LmRool4K+65P2Os4f3wlxhyiHn+9nifaaFk5jSQD7BcMB3G COtXURZG865tect3/J69SHjghY8THkhnEb6kasA1zeaUD5r0nYsyXef89hYigY8K i8WZCWx3XluRUEwM5jAvUeae8wIjFxQcERywyUB50GDFscvEFHnlDenfxjac/Mwa faj8/qO1ly95emq6ZzijYvGTtMSg3GsJtProla6Id4zhVlhSpmaaaG8oUN38gn6W bAE4USczKHUWibAbejLIFdX5fYEByugC6xdqDyHj3Q5BYHXN/99Ae6g4/Iiz2RVd C6YqLx7uHfxBQzhuFIJfeFZHAJrzXjvoburx4EEmKWO+nbQ24uaTqlR1IoCaJqwt qsaosDtVBMacCow/lH5Zv0ton2OgIvRQhvaYx8GVboG9D60WeMa0ol0IGQskF8pb f+1u90fldpC0Y2j+URZb/RDCGqSa2n09S6BVdKSscLHtBngmK893xUBofxyukYJw JovX31IIymxl3QtesYeIFSKAtboUsHUdsHQGG6DF5kDJAmBuc+nRdUTeBnQ66trY IzRInmN+hJ94MxowMCwGEsCTAX+sZT1864+bz2pUeDoifL88EHjOHTnBHSLx7MgY BAl/QXZw4Ll7oq1dnwXcXTt7Oh/jGCO1Z+UktwJ7wI0DpUcgsqw= =eu9I -----END PGP SIGNATURE----- --YCI1pjtzQWtzKYsq--