]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/c-family/ChangeLog
Implement P0732R2, class types in non-type template parameters.
[thirdparty/gcc.git] / gcc / c-family / ChangeLog
index 3d5fd4faf7259450afb8370b9ab30f6df7a4209e..fbafb9da2fb00b0152708b270a9eb8c4f554b655 100644 (file)
@@ -1,3 +1,65 @@
+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