OSDN Git Service

Changelog c-family/
[pf3gnuchains/gcc-fork.git] / gcc / c-family / ChangeLog
index 7593aa0..a1cd346 100644 (file)
@@ -1,3 +1,158 @@
+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-lex.c (interpret_float): If CPP_N_IMAGINARY, ensure
+       EXCESS_PRECISION_EXPR is created with COMPLEX_TYPE instead of
+       REAL_TYPE.
+
+2011-01-26  Arnaud Charlet  <charlet@adacore.com>
+
+       * c-ada-spec.c (dump_generic_ada_node): Avoid dereferencing null type.
+
+2011-01-26  Jakub Jelinek  <jakub@redhat.com>
+
+       PR pch/47430
+       * c-opts.c (c_common_post_options): Call c_common_no_more_pch
+       after init_c_lex if pch_file is set.
+
+2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       PR c++/43601
+       * c.opt (-fkeep-inline-dllexport): New switch.
+
+2011-01-12  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/32511
+       * c-common.c (handle_weak_attribute): Warn instead of error
+       on declaring an inline function weak.
+
+2011-01-05  Tom Tromey  <tromey@redhat.com>
+
+       * c-common.h (lvalue_error): Update.
+       * c-common.c (lvalue_error): Add 'loc' argument.  Call error_at,
+       not error.
+
+2010-12-29  Nicola Pero  <nicola@nicola.brainstorm.co.uk>
+
+       PR objc/47075
+       * c-objc.h (objc_finish_message_expr): Added argument to
+       prototype.
+
+2010-12-22  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * c-common.c (handle_nonnull_attribute, handle_sentinel_attribute):
+       Use prototype_p.
+
+2010-12-18  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * c-objc.h (objc_maybe_warn_exceptions): New.
+       * stub-objc.c (objc_maybe_warn_exceptions): New.        
+
+2010-12-10  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * c-common.h (readonly_error): Declare.
+       * c-common.c (readonly_error): Define.
+
+2010-12-09  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * c-common.h (invalid_indirection_error): Declare.
+       * c-common.c (invalid_indirection_error): Define.
+
+2010-12-03  Richard Guenther  <rguenther@suse.de>
+
+       PR c/46745
+       * c-pretty-print.c (pp_c_postfix_expression): Handle MEM_REF.
+       (pp_c_unary_expression): Likewise.
+       (pp_c_expression): Likewise.
+
+2010-11-30  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * c-common.h (objc_finish_function): New.
+       (objc_non_volatilized_type): Removed.
+       (objc_type_quals_match): Removed.
+       * stub-objc.c (objc_finish_function): New.
+       (objc_non_volatilized_type): Removed.
+       (objc_type_quals_match): Removed.
+       
 2010-11-30  Joseph Myers  <joseph@codesourcery.com>
 
        * c-common.h (parse_optimize_options): Declare.