From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8FC163858C31; Sun, 19 May 2024 02:22:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8FC163858C31 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1716085346; bh=3cKXWRQdeD69WhwQKoINK/zyYM3KEfShRsvKxg3ocRI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=GCm+tlqMEtdwtPeuds+9Dy2xK5Nh2jb4u+DM+1cEcIfSv3Uso/ZAQyJ5pWxWo3tMc NBydm3NTZMI87jJ1cLm+RI+NqwBkFqgfqfT3UOP4090yvTmdkLI+eLQvtXMFL6ocWw MbLX+gGz7hYjZGQ5AKuQTTBM8MqIgqaAqvXKScHw= From: "luigighiron at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/115109] Incorrect type of enumeration constant in redeclaration of enumeration constant (C23) Date: Sun, 19 May 2024 02:22:24 +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: 14.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: luigighiron at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: uecker at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D115109 --- Comment #4 from Halalaluyafail3 --- (In reply to Halalaluyafail3 from comment #3) > enum E { a =3D 1L, b =3D _Generic(a, enum E: 2) }; /* { dg-warning "outsi= de the range" } */ Seems like I copied this wrong, the comment should be a part of the first quote.=