diff options
Diffstat (limited to 'gcc/c-family/ChangeLog')
-rw-r--r-- | gcc/c-family/ChangeLog | 263 |
1 files changed, 263 insertions, 0 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 487f880e432..95babfa743f 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,266 @@ +2013-09-08 Joern Rennecke <joern.rennecke@embecosm.com> + + * c-common.c (same_scalar_type_ignoring_signedness): Delete. + (vector_types_compatible_elements_p): New function. + * c-common.h: (same_scalar_type_ignoring_signedness): Delete + declaration. + (vector_types_compatible_elements_p): Declare. + +2013-09-04 Gabriel Dos Reis <gdr@integrable-solutions.net> + + * c-pretty-print.h (c_pretty_printer::simple_type_specifier): Now + a virtual member function. + (pp_simple_type_specifier): Remove. + (pp_c_type_specifier): Likewise. + * c-pretty-print.c (c_pretty_printer::simple_type_specifier): + Rename from pp_c_type_specifier. Adjust. + (c_pretty_printer::c_pretty_printer): Do not assign to + simple_type_specifier. + +2013-09-03 Gabriel Dos Reis <gdr@integrable-solutions.net> + + * c-pretty-print.h (c_pretty_printer::type_id): Now a virtual + member function. + (c_pretty_printer::storage_class_specifier): Likewise. + (c_pretty_printer::initializer): Likewise. + (pp_declaration): Remove. + (pp_declaration_specifiers): Likewise. + (pp_abstract_declarator): Likewise. + (pp_declarator): Likewise. + (pp_type_id): Likewise. + (pp_statement): Likewise. + (pp_constant): Likewise. + (pp_id_expression): Likewise. + (pp_primary_expression): Likewise. + (pp_unary_expression): Likewise. + (pp_multiplicative_expression): Likewise. + (pp_conditional_expression): Likewise. + (pp_assignment_expression): Likewise. + (pp_expression): Likewise. + (pp_c_type_id): Likewise. + (pp_c_storage_class_specifier): Likewise. + * c-pretty-print.c (pp_c_type_cast): Tidy. + (pp_c_pointer): Likewise. + (pp_c_type_specifier): Likewise. + (pp_c_parameter_type_list): Likewise. + (pp_c_function_definition): Likewise. + (pp_c_init_declarator): Likewise. + (pp_c_initializer_list): Likewise. + (pp_c_constructor_elts): Likewise. + (c_pretty_printer::direct_abstract_declarator): Likewise. + (c_pretty_printer::declaration_specifiers): Likewise. + (c_pretty_printer::primary_expression): Likewise. + (c_pretty_printer::postfix_expression): Likewise. + (c_pretty_printer::type_id): Rename from pp_c_type_id. + (c_pretty_printer::storage_class_specifier): Rename from + pp_c_storage_class_specifier. + (c_pretty_printer::initializer): Rename from pp_c_initializer. + (c_pretty_printer::c_pretty_printer): Do not assign to type_id, + storage_class_specifier, initializer, offset_list, flags. + +2013-08-30 Marek Polacek <polacek@redhat.com> + + * c-ubsan.c: New file. + * c-ubsan.h: New file. + +2013-08-30 Gabriel Dos Reis <gdr@integrable-solutions.net> + + * c-pretty-print.h (c_pretty_printer::declaration): Now a virtual + member function. + (c_pretty_printer::declaration_specifiers): Likewise. + (c_pretty_printer::declarator): Likewise. + (c_pretty_printer::abstract_declarator): Likewise. + (c_pretty_printer::direct_abstract_declarator): Likewise. + (c_pretty_printer::direct_declarator): Likewise. + (c_pretty_printer::function_specifier): Likewise. + (pp_declaration): Adjust. + (pp_declaration_specifiers): Likewise. + (pp_abstract_declarator): Likewise. + (pp_direct_declarator): Likewise. + (pp_function_specifier): Likewise. + (pp_direct_abstract_declarator): Remove as unused. + (pp_c_declaration): Remove. + (pp_c_declaration_specifiers): Likewise. + (pp_c_declarator): Likewise. + (pp_c_direct_declarator): Likewise. + (pp_c_function_specifier): Likewise. + (pp_c_direct_abstract_declarator): Likewise. + * c-pretty-print.c (c_pretty_printer::abstract_declarator): Rename + from pp_c_abstract_declarator. Adjust. + (c_pretty_printer::direct_abstract_declarator): Rename from + pp_c_direct_abstract_declarator. Adjust. + (c_pretty_printer::function_specifier): Rename from + pp_c_function_specifier. Adjust. + (c_pretty_printer::declaration_specifiers): Rename from + pp_c_declaration_specifiers. Adjust. + (c_pretty_printer::direct_declarator): Rename from + pp_c_direct_declarator. Adjust. + (c_pretty_printer::declarator): Rename from pp_c_declarator. Adjust. + (c_pretty_printer::declaration): Rename from pp_c_declaration. Adjust. + (c_pretty_printer::c_pretty_printer): Do not assign to + declaration, declaration_specifiers, declarator, + direct_declarator, direct_abstract_declarator, function_specifier. + +2013-08-26 Gabriel Dos Reis <gdre@integrable-solutions.net> + + * c-pretty-print.h (c_pretty_printer::unary_expression): Now a + virtual member function. + (c_pretty_printer::multiplicative_expression): Likewise. + (c_pretty_printer::conditional_expression): Likewise. + (c_pretty_printer::assignment_expression): Likewise. + (c_pretty_printer::expression): Likewise. + (pp_unary_expression): Adjust. + (pp_multiplicative_expression): Likewise. + (pp_assignment_expression): Likewise. + (pp_conditional_expression): Likewise. + (pp_expression): Likewise. + * c-pretty-print.c (c_pretty_printer::unary_expression): Rename + from pp_c_unary_expression. Adjust. + (c_pretty_printer::multiplicative_expression): Rename from + pp_c_multiplicative_expression. Adjust. + (c_pretty_printer::conditional_expression): Rename from + pp_c_conditional_expression. Adjust. + (c_pretty_printer::assignment_expression): Rename from + pp_c_assignment_expression. Adjust. + (c_pretty_printer::expression): Rename from pp_c_expression. Adjust. + (c_pretty_printer::c_pretty_printer): Do not assign to + unary_expression, multiplicative_expression, + conditional_expression, expression. + +2013-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net> + + * c-pretty-print.h (c_pretty_printer::postfix_expression): Now a + virtual member function. + (pp_postfix_expression): Adjust. + (pp_c_postfix_expression): Remove. + * c-pretty-print.c (c_pretty_printer::postfix_expression): Rename + from pp_c_postfix_expression. Adjust. + (c_pretty_printer::c_pretty_printer): Do not assign to + postfix_expression. + +2013-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net> + + * c-pretty-print.h (c_pretty_printer::primary_expression): Now a + virtua member function. + (pp_primary_expression): Adjust. + (pp_c_primary_expression): Remove. + * c-pretty-print.c (c_pretty_printer::primary_expression): Rename + from pp_c_primary_expression. Adjust. + (pp_c_initializer_list): Use pp_primary_expression. + (c_pretty_printer::c_pretty_printer): Do not assign to + primary_expression. + +2013-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net> + + * c-pretty-print.h (c_pretty_printer::translate_string): Declare. + * c-pretty-print.c (M_): Remove. + (c_pretty_printer::translate_string): Define. + (pp_c_type_specifier): Use it. + (pp_c_primary_expression): Likewise. + (pp_c_expression): Likewise. + +2013-08-24 Gabriel Dos Reis <gdr@integrable-solutions.net> + + * c-pretty-print.h (c_pretty_printer::id_expression): Now a + virtual function. + (pp_c_id_expression): Remove. + (pp_id_expression): Adjust. + * c-pretty-print.c (c_pretty_printer::id_expression): Rename from + pp_c_id_expression. Adjust. + (pp_c_postfix_expression): Use pp_id_expression. + (c_pretty_printer::c_pretty_printer): Do not assign to id_expression. + +2013-08-24 Gabriel Dos Reis <gdr@integrable-solutions.net> + + * c-pretty-print.h (c_pretty_printer::constant): Now a virtual + member function. + (pp_constant): Adjust. + (pp_c_constant): Remove. + * c-pretty-print.c (c_pretty_printer::constant): Rename from + pp_c_constant. Adjust. + (pp_c_constant) + (pp_c_primary_expression): Call pp_constant in lieu of pp_c_constant. + (c_pretty_printer::c_pretty_printer): Remove assignment to constant. + +2013-08-22 Gabriel Dos Reis <gdr@integrable-solutions.net> + + * c-pretty-print.h (pp_c_pretty_printer_init): Remove. + (c_pretty_printer::c_pretty_printer): Declare. + * c-pretty-print.c (pretty_printer::c_pretty_printer): Rename from + c_pretty_printer_init. Adjust. + (print_c_tree): Do not call c_pretty_printer_init. + * c-ada-spec.c (dump_ads): Remove call to pp_construct. + +2013-08-09 Arnaud Charlet <charlet@adacore.com> + + * c-ada-spec.c (print_ada_declaration): Prevent accessing null asm name + +2013-08-05 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/58080 + * c-common.c (pointer_int_sum): Add bool parameter. + * c-common.h (pointer_int_sum): Adjust declaration. + +2013-08-05 Gabriel Dos Reis <gdr@integrable-solutions.net> + + * c-pretty-print.c (print_c_tree): Simplify. Use non-static local + c_pretty_printer variable. + +2013-08-04 Gabriel Dos Reis <gdr@integrable-solutions.net> + + * c-pretty-print.h (c_pretty_printer): Derive from pretty_printer. + (pp_base): Remove. + (pp_c_base): Likewise. Adjust users. + * c-pretty-print.c (pp_c_maybe_whitespace): Adjust. + (pp_c_whitespace): Do not call pp_base. + (pp_c_left_paren): Likewise. + (pp_c_right_paren): Likewise. + (pp_c_left_brace): Likewise. + (pp_c_right_brace): Likewise. + (pp_c_left_bracket): Likewise. + (pp_c_right_bracket): Likewise. + (pp_c_dot): Likewise. + (pp_c_ampersand): Likewise. + (pp_c_star): Likewise. + (pp_c_arrow): Likewise. + (pp_c_semicolon): Likewise. + (pp_c_complement): Likewise. + (pp_c_exclamation): Likewise. + (pp_c_direct_declarator): Likewise. + (pp_c_ws_string): Likewise. + (pp_c_identifier): Likewise. + (pp_c_statement): Likewise. + (print_c_tree): Likewise. + +2013-08-04 Ed Smith-Rowland <3dw4rd@verizon.net> + + PR c++/58072 + * c-common.c (c_parse_error): Catch user-defined literal tokens and + provide useful error strings. + +2013-08-03 Gabriel Dos Reis <gdr@integrable-solutions.net> + + * c-ada-spec.c (pp_ada_tree_identifier): Use specialized pretty + printer functions instead of pp_string or operators and punctuators. + (dump_generic_ada_node): Likewise. + * c-pretty-print.c (pp_c_type_specifier): Likewise. + (pp_c_relational_expression): Likewise. + (pp_c_logical_or_expression): Likewise. + +2013-08-03 Gabriel Dos Reis <gdr@integrable-solutions.net> + + * c-ada-spec.c (print_ada_macros): Use specialized pretty printer + functions instead of pp_character. + (pp_ada_tree_identifier): Likewise. + (dump_ada_double_name): Likewise. + (dump_ada_function_declaration): Likewise. + (dump_ada_array_domains): Likewise. + (dump_template_types): Likewise. + (dump_generic_ada_node): Likewise. + (print_ada_declaration): Likewise. + (print_ada_struct_decl): Likewise. + * c-pretty-print.c (pp_c_integer_constant): Likewise. + 2013-07-23 Tom Tromey <tromey@redhat.com> * c-common.h (enum rid) <RID_GENERIC>: New constant. |