]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/c/ChangeLog
coretypes.h: Include machmode.h...
[gcc.git] / gcc / c / ChangeLog
index 010649798972d95c3d2a0fe0edad14780e41709f..b933e5bc00342288cffff738f64f80d11dde5830 100644 (file)
@@ -1,3 +1,743 @@
+2015-06-04  Andrew MacLeod  <amacleod@redhat.com>
+
+       * c-array-notation.c: Adjust includes for restructured coretypes.h.
+       * c-aux-info.c: Likewise.
+       * c-convert.c: Likewise.
+       * c-decl.c: Likewise.
+       * c-errors.c: Likewise.
+       * c-lang.c: Likewise.
+       * c-objc-common.c: Likewise.
+       * c-parser.c: Likewise.
+       * c-typeck.c: Likewise.
+
+2015-06-04  Marek Polacek  <polacek@redhat.com>
+
+       PR c/66341
+       * c-typeck.c (build_c_cast): Wrap VALUE into NON_LVALUE_EXPR if
+       it is a lvalue.
+
+2015-06-03  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
+
+       * c-decl.c (warn_cxx_compat_finish_struct): New parameters code, record_loc.
+       Warn for empty struct.
+       (finish_struct): Pass TREE_CODE(t) and loc to warn_cxx_compat_finish_struct.
+
+2015-06-02  Andres Tiraboschi  <andres.tiraboschi@tallertechnologies.com>
+
+       * c-decl.c (start_function): Call plugin before parsing.
+       (finish_function): Call plugin after parsing.
+
+2015-06-02  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
+
+       PR c/49551
+       * c-decl.c (merge_decls): Merge DECL_COMMON.
+
+2015-05-22  Jim Wilson  <jim.wilson@linaro.org>
+
+       * Make-lang.in (check_gcc_pallelize): Define.
+
+2015-05-22  Marek Polacek  <polacek@redhat.com>
+
+       PR c/47043
+       * c-parser.c (c_parser_enum_specifier): Parse and apply enumerator
+       attributes.
+
+2015-05-21  Marek Polacek  <polacek@redhat.com>
+
+       * c-typeck.c (inform_declaration): Use DECL_IS_BUILTIN instead of
+       DECL_BUILT_IN.
+
+2015-05-20  Marek Polacek  <polacek@redhat.com>
+
+       * c-decl.c: Use VAR_OR_FUNCTION_DECL_P throughout.
+       * c-typeck.c: Likewise.
+
+2015-05-19  Marek Polacek  <polacek@redhat.com>
+
+       * c-typeck.c (start_init): Use AGGREGATE_TYPE_P.
+
+2015-05-19  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/66199
+       * c-parser.c (c_parser_omp_for_loop): Don't add
+       OMP_CLAUSE_SHARED to OMP_PARALLEL_CLAUSES when moving
+       OMP_CLAUSE_LASTPRIVATE clause to OMP_FOR_CLAUSES.
+       (c_parser_omp_teams): Set OMP_TEAMS_COMBINED for combined
+       constructs.
+
+2015-05-19  Mikhail Maltsev  <maltsevm@gmail.com>
+
+       * c-typeck.c (build_array_ref): Use std::swap instead of explicit
+       swaps.
+
+2015-05-16  Manuel López-Ibáñez  <manu@gcc.gnu.org>
+
+       PR fortran/44054
+       * c-objc-common.c (c_tree_printer): Replace locus pointer with
+       accessor function.
+
+2015-05-14  Marek Polacek  <polacek@redhat.com>
+
+       PR c/66066
+       PR c/66127
+       * c-typeck.c (digest_init): Call pedwarn_init with OPT_Wpedantic
+       rather than with 0.
+
+2015-05-12  David Malcolm  <dmalcolm@redhat.com>
+
+       * c-parser.c (c_parser_if_body): Add param "if_loc", use it
+       to add a call to warn_for_misleading_indentation.
+       (c_parser_else_body): Likewise, adding param "else_loc".
+       (c_parser_if_statement): Check for misleading indentation.
+       (c_parser_while_statement): Likewise.
+       (c_parser_for_statement): Likewise.
+
+2015-05-08  Marek Polacek  <polacek@redhat.com>
+
+       PR c/64918
+       * c-typeck.c (add_pending_init): Use OPT_Woverride_init_side_effects.
+       (output_init_element): Likewise.
+
+2015-05-07  Marek Polacek  <polacek@redhat.com>
+
+       PR c/65179
+       * c-typeck.c (build_binary_op): Warn when left shifting a negative
+       value.
+
+2015-04-30  Marek Polacek  <polacek@redhat.com>
+
+       * c-typeck.c (set_init_label): Call error_at instead of error and
+       pass LOC to it.
+
+       * c-typeck.c (c_incomplete_type_error): Refactor to use %qT.  Print
+       the type of a decl.
+
+       * c-typeck.c (c_build_va_arg): Clarify the error message.
+
+2015-04-29  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * c-parser.c (c_parser_oacc_enter_exit_data): Use
+       OMP_STANDALONE_CLAUSES.
+
+2015-04-28  Marek Polacek  <polacek@redhat.com>
+
+       * c-parser.c (c_parser_binary_expression): Remove duplicate line.
+
+2015-04-28  Marek Polacek  <polacek@redhat.com>
+
+       PR c/65901
+       * c-typeck.c (c_build_va_arg): Require TYPE be a complete type.
+
+2015-04-25  Marek Polacek  <polacek@redhat.com>
+
+       PR c/52085
+       * c-decl.c (finish_enum): Copy over TYPE_ALIGN.  Also check for "mode"
+       attribute.
+
+2015-04-23  Marek Polacek  <polacek@redhat.com>
+
+       PR c/65345
+       * c-decl.c (set_labels_context_r): New function.
+       (store_parm_decls): Call it via walk_tree_without_duplicates.
+       * c-typeck.c (convert_lvalue_to_rvalue): Use create_tmp_var_raw
+       instead of create_tmp_var.  Build TARGET_EXPR instead of
+       COMPOUND_EXPR.
+       (build_atomic_assign): Use create_tmp_var_raw instead of
+       create_tmp_var.  Build TARGET_EXPRs instead of MODIFY_EXPR.
+
+2015-04-20  Ilya Verbin  <ilya.verbin@intel.com>
+
+       * c-parser.c (c_parser_oacc_enter_exit_data): Remove excess semicolon.
+       (c_parser_omp_target_update): Add missed %> to error_at ().
+
+2015-04-10  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
+
+       PR target/55143
+       * c-decl.c (c_default_pointer_mode): Remove definition.
+       * c-tree.h (c_default_pointer_mode): Remove declaration.
+
+2015-03-27  Tobias Burnus  <burnus@net-b.de>
+
+       PR c/65586
+       * c-parser.c (c_parser_skip_to_pragma_eol): Optionally, don't
+       error out.
+       (c_parser_omp_for, c_parser_omp_parallel, c_parser_omp_distribute,
+       c_parser_omp_teams, c_parser_omp_target, c_parser_omp_declare):
+       Update calls to not error for skipped omp pragmas with -fopenmp-simd.
+
+2015-03-19  Jakub Jelinek  <jakub@redhat.com>
+
+       * c-decl.c (c_decl_attributes): Also add "omp declare target"
+       attribute for DECL_EXTERNAL VAR_DECLs.
+
+2015-03-11  Jakub Jelinek  <jakub@redhat.com>
+
+       * c-parser.c (c_parse_init): Don't call xstrdup on get_identifier
+       argument.
+
+2015-03-10  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/65120
+       * c-typeck.c (parser_build_binary_op): Check for tcc_comparison
+       before preparing arguments to warn_logical_not_parentheses.
+
+2015-03-09  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/65120
+       * c-typeck.c (parser_build_binary_op): Don't warn for
+       !!x == y or !b == y where b is _Bool.
+
+2015-03-09  Marek Polacek  <polacek@redhat.com>
+
+       * c-convert.c (convert): Make use of do_ubsan_in_current_function.
+       * c-decl.c (grokdeclarator): Likewise.
+       * c-typeck.c (build_binary_op): Likewise.
+
+2015-02-27  Marek Polacek  <polacek@redhat.com>
+
+       PR c/65228
+       * c-decl.c (start_decl): Return NULL_TREE if decl is an error node.
+
+2015-02-14  Marek Polacek  <polacek@redhat.com>
+
+       PR c/64768
+       * c-decl.c (grokdeclarator): Set the range of a flexible array member
+       declared through a typedef name.
+
+2015-02-13  Marek Polacek  <polacek@redhat.com>
+
+       PR c/65050
+       * c-decl.c (grokdeclarator): Print also the type when giving
+       the error message about array's incomplete element type.
+
+2015-02-11  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/64824
+       * c-parser.c (c_parser_binary_expression): Fix OpenMP stack[sp].prec
+       check in the POP macro.
+
+2015-02-09  Marek Polacek  <polacek@redhat.com>
+
+       PR c/64856
+       * c-typeck.c (process_init_element): Don't always wrap
+       COMPOUND_LITERAL_EXPR in a SAVE_EXPR in C99 mode when
+       initializing a range of elements.
+
+2015-02-04  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/64824
+       PR c/64868
+       * c-parser.c (c_parser_omp_atomic): Handle RDIV_EXPR.
+
+2015-02-02  Bruno Loff  <bruno.loff@gmail.com>
+
+       * c-parser.c (c_parser_declspecs): Call invoke_plugin_callbacks after
+       processing enum declaration.
+
+2015-01-29  Marek Polacek  <polacek@redhat.com>
+
+       PR c/64709
+       * c-typeck.c (pop_init_level): If constructor_elements has
+       exactly one element with integer_zerop value, set constructor_zeroinit
+       to 1.  Remove braces around warning_init call.
+
+2015-01-27  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/64766
+       * c-typeck.c (store_init_value): Don't overwrite DECL_INITIAL
+       of FUNCTION_DECLs with error_mark_node.
+
+2015-01-26  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/64778
+       * c-typeck.c (convert_arguments): Return -1 if there are
+       error_args, even if we've diagnosed too many arguments.
+
+2015-01-21  Richard Biener  <rguenther@suse.de>
+
+       PR middle-end/64313
+       * c-decl.c (merge_decls): Call set_builtin_decl_declared_p
+       for builtins the user declared correctly.
+
+2015-01-15  Thomas Schwinge  <thomas@codesourcery.com>
+           Bernd Schmidt  <bernds@codesourcery.com>
+           Cesar Philippidis  <cesar@codesourcery.com>
+           James Norris  <jnorris@codesourcery.com>
+           Jakub Jelinek  <jakub@redhat.com>
+           Ilmir Usmanov  <i.usmanov@samsung.com>
+
+       * c-parser.c: Include "gomp-constants.h".
+       (c_parser_omp_clause_map): Use enum gomp_map_kind instead of enum
+       omp_clause_map_kind.  Use GOMP_MAP_* instead of OMP_CLAUSE_MAP_*.
+       Use OMP_CLAUSE_SET_MAP_KIND.
+       (c_parser_pragma): Handle PRAGMA_OACC_ENTER_DATA,
+       PRAGMA_OACC_EXIT_DATA, PRAGMA_OACC_UPDATE.
+       (c_parser_omp_construct): Handle PRAGMA_OACC_CACHE,
+       PRAGMA_OACC_DATA, PRAGMA_OACC_KERNELS, PRAGMA_OACC_LOOP,
+       PRAGMA_OACC_PARALLEL, PRAGMA_OACC_WAIT.
+       (c_parser_omp_clause_name): Handle "auto", "async", "copy",
+       "copyout", "create", "delete", "deviceptr", "gang", "host",
+       "num_gangs", "num_workers", "present", "present_or_copy", "pcopy",
+       "present_or_copyin", "pcopyin", "present_or_copyout", "pcopyout",
+       "present_or_create", "pcreate", "seq", "self", "vector",
+       "vector_length", "wait", "worker".
+       (OACC_DATA_CLAUSE_MASK, OACC_KERNELS_CLAUSE_MASK)
+       (OACC_ENTER_DATA_CLAUSE_MASK, OACC_EXIT_DATA_CLAUSE_MASK)
+       (OACC_LOOP_CLAUSE_MASK, OACC_PARALLEL_CLAUSE_MASK)
+       (OACC_UPDATE_CLAUSE_MASK, OACC_WAIT_CLAUSE_MASK): New macros.
+       (c_parser_omp_variable_list): Handle OMP_CLAUSE__CACHE_.
+       (c_parser_oacc_wait_list, c_parser_oacc_data_clause)
+       (c_parser_oacc_data_clause_deviceptr)
+       (c_parser_omp_clause_num_gangs, c_parser_omp_clause_num_workers)
+       (c_parser_oacc_clause_async, c_parser_oacc_clause_wait)
+       (c_parser_omp_clause_vector_length, c_parser_oacc_all_clauses)
+       (c_parser_oacc_cache, c_parser_oacc_data, c_parser_oacc_kernels)
+       (c_parser_oacc_enter_exit_data, c_parser_oacc_loop)
+       (c_parser_oacc_parallel, c_parser_oacc_update)
+       (c_parser_oacc_wait): New functions.
+       * c-tree.h (c_finish_oacc_parallel, c_finish_oacc_kernels)
+       (c_finish_oacc_data): New prototypes.
+       * c-typeck.c: Include "gomp-constants.h".
+       (handle_omp_array_sections): Handle GOMP_MAP_FORCE_DEVICEPTR.  Use
+       GOMP_MAP_* instead of OMP_CLAUSE_MAP_*.  Use
+       OMP_CLAUSE_SET_MAP_KIND.
+       (c_finish_oacc_parallel, c_finish_oacc_kernels)
+       (c_finish_oacc_data): New functions.
+       (c_finish_omp_clauses): Handle OMP_CLAUSE__CACHE_,
+       OMP_CLAUSE_NUM_GANGS, OMP_CLAUSE_NUM_WORKERS,
+       OMP_CLAUSE_VECTOR_LENGTH, OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT,
+       OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ, OMP_CLAUSE_GANG,
+       OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR, and OMP_CLAUSE_MAP's
+       GOMP_MAP_FORCE_DEVICEPTR.
+
+2015-01-09  Michael Collison  <michael.collison@linaro.org>
+
+       * c-array-notation.c: Include hash-set.h, machmode.h,
+       vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
+       fold-const.h, wide-int.h, and inchash.h due to flattening of tree.h.
+       * c-aux-info.c: Ditto.
+       * c-convert.c: Ditto.
+       * c-decl.c: Ditto.
+       * c-errors.c: Ditto.
+       * c-lang.c: Dittoxs.
+       * c-objc-common.c: Ditto.
+       * c-parser.c: Ditto.
+       * c-typeck.c: Include hash-set.h, machmode.h,
+       vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
+       fold-const.h, wide-int.h, inchash.h, real.h and
+       fixed-value.h due to flattening of tree.h.
+
+2015-01-07  Marek Polacek  <polacek@redhat.com>
+
+       PR c/64417
+       * c-typeck.c (process_init_element): Disallow initialization of
+       a flexible array member with a string constant if the structure
+       is in an array.
+
+2015-01-05  Jakub Jelinek  <jakub@redhat.com>
+
+       PR sanitizer/64344
+       * c-typeck.c (convert_for_assignment, c_finish_return): For
+       -fsanitize=float-cast-overflow casts from REAL_TYPE to integer/enum
+       types also set in_late_binary_op around convert call.
+       * c-convert.c (convert): For -fsanitize=float-cast-overflow REAL_TYPE
+       to integral type casts, if not in_late_binary_op, pass c_fully_fold
+       result on expr as last argument to ubsan_instrument_float_cast,
+       if in_late_binary_op, don't use c_save_expr but save_expr.
+
+       Update copyright years.
+
+2015-01-05  Marek Polacek  <polacek@redhat.com>
+
+       PR c/64423
+       * c-typeck.c (build_array_ref): Pass loc down to
+       warn_array_subscript_with_type_char.
+
+2014-12-20  Martin Uecker <uecker@eecs.berkeley.edu>
+
+       * c-typeck.c: New behavious for pointers to arrays with qualifiers
+        (common-pointer-type): For pointers to arrays take qualifiers from
+       element type.
+        (build_conditional_expr): Add warnings for lost qualifiers.
+       (comp-target-types): Allow pointers to arrays with different qualifiers.
+        (convert-for-assignment): Adapt warnings for discarded qualifiers. Add
+       WARNING_FOR_QUALIFIERS macro and rename WARN_FOR_QUALIFIERS
+        to PEDWARN_FOR_QUALIFIERS.
+
+2014-12-17  Jakub Jelinek  <jakub@redhat.com>
+
+       PR sanitizer/64289
+       * c-convert.c: Include ubsan.h.
+       (convert): For real -> integral casts and
+       -fsanitize=float-cast-overflow don't call convert_to_integer, but
+       instead instrument the float cast directly.
+
+2014-11-29  Jakub Jelinek  <jakub@redhat.com>
+
+       * c-typeck.c (convert_lvalue_to_rvalue, build_atomic_assign,
+       c_finish_stmt_expr): Remove NULL last argument from
+       create_tmp_var_raw and create_tmp_var calls.
+       * c-array-notation.c (fix_builtin_array_notation_fn,
+       build_array_notation_expr, fix_conditional_array_notations_1,
+       fix_array_notation_expr, fix_array_notation_call_expr): Likewise.
+
+2014-11-28  Marek Polacek  <polacek@redhat.com>
+
+       PR c/63862
+       * c-typeck.c (build_binary_op) <RSHIFT_EXPR, LSHIFT_EXPR>: Don't
+       convert the right operand to integer type.
+
+2014-11-25  Marek Polacek  <polacek@redhat.com>
+
+       PR c/63877
+       * c-decl.c (start_function): Disable -Wmissing-declarations warning
+       for inline functions.
+
+2014-11-21  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/63764
+       * c-typeck.c (build_array_ref): Adjust
+       convert_vector_to_pointer_for_subscript caller.  If it returns true,
+       call non_lvalue_loc on the result.
+
+2014-11-11  Richard Biener  <rguenther@suse.de>
+
+       * c-decl.c (c_init_decl_processing): Do not set pedantic_lvalues
+       to true.
+
+2014-11-10  Andi Kleen  <ak@linux.intel.com>
+
+       PR c/60804
+       * c-parser.c (c_parser_statement_after_labels): Call
+       check_no_cilk.
+       (c_parser_if_statement): Dito.
+       (c_parser_switch_statement): Dito.
+       (c_parser_while_statement): Dito.
+       (c_parser_do_statement): Dito.
+       (c_parser_for_statement): Dito.
+       * c-typeck.c (c_finish_loop): Dito.
+
+2014-11-10  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * c-typeck.c (build_binary_op): Use OPT_Wshift_count_negative and
+       OPT_Wshift_count_overflow in the warnings.
+
+2014-10-30  Marek Polacek  <polacek@redhat.com>
+
+       * c-objc-common.c (c_tree_printer) <case 'T'>: For a typedef name,
+       print the stripped version as well, if they're not the same.
+
+2014-10-29  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * c-decl.c, c-tree.h, c-typeck.c: Remove redundant enum from
+       machine_mode.
+
+2014-10-28  Andrew MacLeod  <amacleod@redhat.com>
+
+       * c-decl.c: Adjust include files.
+       * c-parser.c: Ditto.
+
+2014-10-27  Phil Muldoon  <pmuldoon@redhat.com>
+           Tom Tromey  <tromey@redhat.com>
+
+       * c-tree.h (enum c_oracle_request): New.
+       (c_binding_oracle_function): New typedef.
+       (c_binding_oracle, c_pushtag, c_bind): Declare.
+       * c-decl.c (c_binding_oracle): New global.
+       (I_SYMBOL_CHECKED): New macro.
+       (i_symbol_binding): New function.
+       (I_SYMBOL_BINDING, I_SYMBOL_DECL): Redefine.
+       (I_TAG_CHECKED): New macro.
+       (i_tag_binding): New function.
+       (I_TAG_BINDING, I_TAG_DECL): Redefine.
+       (I_LABEL_CHECKED): New macro.
+       (i_label_binding): New function.
+       (I_LABEL_BINDING, I_LABEL_DECL): Redefine.
+       (c_print_identifier): Save and restore c_binding_oracle.
+       (c_pushtag, c_bind): New functions.
+
+2014-10-27  Andrew MacLeod  <amacleod@redhat.com>
+
+       * c-typeck.c: Adjust include files.
+
+2014-10-26  Manuel López-Ibáñez  <manu@gcc.gnu.org>
+
+       PR c++/53061
+       * c-objc-common.c (c_objc_common_init): Do not do diagnostics
+       initialization here...
+       (c_initialize_diagnostics): ... but here. Set defaults after
+       building pretty-printer.
+
+2014-10-23  Marek Polacek  <polacek@redhat.com>
+
+       PR c/63626
+       * c-decl.c (pop_scope): Don't print warning in external_scope.
+
+2014-10-19  Marek Polacek  <polacek@redhat.com>
+
+       PR c/63567
+       * c-typeck.c (output_init_element): Allow initializing objects with
+       static storage duration with compound literals even in C99 and add
+       pedwarn for it.
+
+2014-10-17  Marek Polacek  <polacek@redhat.com>
+
+       PR c/63567
+       * c-typeck.c (digest_init): Allow initializing objects with static
+       storage duration with compound literals even in C99 and add pedwarn
+       for it.
+
+2014-10-17  Marek Polacek  <polacek@redhat.com>
+
+       PR c/63543
+       * c-tree.h (C_TYPE_ERROR_REPORTED): Define.
+       * c-typeck.c (build_indirect_ref): Don't print the "dereferencing..."
+       error multiple times.  Print the type.
+
+2014-10-17  Marek Polacek  <polacek@redhat.com>
+
+       PR c/63549
+       * c-typeck.c (build_array_ref): Bail if the index in an incomplete
+       type.
+
+2014-10-17  Marek Polacek  <polacek@redhat.com>
+
+       * c-decl.c (grokdeclarator): Use OPT_Wimplicit_int unconditionally.
+       (start_function): Use OPT_Wimplicit_int instead of 0.
+       (store_parm_decls_oldstyle): Likewise.
+
+2014-10-17  Alan Modra  <amodra@gmail.com>
+
+       PR middle-end/61848
+       * c-decl.c (merge_decls): Don't merge section name or tls model
+       to newdecl symtab node, instead merge to olddecl.  Override
+       existing olddecl section name.  Set tls_model for all thread-local
+       vars, not just OMP thread-private ones.  Remove incorrect comment.
+
+2014-10-16  Andrew MacLeod  <amacleod@redhat.com>
+
+       * c-decl.c: Adjust include files.
+
+2014-10-14  DJ Delorie  <dj@redhat.com>
+
+       * c-parser.c (c_parse_init): Add RID entries for each __intN.
+       (c_token_starts_typename): Check all __intN, not just __int128.
+       (c_token_starts_declspecs): Likewise.
+       (c_parser_declspecs): Likewise.
+       (c_parser_attribute_any_word): Likewise.
+       (c_parser_objc_selector): Likewise.
+       * c-tree.h (c_typespec_keyword): cts_int128 -> cts_int_n.
+       (struct c_declspecs): Add int_n_idx field to record *which* __intN
+       is specified.
+       * c-decl.c (declspecs_add_type): Check for all __intN, not just
+       __int128.
+       (finish_declspecs): Likewise.
+
+2014-10-13  Anthony Brandon  <anthony.brandon@gmail.com>
+
+        * c-parser.c (c_parser_all_labels): New function to replace
+       the duplicate code.
+        (c_parser_statement): Call the new function.
+
+2014-10-09  Marek Polacek  <polacek@redhat.com>
+
+       PR c/63480
+       * c-typeck.c (pop_init_level): Don't warn about initializing
+       with { }.
+
+2014-10-07  Marek Polacek  <polacek@redhat.com>
+
+       PR c/59717
+       * c-decl.c (header_for_builtin_fn): New function.
+       (implicitly_declare): Suggest which header to include.
+
+2014-10-07  Marek Polacek  <polacek@redhat.com>
+
+       * c-convert.c (convert): Use error_operand_p.
+       * c-typeck.c (require_complete_type): Likewise.
+       (really_atomic_lvalue): Likewise.
+       (digest_init): Likewise.
+       (handle_omp_array_sections_1): Likewise.
+
+2014-10-03  Marek Polacek  <polacek@redhat.com>
+
+       PR c/63453
+       * c-decl.c (pop_scope): Don't warn about "inline function declared
+       but never defined" for functions marked with gnu_inline attribute.
+
+2014-09-25  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/63249
+       * c-parser.c (c_parser_omp_variable_list): Call mark_exp_read
+       on low_bound and length.
+
+2014-09-24  Marek Polacek  <polacek@redhat.com>
+
+       PR c/61405
+       PR c/53874
+       * c-parser.c: Don't define CPP_KEYWORD.
+       (c_parser_switch_statement): Pass original type to c_finish_case.
+       * c-tree.h (c_finish_case): Update declaration.
+       * c-typeck.c (c_finish_case): Add TYPE parameter.  Pass it
+       conditionally to c_do_switch_warnings.
+
+2014-09-03  Marek Polacek  <polacek@redhat.com>
+
+       PR c/62024
+       * c-parser.c (c_parser_static_assert_declaration_no_semi): Strip no-op
+       conversions.
+
+2014-09-02  Jakub Jelinek  <jakub@redhat.com>
+           Balaji V. Iyer  <balaji.v.iyer@intel.com>
+           Igor Zamyatin  <igor.zamyatin@intel.com>
+
+       * c-parser.c (c_parser_cilk_for): New function.
+       (c_parser_cilk_grainsize): Likewise.
+       (c_get_temp_regvar): Likewise.
+       (c_parser_statement_after_labels): Added RID_CILK_FOR case.
+       (c_parser_pragma): Added PRAGMA_CILK_GRAINSIZE case.
+       (c_parser_omp_for_loop): Added CILK_FOR and CILK_SIMD checks.
+       * c-typeck.c (c_finish_omp_clauses): Added OMP_CLAUSE__CILK_FOR_COUNT_
+       case.
+
+2014-08-27  Chen Gang  <gang.chen.5i5j@gmail.com>
+
+       * c-aux-info.c (gen_type): Resize 'buff' from 10 to 23 bytes,
+       with using HOST_WIDE_INT without truncation to 'int'
+
+2014-08-22  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/62199
+       * c-typeck.c (parser_build_binary_op): Adjust call to
+       warn_logical_not_parentheses.
+
+2014-08-22  Igor Zamyatin  <igor.zamyatin@intel.com>
+
+       PR other/62008
+       * c-parser.c (c_parser_array_notation): Check for correct
+       type of an array added.
+
+2014-08-19  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/62153
+       * c-typeck.c (build_binary_op): If either operand of a comparison
+       is a boolean expression, call maybe_warn_bool_compare.
+
+2014-08-19  Patrick Palka  <ppalka@gcc.gnu.org>
+
+       PR c/45584
+       * c-typeck.c (build_c_cast): Do a conversion even when the
+       TYPE_MAIN_VARIANTs are the same.
+
+2014-08-19  Marek Polacek  <polacek@redhat.com>
+
+       * c-decl.c (diagnose_mismatched_decls): Unconditionally call
+       pedwarn_c99 instead of pedwarn.
+       (grokfield): Likewise.
+       (warn_defaults_to): New function.
+       (grokdeclarator): Call warn_defaults_to instead of pedwarn_c99.
+       Unconditionally call pedwarn_c99 instead of pedwarn.
+       (start_function): Call warn_defaults_to instead of pedwarn_c99.
+       (declspecs_add_scspec): Call pedwarn_c99 instead of pedwarn, don't
+       check flag_isoc11 before.
+       * c-errors.c (pedwarn_c99): Change the return type to bool.
+       Handle -Wc99-c11-compat.
+       * c-parser.c (disable_extension_diagnostics): Handle
+       warn_c99_c11_compat.
+       (restore_extension_diagnostics): Likewise.
+       (c_parser_static_assert_declaration_no_semi): Call pedwarn_c99
+       instead of pedwarn, don't check flag_isoc11 before.
+       (c_parser_declspecs): Likewise.
+       (c_parser_alignas_specifier): Likewise.
+       (c_parser_alignof_expression): Likewise.
+       (c_parser_generic_selection): Likewise.
+       * c-tree.h (pedwarn_c99): Update declaration.
+       * c-typeck.c (c_finish_return): Call pedwarn or warning_at instead
+       of pedwarn_c99.
+
+2014-08-19  Marek Polacek  <polacek@redhat.com>
+
+       * c-decl.c (warn_variable_length_array): Pass OPT_Wvla unconditionally
+       to pedwarn_c90.
+       * c-errors.c: Include "opts.h".
+       (pedwarn_c90): Rewrite to handle -Wno-c90-c99-compat better.
+       * c-parser.c (disable_extension_diagnostics): Handle negative value
+       of warn_c90_c99_compat, too.
+       (restore_extension_diagnostics): Likewise.
+       (c_parser_compound_statement_nostart): Pass
+       OPT_Wdeclaration_after_statement unconditionally to pedwarn_c90.
+
+2014-08-12  Marek Polacek  <polacek@redhat.com>
+
+       * c-parser.c (c_parser_postfix_expression) <case RID_FUNCTION_NAME>:
+       Add pedwarn.
+       (c_parser_postfix_expression) <case RID_PRETTY_FUNCTION_NAME>:
+       Likewise.
+       (c_parser_postfix_expression) <case RID_C99_FUNCTION_NAME>: Likewise.
+
+2014-08-10 Marek Polacek  <polacek@redhat.com>
+
+       PR c/51849
+       * c-decl.c (build_array_declarator): Remove check for !flag_isoc99.
+       Call pedwarn_c90 instead of pedwarn.
+       (check_bitfield_type_and_width): Likewise.
+       (declspecs_add_qual): Likewise.
+       (declspecs_add_type): Likewise.
+       (warn_variable_length_array): Unify function for -pedantic and -Wvla.
+       Adjust to only call pedwarn_c90.
+       (grokdeclarator): Remove pedantic && !flag_isoc99 check.  Call
+       pedwarn_c90 instead of pedwarn.
+       * c-errors.c (pedwarn_c90): Handle -Wc90-c99-compat.
+       * c-parser.c (disable_extension_diagnostics): Handle
+       warn_c90_c99_compat.
+       (restore_extension_diagnostics): Likewise.
+       (c_parser_enum_specifier): Remove check for !flag_isoc99.  Call
+       pedwarn_c90 instead of pedwarn.
+       (c_parser_initelt): Likewise.
+       (c_parser_postfix_expression): Likewise.
+       (c_parser_postfix_expression_after_paren_type): Likewise.
+       (c_parser_compound_statement_nostart): Remove check for !flag_isoc99.
+       * c-tree.h: Fix formatting.
+       * c-typeck.c (build_array_ref): Remove check for !flag_isoc99.  Call
+       pedwarn_c90 instead of pedwarn.
+
+2014-08-07  Trevor Saunders  <tsaunders@mozilla.com>
+
+       * c-typeck.c: Remove include of pointer-set.h.
+
+2014-08-07  Marek Polacek  <polacek@redhat.com>
+
+       * c-typeck.c (pointer_diff): Remove P - (P + CST) optimization.
+
+2014-08-02  Trevor Saunders  <tsaunders@mozilla.com>
+
+       * c-typeck.c: Use hash_map instead of pointer_map.
+
+2014-08-02  Trevor Saunders  <tsaunders@mozilla.com>
+
+       * c-decl.c: Use hash_set instead of pointer_set.
+
+2014-08-01  Igor Zamyatin  <igor.zamyatin@intel.com>
+
+       PR middle-end/61455
+       * c-array-notation.c (expand_array_notations): Handling
+       of DECL_EXPR added.
+
+2014-07-31  Marc Glisse  <marc.glisse@inria.fr>
+
+       PR c++/60517
+       * c-typeck.c (c_finish_return): Return 0 instead of the address of
+       a local variable.
+
+2014-07-30  Tom Tromey  <tromey@redhat.com>
+
+       * c-typeck.c (struct constructor_stack) <designator_depth>: New
+       field.
+       (really_start_incremental_init, push_init_level): Initialize
+       designator_depth.
+       (pop_init_level): Set global designator_depth.
+       (process_init_element): Check for designated_init attribute.
+
 2014-07-20  Marek Polacek  <polacek@redhat.com>
 
        PR c/61852
        * c-decl.c: Likewise.  Include gt-c-c-decl.h, not gt-c-decl.h.
        * c-parser.c: Likewise.  Include gt-c-c-parser.h, not gt-c-parser.h.
 \f
-Copyright (C) 2012-2014 Free Software Foundation, Inc.
+Copyright (C) 2012-2015 Free Software Foundation, Inc.
 
 Copying and distribution of this file, with or without modification,
 are permitted in any medium without royalty provided the copyright
This page took 0.045438 seconds and 5 git commands to generate.