OSDN Git Service

remove useless if-before-free tests
[pf3gnuchains/gcc-fork.git] / gcc / c-family / ChangeLog
index d18ba20..b0f27c5 100644 (file)
@@ -1,3 +1,155 @@
+2011-04-20  Jim Meyering  <meyering@redhat.com>
+
+       * c-format.c (init_dollar_format_checking): Remove useless
+       if-before-free.
+
+2011-04-15  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * c-objc.h (objc_get_interface_ivars): Removed.
+       (objc_detect_field_duplicates): New.    
+       * stub-objc.c: Likewise.
+       
+2011-04-14  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * stub-objc.c (objc_declare_protocols): Renamed to
+       objc_declare_protocol.
+       * c-objc.h: Likewise.
+       
+2011-04-14  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * stub-objc.c (objc_declare_class): Updated argument name.
+
+2011-04-12  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * c-common.h (c_common_init_ts): Declare.
+       * c-common.c (c_common_init_ts): Define.
+
+2011-04-12  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * c-objc.h (objc_build_message_expr): Updated prototype.
+       * stub-objc.c (objc_build_message_expr): Likewise.
+       
+2011-04-12  Martin Jambor  <mjambor@suse.cz>
+
+       * c-gimplify.c (c_genericize): Call cgraph_get_create_node instead
+       of cgraph_node.
+
+2011-04-11  Richard Guenther  <rguenther@suse.de>
+
+       * c-common.c (complete_array_type): Build a range type of
+       proper type.
+
+2011-04-08  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * c-common.c (handle_sentinel_attribute): Don't use TYPE_ARG_TYPES.
+       (handle_type_generic_attribute): Likewise.
+
+2011-04-07  Jason Merrill  <jason@redhat.com>
+
+       PR c++/48450
+       * c-common.c (c_common_truthvalue_conversion): Don't ignore
+       conversion from C++0x scoped enum.
+
+2011-04-06  Joseph Myers  <joseph@codesourcery.com>
+
+       * c-target-def.h: New file.
+       * c-target.def: New file.
+       * c-target.h: New file.
+       * c-common.c (targetcm): Don't define here.
+       * c-common.h (default_handle_c_option): Declare.
+       * c-format.c: Include c-target.h instead of target.h.
+       * c-opts.c: Include c-target.h instead of target.h.  Explicitly
+       include tm.h.
+       (default_handle_c_option): Move from targhooks.c.
+
+2011-03-29  Jakub Jelinek  <jakub@redhat.com>
+
+       PR preprocessor/48248
+       * c-ppoutput.c (print): Add src_file field.
+       (init_pp_output): Initialize it.
+       (maybe_print_line): Don't optimize by adding up to 8 newlines
+       if map->to_file and print.src_file are different file.
+       (print_line): Update print.src_file.
+
+2011-03-25  Kai Tietz  <ktietz@redhat.com>
+
+       * c-ada-spec.c (compare_comment): Use filename_cmp
+       instead of strcmp for filename.
+
+2011-03-25  Jeff Law  <law@redhat.com>
+
+       * c-family/c-common.c (def_fn_type): Add missing va_end.
+
+2011-03-25  Jason Merrill  <jason@redhat.com>
+
+       * c.opt: Add -std=c++03.
+
+2011-03-22  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * c-ada-spec.c (dump_ada_template): Skip non-class instances.
+
+2011-03-17  Kai Tietz
+
+       PR target/12171
+       * c-pretty-print.c (pp_c_specifier_qualifier_list):
+       Display allowed attributes for function pointer types.
+       (pp_c_attributes_display): New function to display
+       attributes having affects_type_identity flag set to true.
+       * c-pretty-print.h (pp_c_attributes_display): New prototype.
+
+       * c-common.c (c_common_attribute_table):
+       Add new element.
+       (c_common_format_attribute_table): Likewise.
+
+2011-03-18  Jason Merrill  <jason@redhat.com>
+
+       * c.opt (fconstexpr-depth): Add Var(max_constexpr_depth).
+       * c-common.h: Don't declare it here.
+       * c-common.c: Or define it here.
+       * c-opts.c (c_common_handle_option): Or set it here.
+
+       PR c++/35315
+       * c-common.c (handle_transparent_union_attribute): Don't
+       make a duplicate type in C++.
+
+2011-03-15  Jason Merrill  <jason@redhat.com>
+
+       * c-common.c (max_constexpr_depth): New.
+       * c-common.h: Declare it.
+       * c-opts.c (c_common_handle_option): Set it.
+       * c.opt (fconstexpr-depth): New option.
+
+2011-03-11  Jason Merrill  <jason@redhat.com>
+
+       * c-common.c (attribute_takes_identifier_p): Add missing const.
+
+       PR c++/46803
+       * c-common.c (attribute_takes_identifier_p): Assume that an
+       unknown attribute takes an identifier.
+
+2011-03-07  Nathan Froyd  <froydnj@codesourcery.com>
+
+       PR c/47786
+       * c-common.c (c_type_hash): Call list_length instead of iterating
+       through DECL_CHAIN.  Rename 'i' to 'n_elements'.
+
+2011-02-19  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/47809
+       * c-common.c (c_fully_fold_internal): Handle VIEW_CONVERT_EXPR.
+
+2011-02-17  Iain Sandoe  <iains@gcc.gnu.org>
+
+       * c.opt (fobjc-abi-version=) New.
+       (fobjc-nilcheck): New.
+
+2011-02-03  Nathan Froyd  <froydnj@codesourcery.com>
+
+       PR c++/46890
+       * c-common.h (keyword_is_decl_specifier): Declare.
+       * c-common.c (keyword_is_decl_specifier): Define.
+       (keyword_is_function_specifier): New function.
+
 2011-01-26  Jakub Jelinek  <jakub@redhat.com>
 
        PR c/47473
        * c-common.c (lvalue_error): Add 'loc' argument.  Call error_at,
        not error.
 
-2010-12-29  Nicola Pero  <nicola@nicola.brainstorm.co.uk>
-
+2010-12-29  Nicola Pero  <nicola.pero@meta-innovation.com>
+       
        PR objc/47075
        * c-objc.h (objc_finish_message_expr): Added argument to
        prototype.
        * c-common.c: Include gt-c-family-c-common.h.
        * c-pragma.c: Include gt-c-family-c-pragma.h.
 \f
-Copyright (C) 2010 Free Software Foundation, Inc.
+Copyright (C) 2010, 2011 Free Software Foundation, Inc.
 
 Copying and distribution of this file, with or without modification,
 are permitted in any medium without royalty provided the copyright