component(developer/golang-123): Add Component
[oi-userland.git] / components / developer / gcc-10 / patches / 0011-19-cmn_err-b-conversion-should-accept-0-flag.patch
blobdcf14db5906101043dcfb45b44c3c44e7a756562
1 From cbaa1c7fa1f373a3c1c9b3a564653c94cb9d3b43 Mon Sep 17 00:00:00 2001
2 From: Yuri Pankov <yuri.pankov@nexenta.com>
3 Date: Mon, 13 Feb 2017 18:14:45 +0300
4 Subject: [PATCH 11/34] 19 cmn_err %b conversion should accept 0 flag Reviewed
5 by: Robert Mustacchi <rm@joyent.com> Reviewed by: Richard Lowe
6 <richlowe@richlowe.net>
8 ---
9 gcc/config/sol2-c.c | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
12 diff --git a/gcc/config/sol2-c.c b/gcc/config/sol2-c.c
13 index 202de74d360..4916d686771 100644
14 --- a/gcc/config/sol2-c.c
15 +++ b/gcc/config/sol2-c.c
16 @@ -67,7 +67,7 @@ static const format_char_info cmn_err_char_table[] =
17 { "c", 0, STD_C89, { T89_C, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "-w", "", NULL },
18 { "p", 1, STD_C89, { T89_V, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "-w", "c", NULL },
19 { "s", 1, STD_C89, { T89_C, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "-wp", "cR", NULL },
20 - { "b", 0, STD_C89, { T89_I, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "-w", "", &bitfield_string_type },
21 + { "b", 0, STD_C89, { T89_I, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "-w0", "", &bitfield_string_type },
22 { NULL, 0, STD_C89, NOLENGTHS, NULL, NULL, NULL }
25 --
26 2.31.1