From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 97011385840C; Mon, 24 Oct 2022 19:18:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 97011385840C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666639124; bh=Ezu7kSqC4nsT9aXEZd3aL5mXvD/fOwykofzddZlBCOc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=chWwCTgabGwtLgZiZB8A8Sq9HJKrxgy5qIlc44ml4w7ChahotgT6FMS40fFusSR7n Sl+O3CluA+GRvigJl6edGxwyvR4+wi8666jfHDr9PV4uAYVKEGr8fiLqAblEJOWJ/s 2AJ/LWV2qyAYxczLyuM9SiDkY1HDxQIUUmb5hvBM= From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/16186] gcc should have an option to warn about enumerations with duplicate values Date: Mon, 24 Oct 2022 19:18:44 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.0.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D16186 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D107386 --- Comment #6 from Martin Li=C5=A1ka --- (In reply to Marek Polacek from comment #5) > (In reply to Martin Li=C5=A1ka from comment #4) > > @Marek: please add it! >=20 > Anything to oblige ye, my fellow. It would pay off my friend (PR107386).=