NetBSD Problem Report #53008
From www@NetBSD.org Sun Feb 11 07:21:24 2018
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 436997A187
for <gnats-bugs@gnats.NetBSD.org>; Sun, 11 Feb 2018 07:21:24 +0000 (UTC)
Message-Id: <20180211072123.383017A264@mollari.NetBSD.org>
Date: Sun, 11 Feb 2018 07:21:23 +0000 (UTC)
From: henning.petersen@t-online.de
Reply-To: henning.petersen@t-online.de
To: gnats-bugs@NetBSD.org
Subject: GCC6: missing brace in cp/decl.c
X-Send-Pr-Version: www-1.0
>Number: 53008
>Category: toolchain
>Synopsis: GCC6: missing brace in cp/decl.c
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 11 07:25:00 +0000 2018
>Closed-Date: Sun Feb 11 16:40:39 +0000 2018
>Last-Modified: Sun Feb 11 16:40:39 +0000 2018
>Originator: Henning Petersen
>Release: netbsd-current
>Organization:
>Environment:
>Description:
In function expand_static_init is missing one closing brace.
>How-To-Repeat:
>Fix:
diff -u -u -p -r1.1.1.9 decl.c
--- external/gpl3/gcc/dist/gcc/cp/decl.c 2 Feb 2018 01:59:43 -0000 1.1.1.9
+++ external/gpl3/gcc/dist/gcc/cp/decl.c 11 Feb 2018 07:09:39 -0000
@@ -7455,6 +7455,7 @@ expand_static_init (tree decl, tree init
} catch {
if (!flag) __cxa_guard_abort (&guard);
}
+ }
}
Note that the `flag' variable is only set to 1 *after* the
>Release-Note:
>Audit-Trail:
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/53008 CVS commit: src/external/gpl3/gcc/dist/gcc/cp
Date: Sun, 11 Feb 2018 10:56:25 -0500
Module Name: src
Committed By: christos
Date: Sun Feb 11 15:56:25 UTC 2018
Modified Files:
src/external/gpl3/gcc/dist/gcc/cp: decl.c
Log Message:
PR/53008: Henning Petersen: Fix missing brace inside comment.
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.9 -r1.2 src/external/gpl3/gcc/dist/gcc/cp/decl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sun, 11 Feb 2018 16:40:39 +0000
State-Changed-Why:
Applied, thanks for the patch!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.