From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com [68.232.129.153]) by sourceware.org (Postfix) with ESMTPS id 702623858D20 for ; Thu, 14 Dec 2023 20:58:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 702623858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 702623858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=68.232.129.153 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702587511; cv=none; b=h1hvgL+4yxxqrqkdQeI+y8XxVphahEYBhF9r0ez0Ao1/+MxQtkeT+0F4x6fmd8TAIScqUwFmk8BfAXin5UO0ujZ0Vq4G1XWd6YNEuoMe13rZUX4IZxjw35JHf/WBbIxssbd9y5iZX1l5eIVQLoqdyeq1CmV2a6DoCHZbDNc2H0Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1702587511; c=relaxed/simple; bh=JTN1scZNhyC0zlmIRgXxdr2A7nUatouGm+IYmwLcyf8=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=B0suvE4Fq8hL6XzbeocXLlbU6SAbj2Whlx27/qlNNua2txIwU8a1dpLJVnc47Eav/6AVXOsAP9T87Ff0Sl0s1+km7KRyS7qhfuk0EeiH/il3hp6os9kU/pYzTjg7UQrVy4a2eTcEHARmoss8EEKW/K8D2ARi3PJhONEne1u22L0= ARC-Authentication-Results: i=1; server2.sourceware.org X-CSE-ConnectionGUID: 34SFZfNZSNqKJ7k/Xk6LxA== X-CSE-MsgGUID: okE4M70kQbuLUxM9ixeeOQ== X-IronPort-AV: E=Sophos;i="6.04,276,1695715200"; d="scan'208";a="28607016" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa1.mentor.iphmx.com with ESMTP; 14 Dec 2023 12:58:29 -0800 IronPort-SDR: cm1VDhQE5P7EBd7T4rypPMyT2ZDhqduBHyh6/tMnTB3lCfW+zPywoZ7GRbbAmVyUTjS42Ipoxg ovfKeWhtbkp4dl/WUXP3ObIvj6j8Nq0XRo2jbihfAgQ/SjMND7TWITXFwxXiTZYhod2irqf1m5 nxBMl5cO6swfjSPLqBkHqkQTC9jZzjj6ehZ943v57uB8FGTUSE7ODu7hTGdV5i7tebCEBGTE8C RfmTqo9CYNCHgMP/Um2ruKh04lLJNX8ubzLtsgQ3Lvmkarq+zzt6t6u64Mg9/BmEeSQG+Hf7sQ CnM= Date: Thu, 14 Dec 2023 20:58:25 +0000 From: Joseph Myers To: Martin Uecker CC: Subject: Re: [V4] [PATCH 2/4] c23: tag compatibility rules for enums In-Reply-To: Message-ID: <42f033a5-ed92-b28c-40bf-d061a364b8d5@codesourcery.com> References: <02a9b94e4d653b6f1b9f89a1b62187f46e871738.camel@tugraz.at> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) To svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) X-Spam-Status: No, score=-3102.7 required=5.0 tests=BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Mon, 27 Nov 2023, Martin Uecker wrote: > + enum B : short { M = 1 } *y2e = &x2; /* { dg-warning "incompatible" } */ This probably now needs to be dg-error because -Wincompatible-pointer-types is now an error by default. OK with that changed as needed (you may also need such a change in patch 1, so retest both patches against current master before applying). -- Joseph S. Myers joseph@codesourcery.com