From 9979f9731084d6d7ce6b16d831731626e5858981 Mon Sep 17 00:00:00 2001 From: Martin Sebor Date: Tue, 9 May 2017 15:39:54 +0000 Subject: [PATCH] re PR translation/80280 (Missing closing quote (%>) c/semantics.c and c/c-typeck.c) gcc/ChangeLog: PR translation/80280 * config/i386/msformat-c.c (ms_printf_flag_specs): Initialize new data member added in r247778. (ms_scanf_flag_specs, ms_strftime_flag_specs): Same. From-SVN: r247801 --- gcc/ChangeLog | 7 +++++++ gcc/config/i386/msformat-c.c | 36 ++++++++++++++++++------------------ 2 files changed, 25 insertions(+), 18 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8a0544f5d6e..48932348897 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2017-05-09 Martin Sebor + + PR translation/80280 + * config/i386/msformat-c.c (ms_printf_flag_specs): Initialize new + data member added in r247778. + (ms_scanf_flag_specs, ms_strftime_flag_specs): Same. + 2017-05-09 Nathan Sidwell * tree.h (tree_fits_shwi_p, tree_fits_uhwi_p): Unconditionally pure. diff --git a/gcc/config/i386/msformat-c.c b/gcc/config/i386/msformat-c.c index ec8f735ccb9..716a5c68cac 100644 --- a/gcc/config/i386/msformat-c.c +++ b/gcc/config/i386/msformat-c.c @@ -39,16 +39,16 @@ static format_length_info ms_printf_length_specs[] = static const format_flag_spec ms_printf_flag_specs[] = { - { ' ', 0, 0, N_("' ' flag"), N_("the ' ' printf flag"), STD_C89 }, - { '+', 0, 0, N_("'+' flag"), N_("the '+' printf flag"), STD_C89 }, - { '#', 0, 0, N_("'#' flag"), N_("the '#' printf flag"), STD_C89 }, - { '0', 0, 0, N_("'0' flag"), N_("the '0' printf flag"), STD_C89 }, - { '-', 0, 0, N_("'-' flag"), N_("the '-' printf flag"), STD_C89 }, - { '\'', 0, 0, N_("''' flag"), N_("the ''' printf flag"), STD_EXT }, - { 'w', 0, 0, N_("field width"), N_("field width in printf format"), STD_C89 }, - { 'p', 0, 0, N_("precision"), N_("precision in printf format"), STD_C89 }, - { 'L', 0, 0, N_("length modifier"), N_("length modifier in printf format"), STD_C89 }, - { 0, 0, 0, NULL, NULL, STD_C89 } + { ' ', 0, 0, 0, N_("' ' flag"), N_("the ' ' printf flag"), STD_C89 }, + { '+', 0, 0, 0, N_("'+' flag"), N_("the '+' printf flag"), STD_C89 }, + { '#', 0, 0, 0, N_("'#' flag"), N_("the '#' printf flag"), STD_C89 }, + { '0', 0, 0, 0, N_("'0' flag"), N_("the '0' printf flag"), STD_C89 }, + { '-', 0, 0, 0, N_("'-' flag"), N_("the '-' printf flag"), STD_C89 }, + { '\'', 0, 0, 0, N_("''' flag"), N_("the ''' printf flag"), STD_EXT }, + { 'w', 0, 0, 0, N_("field width"), N_("field width in printf format"), STD_C89 }, + { 'p', 0, 0, 0, N_("precision"), N_("precision in printf format"), STD_C89 }, + { 'L', 0, 0, 0, N_("length modifier"), N_("length modifier in printf format"), STD_C89 }, + { 0, 0, 0, 0, NULL, NULL, STD_C89 } }; static const format_flag_pair ms_printf_flag_pairs[] = @@ -60,12 +60,12 @@ static const format_flag_pair ms_printf_flag_pairs[] = static const format_flag_spec ms_scanf_flag_specs[] = { - { '*', 0, 0, N_("assignment suppression"), N_("the assignment suppression scanf feature"), STD_C89 }, - { 'a', 0, 0, N_("'a' flag"), N_("the 'a' scanf flag"), STD_EXT }, - { 'w', 0, 0, N_("field width"), N_("field width in scanf format"), STD_C89 }, - { 'L', 0, 0, N_("length modifier"), N_("length modifier in scanf format"), STD_C89 }, - { '\'', 0, 0, N_("''' flag"), N_("the ''' scanf flag"), STD_EXT }, - { 0, 0, 0, NULL, NULL, STD_C89 } + { '*', 0, 0, 0, N_("assignment suppression"), N_("the assignment suppression scanf feature"), STD_C89 }, + { 'a', 0, 0, 0, N_("'a' flag"), N_("the 'a' scanf flag"), STD_EXT }, + { 'w', 0, 0, 0, N_("field width"), N_("field width in scanf format"), STD_C89 }, + { 'L', 0, 0, 0, N_("length modifier"), N_("length modifier in scanf format"), STD_C89 }, + { '\'', 0, 0, 0, N_("''' flag"), N_("the ''' scanf flag"), STD_EXT }, + { 0, 0, 0, 0, NULL, NULL, STD_C89 } }; static const format_flag_pair ms_scanf_flag_pairs[] = @@ -76,8 +76,8 @@ static const format_flag_pair ms_scanf_flag_pairs[] = static const format_flag_spec ms_strftime_flag_specs[] = { - { '#', 0, 0, N_("'#' flag"), N_("the '#' strftime flag"), STD_EXT }, - { 0, 0, 0, NULL, NULL, STD_C89 } + { '#', 0, 0, 0, N_("'#' flag"), N_("the '#' strftime flag"), STD_EXT }, + { 0, 0, 0, 0, NULL, NULL, STD_C89 } }; static const format_flag_pair ms_strftime_flag_pairs[] =