From 280bf9cfe6e9e597afd605b394481d1e9c154586 Mon Sep 17 00:00:00 2001 From: Yuri Pankov Date: Mon, 13 Feb 2017 18:14:45 +0300 Subject: 19 cmn_err %b conversion should accept 0 flag Reviewed by: Robert Mustacchi Reviewed by: Richard Lowe --- gcc/config/sol2-c.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/sol2-c.cc b/gcc/config/sol2-c.cc index 7d31d9481c1c..4183f48b71d8 100644 --- a/gcc/config/sol2-c.cc +++ b/gcc/config/sol2-c.cc @@ -67,7 +67,7 @@ static const format_char_info cmn_err_char_table[] = { "c", 0, STD_C89, { T89_C, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "-w", "", NULL }, { "p", 1, STD_C89, { T89_V, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "-w", "c", NULL }, { "s", 1, STD_C89, { T89_C, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "-wp", "cR", NULL }, - { "b", 0, STD_C89, { T89_I, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "-w", "", &bitfield_string_type }, + { "b", 0, STD_C89, { T89_I, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "-w0", "", &bitfield_string_type }, { NULL, 0, STD_C89, NOLENGTHS, NULL, NULL, NULL } };