From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7E1EB386EC42; Wed, 10 Jun 2020 13:33:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7E1EB386EC42 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1591796005; bh=LELb/QjpL2KXQJUy4nUbMJP3nZ5tgiG+DRzKQfMtLVg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=gS+IqO84+eF2HItYbWZJGX0+GyL858JMPFgr7riIlqLWSM+JNCq3qeMTVQZgmqBdE EC8Vi0TASmf3+6Ho+nG5NzAt/rKN81WcSv1x/W04w5x3S4vljP5DlGTqaj4vfhqPK7 uE9iGuGn4xIc32p1TmODz+84j3M6mx2YIiVDqJVU= From: "haoxintu at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/95559] GCC accepts "too many braces around scalar initializer " in the version of 6.1 - 8.4 Date: Wed, 10 Jun 2020 13:33:25 +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: haoxintu at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2020 13:33:25 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95559 --- Comment #5 from Haoxin Tu --- (In reply to Marek Polacek from comment #4) > That's the same case, initializing an int with {{}}. GCC 8 compiled the > second testcase, but that was fixed in r269045. Ok, got it. At least this was a bug, can you change the status to DUPLICATE= if you are convenience? Thank you so much~=