diff options
Diffstat (limited to 'gcc/c/c-parser.c')
-rw-r--r-- | gcc/c/c-parser.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/c/c-parser.c b/gcc/c/c-parser.c index 28384df..69ed5ae 100644 --- a/gcc/c/c-parser.c +++ b/gcc/c/c-parser.c @@ -2127,15 +2127,6 @@ c_parser_declaration_or_fndef (c_parser *parser, bool fndef_ok, if (d != error_mark_node) { maybe_warn_string_init (init_loc, TREE_TYPE (d), init); - - /* Try to convert a string CONSTRUCTOR into a STRING_CST. */ - tree valtype = TREE_TYPE (init.value); - if (TREE_CODE (init.value) == CONSTRUCTOR - && TREE_CODE (valtype) == ARRAY_TYPE - && TYPE_STRING_FLAG (TREE_TYPE (valtype))) - if (tree str = braced_list_to_string (valtype, init.value)) - init.value = str; - finish_decl (d, init_loc, init.value, init.original_type, asm_name); } |