From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id uDLiN+JnVWMpxQ8AWB0awg (envelope-from ) for ; Sun, 23 Oct 2022 12:12:18 -0400 Received: by simark.ca (Postfix, from userid 112) id E268D1E112; Sun, 23 Oct 2022 12:12:18 -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=ILtGOUPQ; 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=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (ip-8-43-85-97.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 942B91E0D5 for ; Sun, 23 Oct 2022 12:12:18 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 019A73853821 for ; Sun, 23 Oct 2022 16:12:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 019A73853821 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666541538; bh=LbrmquZLuidCmnKJtUR5iJeXSlMvuZIquE6MqnXlkg0=; 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=ILtGOUPQmtSGMan7qgfG2+sb/oktZoAIZHFqYU9TecV5t4NYtun4BPcX758K+kVvL NVHyGU8AxQHjcf+MwqLFkhJj3vcQKNUdNfHyi0Wj0BtwACGyflU63xP19TAVJ1gtZw b7LqbRivT9IZ2jUY7kf4OkN1fp0oIv1HDDVx7F5A= Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id 49B6F3858404 for ; Sun, 23 Oct 2022 16:11:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 49B6F3858404 Received: by smtp.gentoo.org (Postfix, from userid 559) id ECD2C34107F; Sun, 23 Oct 2022 16:11:58 +0000 (UTC) Date: Sun, 23 Oct 2022 20:42:33 +0545 To: Tsukasa OI Subject: Re: [PATCH 23/40] sim/m32r: 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="sNXmHDMgt/COxg/F" 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" --sNXmHDMgt/COxg/F 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 M32R 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/m32r to resolve. same feedback as what i posted to "[PATCH 14/40] sim/frv: Add explicit cast= s" -mike --sNXmHDMgt/COxg/F Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmNVVl0ACgkQQWM7n+g3 9YENJQ//VSR3ZO0L37Gj158hKUy115MfUXYnZTzHxHXxj0ltGvlHmJ14CVnBV1W1 7ejsDMz1jYOHTqT3ZF4ICYjWFejYj6AtEDjcj12Hvj/GVk3CbdttnZSBA8J0EZRq CWsm8GZXgJv59wnCAmu0+kUU3dQNE7/25dtFT23J7vR4Y8vdf1SHWqBbqdH/aCOc FQq/7YwTBvkejF4v/CrQJMfdnpdqv5T9WWa4bSf2JpOGailfRec+Rwri0gpPalyL Zuw/DKEmkYT4zXXipyeYBvE++eRcNORlqd7ULofiHrT+R/XHNW5lILYdZfeI8vTv ActHkNsKNOhQXxFuGXSqZf10Sw4RRpM9umbBHGeFKHEO2g2w656e/M2zeUv/wOlY fouOYmi8kDdhED0JvfcY0oo8cLd3uK9ItomUHpVfwNwJmfB3fQgWh6sqlqoteseF e33mj6EWApZxHlhfDTwMPNi9MJN/J5AMKxEgEyrM4qr19q43/E6kNZtc+QRjnbnu vgj9hvYSDO0qydqghHWwWZmZsfnrSYPHBcc7hHZCwlir/GXNt4T8ugEqvW0b2GED 2aHuf3dqim9wEfm/2mDwwps386ktJeYMwAwNZO3pQIFBzzeGJyEiPCC5CnReqMfD O6BNlCZXJSZhwMxQgE6h8DkOOPWjQwCEHH6dxxlUdMNoYAJgH4o= =x3HV -----END PGP SIGNATURE----- --sNXmHDMgt/COxg/F--