+2018-10-19 Jason Merrill <jason@redhat.com>
+
+ * c-cppbuiltin.c (c_cpp_builtins): Add
+ __cpp_nontype_template_parameter_class.
+
+2018-10-31 Nathan Sidwell <nathan@acm.org>
+
+ * c-opts.c (c_finish_options): Force command line macro
+ location. Refactor to avoid repeating main debug hook.
+ (push_command_line_include): Clarify comment.
+
+ * c-opts.c (c_finish_options): Adjust cpp_force_token_locations call.
+
+2018-10-30 Martin Sebor <msebor@redhat.com>
+
+ PR middle-end/87041
+ * c-format.c (check_format_types): Avoid diagnosing null pointer
+ arguments to printf-family of functions.
+
+2018-10-30 Marek Polacek <polacek@redhat.com>
+
+ Implement P0892R2, explicit(bool).
+ * c-cppbuiltin.c (c_cpp_builtins): Define __cpp_explicit_bool.
+
+2018-10-29 David Malcolm <dmalcolm@redhat.com>
+
+ * name-hint.h (name_hint::take_deferred): New member function.
+
+2018-10-29 David Malcolm <dmalcolm@redhat.com>
+
+ PR c++/56856
+ * c-common.c (check_function_sentinel): Call fold_for_warn on the
+ argument.
+ (check_function_restrict): Rename param "argarray" to
+ "unfolded_argarray", and make a copy named "argarray", calling
+ fold_for_warn on each argument.
+ (check_function_arguments): Add note about responsibility for
+ folding the arguments.
+
+2018-10-17 Joseph Myers <joseph@codesourcery.com>
+
+ * c-common.c (flag_isoc2x): New variable.
+ * c-common.h (clk_c): Update comment to reference C2X.
+ (flag_isoc99, flag_isoc11): Update comments to reference future
+ standard versions in general.
+ (flag_isoc2x): Declare.
+ * c-opts.c (set_std_c2x): New function.
+ (c_common_handle_option): Handle -std=c2x and -std=gnu2x.
+ (set_std_c89, set_std_c99, set_std_c11, set_std_c17): Set
+ flag_isoc2x to 0.
+ * c.opt (Wc11-c2x-compat, std=c2x, std=gnu2x): New options.
+
+2018-10-17 Joseph Myers <joseph@codesourcery.com>
+
+ * c.opt (std=c17, std=c18, std=gnu17, std=gnu18, std=iso9899:2017)
+ (std=iso9899:2018): Document C17 as published in 2018.
+
+2018-10-12 Christophe Lyon <christophe.lyon@linaro.org>
+
+ PR c++/87364
+ * c-pretty-print.c (c_pretty_printer::constant): Fix typo.
+
+2018-10-11 Will Wray <wjwray@gmail.com>
+
+ PR c++/87364
+ * c-pretty-print.h (pp_c_type_cast): Prototype.
+ (pp_c_integer_constant): Likewise.
+ * c-pretty-print.c (pp_c_type_cast): No longer static.
+ (pp_c_integer_constant): Likewise.
+ (pp_c_enumeration_constant): Fix loop termination when finding
+ name of constant. No longer returns a value. Call
+ pp_c_integer_constant.
+ (c_pretty_printer::constant): Update for changes to
+ pp_c_enumeration_constant.
+
+2018-10-11 Jakub Jelinek <jakub@redhat.com>
+
+ * c-lex.c (c_common_has_attribute): Return 201803 instead of 20180312
+ for no_unique_address.
+
+2018-10-09 David Malcolm <dmalcolm@redhat.com>
+
+ * c-common.c (c_option_controlling_cpp_error): Rename to...
+ (c_option_controlling_cpp_diagnostic): ...this, and convert
+ "reason" from int to enum.
+ (c_cpp_error): Rename to...
+ (c_cpp_diagnostic): ...this, converting level and reason to enums.
+ * c-common.h (c_cpp_error): Rename to...
+ (c_cpp_diagnostic): ...this, converting level and reason to enums.
+ * c-opts.c (c_common_init_options): Update for renaming.
+
+2018-10-08 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR c/87286
+ * c-common.c (vector_types_compatible_elements_p): Use
+ INTEGRAL_TYPE_P instead of checking only for INTEGER_TYPE.
+
+2018-10-04 Vinay Kumar <vinay.kumar@blackfigtech.com>
+
+ * c-attribs.c (get_priority): Add a warning flag warn_prio_ctor_dtor
+ to generate constructor destructor priority warning.
+ * c.opt (-Wprio-ctor-dtor): New option.
+
+2018-10-01 Jason Merrill <jason@redhat.com>
+
+ * c-lex.c (c_common_has_attribute): Add no_unique_address.
+
+2018-10-01 Eric Botcazou <ebotcazou@adacore.com>
+
+ * c-ada-spec.c (get_underlying_decl): Get to the main type variant.
+ (dump_ada_node): Add const keyword.
+
+2018-09-25 Martin Liska <mliska@suse.cz>
+
+ * c-common.c (c_common_truthvalue_conversion):
+ Remove Pascal from documentation.
+
+2018-09-21 Eric Botcazou <ebotcazou@adacore.com>
+
+ * c-ada-spec.c: Include diagnostic.h.
+ (dump_ada_declaration) <RECORD_TYPE>: Issue a warning on packed layout.
+
+2018-09-19 Marek Polacek <polacek@redhat.com>
+
+ * c.opt (Wclass-conversion): New.
+
+2018-09-17 David Malcolm <dmalcolm@redhat.com>
+
+ * c-format.c (range_label_for_format_type_mismatch::get_text):
+ Update for new param.
+
+2018-09-17 David Malcolm <dmalcolm@redhat.com>
+
+ * c-format.c (format_warning_at_char): Update for introduction of
+ format_string_diagnostic_t.
+ (format_type_warning): Likewise.
+
+2018-09-17 Martin Jambor <mjambor@suse.cz>
+
+ PR c/63886
+ * c.opt (Wabsolute-value): New.
+
+2018-09-06 Bernd Edlinger <bernd.edlinger@hotmail.de>
+
+ * c-common.c (complete_flexible_array_elts): New helper function.
+ * c-common.h (complete_flexible_array_elts): Declare.
+
+2018-09-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
+
+ * c-common.c (braced_list_to_string): Remove eval parameter.
+ Add some more checks. Always create zero-terminated STRING_CST.
+ * c-common.h (braced_list_to_string): Adjust prototype.
+
+2018-08-27 David Malcolm <dmalcolm@redhat.com>
+
+ PR 87091
+ * c-common.c (c_cpp_error): Update for conversion of show_caret_p
+ to a tri-state.
+ (maybe_suggest_missing_token_insertion): Likewise.
+ (maybe_add_include_fixit): Add param "override_location". If set,
+ and source-printing is enabled, then override the rich_location's
+ primary location with that of the insertion point for the fix-it
+ hint, marking it with SHOW_LINES_WITHOUT_RANGE.
+ * c-common.h (extern void maybe_add_include_fixit): Add bool
+ param.
+ * c-format.c (selftest::test_type_mismatch_range_labels): Update
+ for conversion of show_caret_p to a tri-state.
+ * c-warn.c (warn_for_restrict): Likewise.
+ * known-headers.cc
+ (suggest_missing_header::~suggest_missing_header): Update call to
+ maybe_add_include_fixit to suggest overriding the location, as it
+ is for a note.
+
2018-08-27 Martin Liska <mliska@suse.cz>
* c-common.c (check_function_restrict): Use new function
- fndecl_built_in_p and remove check for FUNCTION_DECL if
- possible.
+ fndecl_built_in_p and remove check for FUNCTION_DECL if
+ possible.
(check_builtin_function_arguments): Likewise.
(reject_gcc_builtin): Likewise.
* c-warn.c (sizeof_pointer_memaccess_warning): Likewise.
2018-08-17 Martin Liska <mliska@suse.cz>
* c.opt: Remove Warn, Init and Report for options with
- Ignore/Deprecated flag. Warning is done automatically for
- Deprecated flags.
+ Ignore/Deprecated flag. Warning is done automatically for
+ Deprecated flags.
2018-08-16 David Malcolm <dmalcolm@redhat.com>
2018-05-11 Martin Liska <mliska@suse.cz>
- PR sanitizer/85556
+ PR sanitizer/85556
* c-attribs.c (handle_no_sanitize_attribute): Iterate all
TREE_LIST values.
2018-01-18 Boris Kolpackov <boris@codesynthesis.com>
- PR other/70268
- * c.opt (-fmacro-prefix-map): New option.
- * c-opts.c (c_common_handle_option): Handle it.
- * c-lex.c (init_c_lex): Set remap_filename cpp callback.
- * c-ppoutput.c (init_pp_output): Likewise.
+ PR other/70268
+ * c.opt (-fmacro-prefix-map): New option.
+ * c-opts.c (c_common_handle_option): Handle it.
+ * c-lex.c (init_c_lex): Set remap_filename cpp callback.
+ * c-ppoutput.c (init_pp_output): Likewise.
2018-01-17 David Malcolm <dmalcolm@redhat.com>
Update copyright years.
2017-12-22 Mike Stump <mikestump@comcast.net>
- Eric Botcazou <ebotcazou@adacore.com>
+ Eric Botcazou <ebotcazou@adacore.com>
* c-pragma.c (init_pragma): Register pragma GCC unroll.
* c-pragma.h (enum pragma_kind): Add PRAGMA_UNROLL.
* c-common.h (c_switch_covers_all_cases_p): Declare.
2017-11-28 Julia Koval <julia.koval@intel.com>
- Sebastian Peryt <sebastian.peryt@intel.com>
+ Sebastian Peryt <sebastian.peryt@intel.com>
* array-notation-common.c: Delete.
* c-cilkplus.c: Ditto.
* c-cppbuiltin.c (c_cpp_builtins): Use opt_scalar_float_mode.
2017-08-30 Richard Sandiford <richard.sandiford@linaro.org>
- Alan Hayward <alan.hayward@arm.com>
- David Sherwood <david.sherwood@arm.com>
+ Alan Hayward <alan.hayward@arm.com>
+ David Sherwood <david.sherwood@arm.com>
* c-common.c (c_common_fixed_point_type_for_size): Use new mode
iterators.
2017-05-01 Xi Ruoyao <ryxi@stu.xidian.edu.cn>
- PR c++/80038
+ PR c++/80038
* c-common.h (cilk_gimplify_call_params_in_spawned_fn): Remove
prototype.
(cilk_install_body_pedigree_operations): Likewise.
2016-12-08 Martin Sebor <msebor@redhat.com>
PR c/78165
- * c-pretty-print (pp_c_integer_constant): Avoid formatting type
- suffix.
+ * c-pretty-print (pp_c_integer_constant): Avoid formatting type
+ suffix.
2016-12-07 Martin Sebor <msebor@redhat.com>