From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D09B73858D3C; Sat, 8 Apr 2023 14:57:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D09B73858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1680965873; bh=eRC9dsH5xfOr8GD5gRl2n33AsFtysTK4i35e7q8MqmA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RJUWcuNF9Fbw1h5J4sxIp2zIzF3lACfFg+5tqQLW7v3p9gHlt2L/Nh64muVGipA5d U7TB+VobOKFssPFHRm+pXwi7atYUXrij47ntNATvEteTdSP062jtja+nsmt0lRnzz6 dRRmoQ0OFc7p52+Vy5ywBFpAOatj0CdCw9QNPRuY= From: "jg at jguk dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109356] Enhancement idea to provide clearer missing brace line number Date: Sat, 08 Apr 2023 14:57:53 +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: 13.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jg at jguk dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX 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=3D109356 --- Comment #6 from Jonny Grant --- Tried a few other compilers on godbolt.=20 ICC gets the warning on line 6 https://godbolt.org/z/fYb9c8f61 nvc++ gives the warning on line 6=20 https://godbolt.org/z/xvh67odzY MSVC and Clang don't.=