From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0E7023858409; Mon, 5 Feb 2024 15:10:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0E7023858409 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707145857; bh=xhwkk0w6zZrAaM2SPqVRNq+u8IESDstmaP/iMBxNfw8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Ohw0ymnrKlqL2JG0Nf1rhMo+q+k73y0PnD3MArqpCIiSmM36a+WfWpJa6Xij7nHF6 n3RLgvKASYueJCu9x4hHBkF7NVQJCTpv0QmlqZN1kvlBW5plR+siCNW8iLk8CpZlnE yQz0jnZoIyMwbJEBUKzMpBRjRL6OXHyFBeQLK4S0= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/113760] [DR1693] gcc rejects valid empty-declaration in pedantic mode Date: Mon, 05 Feb 2024 15:10:56 +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: unknown X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc keywords bug_status 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=3D113760 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|gcc rejects valid |[DR1693] gcc rejects valid |empty-declaration in |empty-declaration in |pedantic mode |pedantic mode Keywords| |rejects-valid Status|WAITING |NEW --- Comment #6 from Jonathan Wakely --- OK, so a proper bug report would be that there's a diagnostic with -std=3Dc= ++14 -pedantic for this code: struct f { int t; ; }; Confirmed.=