aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/ChangeLog
diff options
context:
space:
mode:
authorEdward Smith-Rowland <3dw4rd@verizon.net>2017-07-20 14:54:44 +0000
committerEdward Smith-Rowland <3dw4rd@verizon.net>2017-07-20 14:54:44 +0000
commit3acaf2e51caf356a9afc763cfd70b91d1ab094b5 (patch)
treef13b1087143457ae5c053b6ec3b664c2aaeab169 /gcc/c/ChangeLog
parentc4d46197c5fe4461da59ce027bc68306c43186b0 (diff)
Merged revisions r232323 through r250392 to the branch
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tr29124@250393 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c/ChangeLog')
-rw-r--r--gcc/c/ChangeLog238
1 files changed, 238 insertions, 0 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index ec192216232..bfa9e9a879f 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,241 @@
+2017-07-18 Nathan Sidwell <nathan@acm.org>
+
+ * c-parser.c (c_parser_array_notation): Use TYPE_{MIN,MAX}_VALUE.
+
+2017-07-14 David Malcolm <dmalcolm@redhat.com>
+
+ * c-decl.c (implicitly_declare): When suggesting a missing
+ #include, provide a fix-it hint.
+
+2017-07-06 David Malcolm <dmalcolm@redhat.com>
+
+ * c-lang.c (selftest::run_c_tests): Move body to c_family_tests,
+ and call that instead.
+ * c-tree.h (selftest::run_c_tests): New decl.
+
+2017-06-26 Marek Polacek <polacek@redhat.com>
+
+ PR c/80116
+ * c-parser.c (c_parser_if_body): Set the location of the
+ body of the conditional after parsing all the labels. Call
+ warn_for_multistatement_macros.
+ (c_parser_else_body): Likewise.
+ (c_parser_switch_statement): Likewise.
+ (c_parser_while_statement): Likewise.
+ (c_parser_for_statement): Likewise.
+ (c_parser_statement): Add a default argument. Save the location
+ after labels have been parsed.
+ (c_parser_c99_block_statement): Likewise.
+
+2017-06-19 Richard Biener <rguenther@suse.de>
+
+ * gimple-parser.c (c_parser_gimple_postfix_expression): Handle
+ negated _Literals to parse _Literal (int) -1.
+
+2017-06-13 Martin Liska <mliska@suse.cz>
+
+ PR sanitize/78204
+ * c-convert.c (convert): Use sanitize_flags_p.
+ * c-decl.c (grokdeclarator): Likewise.
+ * c-typeck.c (convert_for_assignment): Likewise.
+ (c_finish_return): Likewise.
+ (build_binary_op): Likewise.
+
+2017-06-08 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/81006
+ * c-typeck.c (handle_omp_array_sections_1): Convert TYPE_MAX_VALUE
+ to sizetype before size_binop.
+
+2017-06-07 Jakub Jelinek <jakub@redhat.com>
+
+ * gimple-parser.c (c_parser_parse_gimple_body): Use TDI_gimple instead
+ of TDI_generic.
+
+2017-06-06 Marek Polacek <polacek@redhat.com>
+
+ PR c/79983
+ * c-decl.c (start_struct): Use the location of TYPE_STUB_DECL of
+ ref.
+ (start_enum): Use the location of TYPE_STUB_DECL of enumtype.
+
+2017-06-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
+
+ * c-parser.c (c_parser_binary_expression): Implement the
+ -Wsizeof_pointer_div warning.
+ (c_parser_postfix_expression): Allow SIZEOF_EXPR as expr.original_code
+ from a parenthesized expression.
+ (c_parser_expr_list): Use c_last_sizeof_loc.
+ * c-tree.h (c_last_sizeof_loc): New external.
+ * c-typeck.c (c_last_sizeof_loc): New variable.
+ (c_expr_sizeof_expr, c_expr_sizeof_type): Assign c_last_sizeof_loc.
+
+2017-05-31 Mikhail Maltsev <maltsevm@gmail.com>
+
+ PR testsuite/80580
+ * gimple-parser.c (c_parser_gimple_if_stmt): Check for empty labels.
+
+2017-05-30 David Malcolm <dmalcolm@redhat.com>
+
+ * c-objc-common.c (c_tree_printer): Gain bool and const char **
+ parameters.
+
+2017-05-24 Martin Sebor <msebor@redhat.com>
+
+ PR c/80731
+ * c-fold.c (c_fully_fold_internal): Adjust.
+ * c-typeck.c (parser_build_unary_op): Adjust.
+
+2017-05-23 Thomas Schwinge <thomas@codesourcery.com>
+
+ * c-parser.c (OACC_KERNELS_CLAUSE_MASK): Add
+ "PRAGMA_OACC_CLAUSE_NUM_GANGS", "PRAGMA_OACC_CLAUSE_NUM_WORKERS",
+ "VECTOR_LENGTH".
+
+2017-05-23 Marek Polacek <polacek@redhat.com>
+
+ * c-parser.c (c_parser_compound_statement_nostart): Remove redundant
+ quotes.
+
+2017-05-22 Jakub Jelinek <jakub@redhat.com>
+
+ * c-fold.c (c_fully_fold_internal): Save the c_fully_fold_internal
+ result for SAVE_EXPR operand and set SAVE_EXPR_FOLDED_P even if
+ it returned invariant. Call tree_invariant_p unconditionally
+ afterwards to decide whether to return expr or op0.
+
+2017-05-22 Nathan Sidwell <nathan@acm.org>
+
+ * c-decl.c (c_parse_final_cleanups): Drop TDI_tu handling.
+
+2017-05-19 Thomas Schwinge <thomas@codesourcery.com>
+
+ * c-parser.c (c_parser_omp_clause_default): Handle
+ "OMP_CLAUSE_DEFAULT_PRESENT".
+
+2017-05-18 Bernd Edlinger <bernd.edlinger@hotmail.de>
+
+ * config-lang.in (gtfiles): Add c-family/c-format.c.
+
+2017-05-18 Nathan Sidwell <nathan@acm.org>
+
+ * c-decl.c (pushdecl_top_level): Delete unused function.
+
+2017-05-18 Marek Polacek <polacek@redhat.com>
+
+ * c-decl.c (match_builtin_function_types): Use NULL_TREE instead of 0.
+ (check_earlier_gotos): Likewise.
+ (define_label): Likewise.
+ (pending_xref_error): Likewise.
+ (smallest_type_quals_location): Likewise.
+ (grokdeclarator): Likewise.
+ (grokparms): Likewise.
+ (identifier_global_value): Likewise.
+ * c-typeck.c (set_nonincremental_init_from_string): Likewise.
+ (find_init_member): Likewise.
+
+2017-05-18 Marek Polacek <polacek@redhat.com>
+
+ * c-decl.c (start_decl): Use false/true instead of 0/1.
+ (grokdeclarator): Likewise.
+ (finish_struct): Likewise.
+ (start_function): Change the return type to bool. Use false/true
+ instead of 0/1.
+ (declspecs_add_qual): Use UNKNOWN_LOCATION instead of 0.
+ * c-tree.h (start_function): Update.
+ * c-typeck.c (same_translation_unit_p): Change the return type to bool.
+ (set_designator): Change the return type to bool. Use false/true
+ instead of 0/1.
+
+2017-05-17 Marek Polacek <polacek@redhat.com>
+
+ * c-decl.c: Use NULL_TREE instead of 0 where appropriate.
+ * c-typeck.c: Likewise.
+
+2017-05-17 Marek Polacek <polacek@redhat.com>
+
+ PR sanitizer/80659
+ * c-decl.c (build_compound_literal): Set DECL_ARTIFICIAL and
+ DECL_IGNORED_P even for non-static compound literals.
+
+2017-05-17 Martin Liska <mliska@suse.cz>
+
+ * c-decl.c (c_parse_final_cleanups): Introduce dump_flags_t type and
+ use it instead of int type.
+
+2017-05-17 Marek Polacek <polacek@redhat.com>
+
+ * c-convert.c (convert): Replace c_save_expr with save_expr. Don't
+ call c_fully_fold.
+ (convert) <case COMPLEX_TYPE>: Remove special handling of COMPLEX_TYPEs.
+ * c-decl.c (grokdeclarator): Replace c_save_expr with save_expr.
+ * c-fold.c (c_fully_fold_internal): Handle SAVE_EXPR.
+ * c-parser.c (c_parser_declaration_or_fndef): Replace c_save_expr with
+ save_expr.
+ (c_parser_conditional_expression): Likewise.
+ * c-tree.h (SAVE_EXPR_FOLDED_P): Define.
+ * c-typeck.c (build_modify_expr): Replace c_save_expr with save_expr.
+ (process_init_element): Likewise.
+ (build_binary_op): Likewise.
+ (handle_omp_array_sections_1): Likewise.
+
+2017-05-12 Thomas Schwinge <thomas@codesourcery.com>
+
+ * c-parser.c (c_parser_omp_clause_num_gangs)
+ (c_parser_omp_clause_num_workers)
+ (c_parser_omp_clause_vector_length): Merge functions into...
+ (c_parser_oacc_single_int_clause): ... this new function. Adjust
+ all users.
+
+2017-05-11 Nathan Sidwell <nathan@acm.org>
+
+ * gimple-parser.c: Don't #include tree-dump.h.
+
+2017-05-11 Mikhail Maltsev <maltsevm@gmail.com>
+
+ PR testsuite/80580
+ * gimple-parser.c (c_parser_parse_ssa_name): Validate SSA name base.
+
+2017-05-11 Mikhail Maltsev <maltsevm@gmail.com>
+
+ PR testsuite/80580
+ * gimple-parser.c (c_parser_gimple_postfix_expression): Handle
+ incorrect __MEM syntax.
+
+2017-05-11 Mikhail Maltsev <maltsevm@gmail.com>
+
+ PR testsuite/80580
+ * gimple-parser.c (c_parser_gimple_unary_expression): Check argument
+ type of unary '*'.
+
+2017-05-09 Nathan Sidwell <nathan@acm.org>
+
+ * c-tree.h (pushdecl): Declare.
+
+2017-05-05 David Malcolm <dmalcolm@redhat.com>
+
+ * c-decl.c (warn_defaults_to): Replace report_diagnostic
+ with diagnostic_report_diagnostic.
+ * c-errors.c (pedwarn_c99): Likewise.
+ (pedwarn_c90): Likewise.
+
+2017-05-01 Xi Ruoyao <ryxi@stu.xidian.edu.cn>
+
+ PR c++/80038
+ * c-gimplify.c (c_gimplify_expr): Remove calls to
+ cilk_gimplifY_call_params_in_spawned_fn.
+
+2017-04-25 David Malcolm <dmalcolm@redhat.com>
+
+ * c-parser.c (c_parser_struct_or_union_specifier): Add fix-it
+ hint for removing extra semicolon.
+
+2017-04-21 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/80468
+ * c-decl.c (finish_declspecs) <case cts_int_n>: If int_n_idx is not
+ enabled, set specs->type to integer_type_node.
+
2017-04-03 Jonathan Wakely <jwakely@redhat.com>
* c-array-notation.c: Fix typo in comment.