NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/53008: GCC6: missing brace in cp/decl.c



>Number:         53008
>Category:       toolchain
>Synopsis:       GCC6: missing brace in cp/decl.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 11 07:25:00 +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



Home | Main Index | Thread Index | Old Index