From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 969263858D32; Thu, 6 Apr 2023 09:28:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 969263858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1680773297; bh=hr+ZF5yKO0t9a0AWRTfJRZRnBXO+8wtBxfiYpKZEDp8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KMZfy4kBdJ/DOn5JVUKRamcV01/YhkbeNjxhfTGGJoRN3r37yaifjy0SgyIqCaqMY oI6MwHCAAKoZhsyzfvmcLqzaYV+lxS/1DkKjhhdQSpSyzxBbYwMs9zPvEwXdd0XwNm dZDXOfNzKu49+X89EUmBTAKjheUJbeQkLD4b5yhk= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/64480] List designated initializer triggers -Wmissing-field-initializers Date: Thu, 06 Apr 2023 09:28:17 +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.8.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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: 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=3D64480 --- Comment #5 from Jonathan Wakely --- (In reply to zhonghao from comment #4) > Is this bug fixed? I tried the latest gcc, but it still rejects the sample > code. No, the latest gcc accepts this C code without errors. Please stop commenti= ng on old bugs if you are not capable of understanding the difference between C and C++, or I will block your account.=