1. 03 Jan, 2011 1 commit
  2. 29 Dec, 2010 1 commit
    • In gcc/c-family/: 2010-12-29 Nicola Pero <nicola@nicola.brainstorm.co.uk> · b4f588c4
      In gcc/c-family/:
      2010-12-29  Nicola Pero  <nicola@nicola.brainstorm.co.uk>
      
      	PR objc/47075
      	* c-objc.h (objc_finish_message_expr): Added argument to
      	prototype.
      
      In gcc/objc/:
      2010-12-29  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	PR objc/47075
      	* objc-act.h (PROPERTY_REF_DEPRECATED_GETTER): New.
      	* objc-tree.def (PROPERTY_REF): Increased the number of operands
      	from 3 to 4.
      	* objc-act.c (objc_finish_message_expr): Added optional argument
      	allowing to return the deprecated method prototype for deprecated
      	methods, instead of immediately emitting the deprecation warning.
      	(objc_maybe_build_component_ref): Do not warn for a deprecated
      	property.  When building the getter call, get the deprecated
      	method prototype from objc_finish_message_expr() and put it into
      	the PROPERTY_REF.
      	(objc_build_class_component_ref): Same change.
      	(finish_class): Mark the getter and setter as deprecated if they
      	are generated from a deprecated property.
      	(objc_gimplify_property_ref): If the getter is deprecated, emit a
      	deprecation warning.
      	(objc_build_setter_call, objc_build_message_expr,
      	objc_finish_foreach_loop): Updated call to
      	objc_finish_message_expr.
      	
      In gcc/objcp/:
      2010-12-29  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* objcp-lang.c (objcp_tsubst_copy_and_build): Update call to
      	objc_finish_message_expr.
      
      In gcc/testsuite/:
      2010-12-29  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	PR objc/47075
      	* objc.dg/property/at-property-deprecated-1.m: Updated.
      	* objc.dg/property/at-property-deprecated-2.m: New.
      	* objc.dg/property/dotsyntax-deprecated-1.m: New.
      	* obj-c++.dg/property/at-property-deprecated-1.mm: Updated.
      	* obj-c++.dg/property/at-property-deprecated-2.mm: New.
      	* obj-c++.dg/property/dotsyntax-deprecated-1.mm: New.
      
      From-SVN: r168315
      Nicola Pero committed
  3. 26 Dec, 2010 1 commit
  4. 06 Dec, 2010 1 commit
    • In gcc/: 2010-12-06 Nicola Pero <nicola.pero@meta-innovation.com> · 61d3ce20
      In gcc/:
      2010-12-06  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* c-family/c-common.h: Removed the declarations of all the objc_
      	callbacks, and moved them into c-objc.h.  Removed
      	objc_ivar_visibility_kind and moved it into c-objc.h.
      	* c-family/c-objc.h: New file.
      	* c-family/c-common.c: Include c-objc.h.
      	* c-family/c-format.c: Same change.
      	* c-family/stub-objc.c: Same change.
      	* c-decl.c: Include c-family/c-objc.h.
      	* c-parser.c: Same change.	
      	* c-typeck.c: Same change.
      	* c-config-lang.in (gtfiles): Added c-family/c-objc.h.
      	* Makefile.in (c-decl.o): Depend on c-family/c-objc.h.
      	(c-parser.o): same change.
      	(c-typeck.o): Same change.
      	(c-family/c-format.o): Same change.
      	(c-family/stub-objc.o): Same change.
      	(c-family/c-common.o): Same change.
      	(PLUGIN_HEADERS): Added c-family/c-objc.h.
      	
      In gcc/cp/:
      2010-12-06  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* call.c: Include c-family/c-objc.h.
      	* decl.c: Same change.
      	* decl2.c: Same change.
      	* error.c: Same change.
      	* lex.c: Same change.
      	* parser.c: Same change.
      	* pt.c: Same change.
      	* semantics.c: Same change.
      	* typeck.c: Same change.
      	* Make-lang.in (cp/decl.o): Depend on c-family/c-objc.h.
      	(cp/decl2.o): Same change.
      	(cp/call.o): Same change.
      	(cp/error.o): Same change.
      	(cp/lex.o): Same change.
      	(cp/parser.o): Same change.
      	(cp/pt.o): Same change.
      	(cp/semantics.o): Same change.
      	(cp/typeck.o): Same change.
      	* config-lang.in (gtfiles): Added c-family/c-objc.h.
      	
      In gcc/objc/:
      2010-12-06  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* objc-act.c: Include c-family/c-objc.h.
      	* objc-lang.c: Same change.
      	* Make-lang.in (objc/objc-act.o): Depend on
      	c-family/c-objc.h.
      	(objc/objc-lang.o): Same change.
      	* config-lang.in (gtfiles): Added c-family/c-objc.h.
      	
      In gcc/objcp/:
      2010-12-06  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* config-lang.in (gtfiles): Added c-family/c-objc.h.
      	* Make-lang.in (objcp/objcp-act.o): Depend on
      	c-family/c-objc.h.
      	(objcp/objcp-lang.o): Same change.
      	(objcp/objcp-decl.o): Same change.
      	* objcp-lang.c: Include c-family/c-objc.h.
      	* objcp-decl.c: Same change.
      
      From-SVN: r167481
      Nicola Pero committed
  5. 23 Nov, 2010 1 commit
    • In gcc/objc/: 2010-11-23 Nicola Pero <nicola.pero@meta-innovation.com> · 59a09598
      In gcc/objc/:
      2010-11-23  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              PR objc/24358
              * lang-specs.h: Added objective-c-cpp-output.  Mapped .mi to
              objective-c-cpp-output instead of objc-cpp-output.  Print a
              deprecation note every time objc-cpp-output is requested.
      
      In gcc/objcp/:
      2010-11-23  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              PR objc/24358
              * lang-specs.h: Print a deprecation note every time
              objc++-cpp-output is requested.
      
      From-SVN: r167073
      Nicola Pero committed
  6. 24 Oct, 2010 1 commit
    • In gcc/cp/: 2010-10-24 Nicola Pero <nicola.pero@meta-innovation.com> · be8cf3b5
      In gcc/cp/:
      2010-10-24  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              Removed Objective-C++ specific replacement of cxx_printable_name.
              * cp-objcp-common.h: Added LANG_HOOKS_DECL_PRINTABLE_NAME, set
              to cxx_printable_name for both C++ and Objective-C++.
              * cp-lang.h: Removed LANG_HOOKS_DECL_PRINTABLE_NAME.
      
              * error.c (dump_decl): For Objective-C++, call
              objc_maybe_printable_name here ...
              * tree.c (cxx_printable_name_internal): ... instead of here.
              
      In gcc/objcp/:
      2010-10-24  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * objcp-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Do not define.
      
      In gcc/objc/:
      2010-10-24  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * objc-act.c (objc_build_keyword_decl): Updated comments.  Do not
              emit a warning that method parameter attributes are unimplemented.
              Instead, store them into DECL_ATTRIBUTES of the KEYWORD_DECL.
              (start_method_def): Copy attributes from each KEYWORD_DECL into
              the corresponding PARM_DECL.
              (objc_warn_deprecated_use): Removed.
              (build_objc_method_call): Call warn_deprecated_use, not
              objc_warn_deprecated_use.
              (objc_maybe_printable_name): Do not try to get the identifier name
              of DECLs that we don't recognize.  Immediately return NULL for them.
              (objc_printable_name): Removed C++-specific case, which is no
              longer used.  Updated comments.
              
      In gcc/testsuite/:
      2010-10-24  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * objc.dg/attributes/method-attribute-2.m: Updated test.  Method
              parameter attributes are now supported.
              * obj-c++.dg/attributes/method-attribute-2.m: Same change.
              * objc.dg/attributes/parameter-attribute-1.m: New test.
              * objc.dg/attributes/parameter-attribute-2.m: New test. 
              * obj-c++.dg/attributes/parameter-attribute-1.m: New test.
              * obj-c++.dg/attributes/parameter-attribute-2.m: New test.
      
      From-SVN: r165896
      Nicola Pero committed
  7. 20 Oct, 2010 1 commit
    • In gcc/: 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com> · 977e30bc
      In gcc/:
      2010-10-20  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * c-decl.c (c_write_global_declarations): Call
              objc_write_global_declarations when compiling Objective-C.
              * c-lang.c (finish_file): Removed.
      
      In gcc/c-family/:
      2010-10-20  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * c-common.h (finish_file): Removed.
              (objc_write_global_declarations): New.
              * c-opts.c (c_common_parse_file): Do not call finish_file.
              * stub-objc.c (objc_write_global_declarations): New.
      
      In gcc/cp/:
      2010-10-20  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * cp-lang.c (finish_file): Removed.
              * decl2.c (cp_write_global_declarations): Call
              objc_write_global_declarations when compiling Objective-C++.
      
      In gcc/objc/:
      2010-10-20  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * objc-lang.c (finish_file): Removed.
              * objc-act.c (objc_finish_file): Renamed to
              objc_write_global_declarations.  Do not try to instantiate C++
              templates when compiling Objective-C++ as this is now
              automatically done before this function is called.  Do not check
              for syntax-only run or PCH generation as this is done by the
              callers.
              * objc-act.h (objc_finish_file): Removed.
      
      In gcc/objcp/:
      2010-10-20  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * objcp-lang.c (finish_file): Removed.
      
      In gcc/testsuite/:
      2010-10-20  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              Merge from 'apple/trunk' branch on FSF servers.  Test adapted to
              not require Foundation and run with the GNU runtime as well.
      
              2006-03-13  Fariborz Jahanian <fjahanian@apple.com>
      
              Radar 4439126
              * obj-c++.dg/template-8.mm: New.
      
      From-SVN: r165714
      Nicola Pero committed
  8. 14 Oct, 2010 1 commit
    • add @property to ObjC* · 668ea4b1
      	merge from FSF apple 'trunk' branch. 
      	2006 Fariborz Jahanian <fjahanian@apple.com>
      	
      	Radars 4436866, 4505126, 4506903, 4517826
      
      gcc/c-family: 
      
      	* c-common.c (c_common_resword): Define @property and its attributes.
      	* c-common.h: Define property attribute enum entries.
      	(OBJC_IS_PATTR_KEYWORD): New.
      	(objc_property_attribute_kind): New enum.
      	Declare objc_set_property_attr (), objc_add_property_variable (),
      	objc_build_getter_call () and objc_build_setter_call ().
      	* stub-objc.c (objc_set_property_attr): New stub.
      	(objc_add_property_variable): Likewise.
      	(objc_build_getter_call): Likewise.
      	(objc_build_setter_call) Likewise.
      
      gcc:
      
      	* c-parser.c (c_parser, objc_property_attr_context) New flag.
      	(c_lex_one_token): Handle property attributes.
      	(c_parser_external_declaration): Handle @property.
      	(c_parser_declaration_or_fndef): Warn on invalid attributes before
      	@alias, @class, @end and @property objc keywords.
      	(c_parser_objc_methodprotolist): Handle @property.
      	(c_parser_objc_property_attrlist): New.
      	(c_parser_objc_at_property): New.
      	* c-typeck.c (build_component_ref): Handle CLASS.property syntax.
      	(build_modify_expr): Likewise.
      
      gcc/cp:
      
      	* typeck.c (finish_class_member_access_expr): Handle CLASS.property
      	syntax. 
      	(cp_build_modify_expr): Likewise.
      	* parser.c (cp_parser_objc_method_prototype_list): Handle @property.
      	(cp_parser_objc_method_definition_list): Likewise.
      	(cp_parser_objc_property_decl): New.
      	(cp_parser_objc_property_attrlist): New.
      	(cp_parser_objc_at_property): New.
      
      gcc/objc:
      
      	* objc-act.c (CALL_EXPR_OBJC_PROPERTY_GETTER): New.
      	property_readonly, property_getter, property_setter, property_ivar,
      	property_copies, in_objc_property_setter_name_context: New vars.
      	(objc_set_property_attr): New.
      	(objc_add_property_variable): New.
      	(lookup_property_in_list): New.
      	(lookup_property): New.
      	(objc_build_getter_call): New.
      	(objc_setter_func_call): New.
      	(get_selector_from_reference): New.
      	(objc_build_setter_call): New.
      	(is_property): New.
      	(build_property_reference): New.
      	(objc_finish_message_expr): Detect readonly property and warn.
      	(objc_build_property_ivar_name): New.
      	(objc_build_property_setter_name): New.
      	(objc_gen_one_property_datum): New.
      	(objc_process_getter_setter): New.
      	(objc_synthesize_getter): New.
      	(objc_synthesize_setter): New.
      	(objc_gen_property_data): New.
      	(finish_class): Generate property data.
      	(comp_proto_with_proto): Separated from ...
      	(match_proto_with_proto): ... New.
      	(objc_lookup_ivar): Handle properties.
      	* objc-tree.def (PROPERTY_DECL): New tree code.
      	* objc-act.h: CLASS_LANG_SLOT_ELTS, PROTOCOL_LANG_SLOT_ELTS update size.
      	(METHOD_PROPERTY_CONTEXT): New.
      	(PROPERTY_NAME): New.
      	(PROPERTY_GETTER_NAME): New.
      	(PROPERTY_SETTER_NAME): New.
      	(PROPERTY_IVAR_NAME): New.
      	(PROPERTY_READONLY): New.
      	(PROPERTY_COPIES): New.
      	(TOTAL_CLASS_RAW_IVARS): New.
      	(CLASS_PROPERTY_DECL): New.
      	(IMPL_PROPERTY_DECL): New.
      	* objc-lang.c (objc_init_ts): Update fields for property_decl.
      
      gcc/objcp:
      
      	* objcp-lang.c (objcxx_init_ts): Update for property_decl.
      
      From-SVN: r165479
      Iain Sandoe committed
  9. 13 Oct, 2010 1 commit
  10. 11 Oct, 2010 3 commits
    • Add missing ChangeLog. · 3414bf53
      From-SVN: r165311
      Andi Kleen committed
    • Fix typo in earlier checksum change · a2a997ba
      I'm checking in a fix as obvious for this typo in the earlier checksum
      change.
      
      gcc/objcp
      
      2010-10-11  Andi Kleen  <ak@linux.intel.com>
      
      	* Make-lang.in (cc1objplus-checksum.c): Use correct temporary
      	name.
      
      From-SVN: r165309
      Andi Kleen committed
    • Build compiler checksum from object files v2 · d6d5951a
      gcc/
      
      2010-10-07  Andi Kleen  <ak@linux.intel.com>
      
      	* Makefile.in (MOSTLYCLEANFILES): Remove cc1*dummy, add
      	checksum-options.
      	(checksum-options): Add.
      	(cc1-dummy): Remove.
      	(cc1-checksum): Change to run checksum over object files
      	and options only.
      	* dummy-checksum.c: Remove.
      	* genchecksum.c: Update copyright.
      	(usage): Allow multiple arguments.
      	(BLOCKSIZE): Add.
      	(dosum): Change for incremental checksum. Remove C output.
      	(main): Iterate over all argument files. Add C output.
      
      gcc/cp
      
      2010-10-07  Andi Kleen  <ak@linux.intel.com>
      
      	* Make-lang.in (c++_OBJS): Remove dummy-checksum.o.
      	(cc1plus-dummy): Remove.
      	(cc1plus-checksum): Change to run checksum over object files
              and options only.
      
      gcc/objc
      
      2010-10-07  Andi Kleen  <ak@linux.intel.com>
      
      	* Make-lang.in (cc1obj-dummy): Remove.
      	(cc1obj-checksum): Change to run checksum over object files
              and options only.
      
      gcc/objcp
      
      2010-10-07  Andi Kleen  <ak@linux.intel.com>
      
      	* Make-lang.in (cc1objplus-dummy): Remove.
      	(cc1objplus-checksum): Change to run checksum over object files
              and options only.
      
      From-SVN: r165305
      Andi Kleen committed
  11. 04 Oct, 2010 1 commit
    • Mark linker Makefile rules for job server build · a90163e9
      -fwhopr=jobserver requires telling GNU make that the linker (= lto)
      rules support job server, so that the necessary jobserver
      information is passed through.
      
      Add + to all the executable targets that run LTO for this purpose.
      
      This improves build performance with a -fwhopr=jobserver
      bootstrap (or BUILD_CONFIG=bootstrap-lto) significantly.
      
      I didn't change Ada because that apparently doesn't support LTO.
      
      Passes bootstrap and test suite. Ok to commit?
      
      gcc/
      
      2010-10-04  Andi Kleen <ak@linux.intel.com>
      
      	* Makefile.in (xgcc, cpp, cc1, collect2, lto-wrapper, gcov,
              gcov-dump, cc1-dummy, genprog, build/gcov-iov):
              Add + to build rule.
      
      gcc/cp/
      
      2010-10-04  Andi Kleen <ak@linux.intel.com>
      
      	* Make-lang.in (g++, cc1plus): Add + to build rule.
      
      gcc/fortran/
      
      2010-10-04  Andi Kleen <ak@linux.intel.com>
      
      	* Make-lang.in (gfortran, f951): Add + to build rule.
      
      gcc/java/
      
      2010-10-04  Andi Kleen <ak@linux.intel.com>
      
      	* Make-lang.in (xgcj, jc1, jcf-dump, jvgenmain):
              Add + to build rule.
      
      gcc/lto/
      
      2010-10-04  Andi Kleen <ak@linux.intel.com>
      
      	* Make-lang.in (lto1): Add + to build rule.
      
      gcc/objc/
      
      2010-10-04  Andi Kleen <ak@linux.intel.com>
      
      	* Make-lang.in (cc1obj-dummy, cc1obj): Add + to build rule.
      
      gcc/objcp/
      
      2010-10-04  Andi Kleen <ak@linux.intel.com>
      
      	* Make-lang.in (cc1objplus-dummy, cc1objplus): Add + to build rule.
      
      More plus fixes
      
      From-SVN: r164949
      Andi Kleen committed
  12. 28 Sep, 2010 1 commit
  13. 21 Sep, 2010 1 commit
    • re PR objc/25965 (Allows duplicate member names in objc subclasses) · c0c24aa4
      PR objc/25965
      In gcc/objc/:
             * objc-act.c (objc_get_interface_ivars): New function.
             (objc_collecting_ivars): New variable.
             (continue_class): Set and reset objc_collecting_ivars for context.
      In gcc/:
             * c-decl.c (detect_field_duplicates): If compiling Objective-C,
             call objc_get_interface_ivars ().
             * c-family/c-common.h (objc_get_interface_ivars): New declaration.
             * c-family/stub-objc.c (objc_get_interface_ivars): New stub.
      In gcc/objcp/:
             * objcp-decl.c (objcp_finish_struct): Call
             objc_get_interface_ivars() and check for duplicate ivars.
      
      In gcc/testsuite/:
             Merge from 'apple/trunk' branch on FSF servers.
      
             2005-10-11  Fariborz Jahanian <fjahanian@apple.com>
      
                     Radar 4291785
      
                     objc.dg/naming-4.m: New
                     objc.dg/naming-5.m: New
                     obj-c++.dg/naming-1.mm: New
                     obj-c++.dg/naming-2.mm: New
      
      From-SVN: r164491
      Nicola Pero committed
  14. 28 Jun, 2010 1 commit
    • system.h: Poison GCC_EXCEPT_H for front-end files. · 3b06d379
      gcc/ChangeLog:
      2010-06-28  Steven Bosscher  <steven@gcc.gnu.org>
      
      	* system.h: Poison GCC_EXCEPT_H for front-end files.
      
      	* langhooks.h (struct lang_hooks): Add eh_protect_cleanup_actions
      	langhook.
      	* langhooks-def.h (LANG_HOOKS_EH_PROTECT_CLEANUP_ACTIONS) New.
      	Define to NULL by default.
      	* except.h: Define GCC_EXCEPT_H.
      	(doing_eh): Remove prototype.
      	(init_eh, init_eh_for_function): Move prototypes to toplev.h.
      	(lang_protect_cleanup_actions): Remove.
      	* except.c (lang_protect_cleanup_actions): Remove.
      	(doing_eh): Remove.
      	(gen_eh_region): Don't check doing_eh here.
      	* toplev.h (init_eh, init_eh_for_function_): Moved from except.h.
      	* tree-eh.c (honor_protect_cleanup_actions): Use new langhook
      	instead of lang_protect_cleanup_actions.
      	* omp-low.c (maybe_catch_exception): Likewise.
      	* Makefile.in: Update dependencies.
      
      gcc/c-family/ChangeLog:
      2010-06-28  Steven Bosscher  <steven@gcc.gnu.org>
      
      	* c-cppbuiltin.c: Do not include except.h.
      
      gcc/objc/ChangeLog:
      2010-06-28  Steven Bosscher  <steven@gcc.gnu.org>
      
      	* objc-act.c: Do not include except.h.
      
      gcc/cp/ChangeLog:
      2010-06-28  Steven Bosscher  <steven@gcc.gnu.org>
      
      	* init.c: Do not include except.h.
      	* decl.c: Likewise.
      	* expr.c: Likewise.
      	* cp-lang.c: Likewise.
      	* pt.c: Likewise.
      	* semantics.c: Likewise.
      	* decl2.c: Likewise.
      	* except.c: Likewise.
      	(init_exception_processing): Do not set the removed
      	lang_protect_cleanup_actions here.
      	(cp_protect_cleanup_actions): Make non-static and remove prototype.
      	(doing_eh): New, moved from except.c but removed the do_warning flag.
      	(expand_start_catch_block): Update doing_eh call.
      	(expand_end_catch_block): Likewise.
      	(build_throw): Likewise.
      	* cp-tree.h: Prototype cp_protect_cleanup_actions.
      	* cp-objcp-common.h: Set LANG_HOOKS_EH_PROTECT_CLEANUP_ACTIONS to
      	cp_protect_cleanup_actions.
      	* Make-lang.in: Update dependencies.
      
      gcc/objcp/ChangeLog:
      2010-06-28  Steven Bosscher  <steven@gcc.gnu.org>
      
      	* objcp-lang.c: Do not include except.h.
      	* Make-lang.in: Update dependencies.
      
      gcc/java/ChangeLog:
      2010-06-28  Steven Bosscher  <steven@gcc.gnu.org>
      
      	* lang.c: Do not include except.h
      	* except.c: Likewise.
      	(doing_eh): New, moved from except.c (in gcc/) but removed the
      	do_warning flag.
      	(maybe_start_try): Update doing_eh call.
      	* Make-lang.in: Update dependencies.
      
      gcc/ada/ChangeLog:
      2010-06-28  Steven Bosscher  <steven@gcc.gnu.org>
      
      	* gcc-interface/misc.c: Do not include except.h.
      	* gcc-interface/Make-lang.in: Update dependencies.
      
      gcc/fortran/ChangeLog:
      2010-06-28  Steven Bosscher  <steven@gcc.gnu.org>
      
      	* Make-lang.in: Update dependencies.
      
      From-SVN: r161484
      Steven Bosscher committed
  15. 25 Jun, 2010 1 commit
  16. 08 Jun, 2010 1 commit
    • utils.c (init_gnat_to_gnu): Use typed GC allocation. · a9429e29
      gcc/ada:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* gcc-interface/utils.c (init_gnat_to_gnu): Use typed GC
      	allocation.
      	(init_dummy_type): Likewise.
      	(gnat_pushlevel): Likewise.
      
      	* gcc-interface/trans.c (Attribute_to_gnu): Likewise.
      	(Subprogram_Body_to_gnu): Likewise.
      	(Compilation_Unit_to_gnu): Likewise.
      	(start_stmt_group): Likewise.
      	(extract_encoding): Likewise.
      	(decode_name): Likewise.
      
      	* gcc-interface/misc.c (gnat_printable_name): Likewise.
      
      	* gcc-interface/decl.c (annotate_value): Likewise.
      
      	* gcc-interface/ada-tree.h (struct lang_type): Add variable_size
      	GTY option.
      	(struct lang_decl): Likewise.
      	(SET_TYPE_LANG_SPECIFIC): Use typed GC allocation.
      	(SET_DECL_LANG_SPECIFIC): Likewise.
      
      gcc/c-family:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* c-pragma.c (push_alignment): Use typed GC allocation.
      	(handle_pragma_push_options): Likewise.
      
      	* c-common.c (parse_optimize_options): Likewise.
      
      	* c-common.h (struct sorted_fields_type): Add variable_size GTY
      	option.
      
      gcc/cp:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* typeck2.c (abstract_virtuals_error): Likewise.
      
      	* pt.c (maybe_process_partial_specialization): Likewise.
      	(register_specialization): Likewise.
      	(add_pending_template): Likewise.
      	(lookup_template_class): Likewise.
      	(push_tinst_level): Likewise.
      
      	* parser.c (cp_lexer_new_main): Likewise.
      	(cp_lexer_new_from_tokens): Likewise.
      	(cp_token_cache_new): Likewise.
      	(cp_parser_context_new): Likewise.
      	(cp_parser_new): Likewise.
      	(cp_parser_nested_name_specifier_opt): Likewise.
      	(cp_parser_template_id): Likewise.
      
      	* name-lookup.c (binding_entry_make): Likewise.
      	(binding_table_construct): Likewise.
      	(binding_table_new): Likewise.
      	(cxx_binding_make): Likewise.
      	(pushdecl_maybe_friend): Likewise.
      	(begin_scope): Likewise.
      	(push_to_top_level): Likewise.
      
      	* lex.c (init_reswords): Likewise.
      	(retrofit_lang_decl): Likewise.
      	(cxx_dup_lang_specific_decl): Likewise.
      	(copy_lang_type): Likewise.
      	(cxx_make_type): Likewise.
      
      	* decl.c (make_label_decl): Likewise.
      	(check_goto): Likewise.
      	(start_preparsed_function): Likewise.
      	(save_function_data): Likewise.
      
      	* cp-tree.h (TYPE_SET_PTRMEMFUNC_TYPE): Likewise.
      
      	* cp-objcp-common.c (decl_shadowed_for_var_insert): Likewise.
      
      	* class.c (finish_struct_1): Likewise.
      
      	* cp-tree.h (struct lang_type): Add variable_size GTY option.
      	(struct lang_decl): Likewise.
      
      	* parser.c (cp_parser_new): Update comment to not reference
      	ggc_alloc.
      
      gcc/fortran:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* trans-types.c (gfc_get_nodesc_array_type): Use typed GC
      	allocation.
      	(gfc_get_array_type_bounds): Likewise.
      
      	* trans-decl.c (gfc_allocate_lang_decl): Likewise.
      	(gfc_find_module): Likewise.
      
      	* f95-lang.c (pushlevel): Likewise.
      
      	* trans.h (struct lang_type): Add variable_size GTY option.
      	(struct lang_decl): Likewise.
      
      gcc/java:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* jcf-reader.c (jcf_parse_constant_pool): Use typed GC allocation.
      
      	* jcf-parse.c (java_parse_file): Likewise.
      	(process_zip_dir): Likewise.
      
      	* java-tree.h (MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC): Likewise.
      	(MAYBE_CREATE_TYPE_TYPE_LANG_SPECIFIC): Likewise.
      
      	* expr.c (add_type_assertion): Likewise.
      
      	* decl.c (make_binding_level): Likewise.
      	(java_dup_lang_specific_decl): Likewise.
      
      	* constants.c (set_constant_entry): Likewise.
      	(cpool_for_class): Likewise.
      
      	* class.c (add_method_1): Likewise.
      	(java_treetreehash_new): Likewise.
      
      	* java-tree.h (struct lang_type): Add variable_size GTY option.
      	(struct lang_decl): Likewise.
      
      	* jch.h (struct cpool_entry): Likewise.
      
      	* java-tree.h (java_treetreehash_create): Remove parameter ggc.
      
      	* except.c (prepare_eh_table_type): Update
      	java_treetreehash_create call.
      
      	* class.c (add_method_1): Update java_treetreehash_create call.
      	(java_treetreehash_create): Remove parameter gc.  Use
      	htab_create_ggc.
      
      gcc/lto:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* lto.c (lto_read_in_decl_state): Use typed GC allocation.
      	(lto_file_read): Likewise.
      	(new_partition): Likewise.
      	(read_cgraph_and_symbols): Likewise.
      
      gcc/objc:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* objc-act.h (ALLOC_OBJC_TYPE_LANG_SPECIFIC): Use typed GC
      	allocation.
      
      	* objc-act.c (objc_volatilize_decl): Likewise.
      	(objc_build_string_object): Likewise.
      	(hash_init): Likewise.
      	(hash_enter): Likewise.
      	(hash_add_attr): Likewise.
      	(add_class): Likewise.
      	(start_class): Likewise.
      
      gcc/objcp:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* objcp-decl.h (ALLOC_OBJC_TYPE_LANG_SPECIFIC): Use typed GC
      	allocation.
      
      gcc:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* doc/tm.texi (Per-Function Data): Do not reference ggc_alloc.
      
      	* doc/gty.texi (GTY Options): Document typed GC allocation and
      	variable_size GTY option.
      
      	* ggc-internal.h: New.
      
      	* ggc.h: Update copyright year.
      	(digit_string): Move to stringpool.c.
      	(ggc_mark_stringpool, ggc_purge_stringpool, ggc_mark_roots)
      	(gt_pch_save_stringpool, gt_pch_fixup_stringpool)
      	(gt_pach_restore_stringpool, gt_pch_p_S, gt_pch_note_object)
      	(init_ggc_pch, ggc_pch_count_object, ggc_pch_total_size)
      	(ggc_pch_this_base, ggc_pch_alloc_object, ggc_pch_prepare_write)
      	(ggc_pch_write_object, ggc_pch_finish, ggc_pch_read)
      	(ggc_force_collect, ggc_get_size, ggc_statistics)
      	(ggc_print_common_statistics): Move to ggc-internal.h.
      	(digit_vector, new_ggc_zone, destroy_ggc_zone, ggc_alloc_stat)
      	(ggc_alloc, ggc_alloc_cleared, ggc_realloc, ggc_calloc, GGC_NEW)
      	(GGC_CNEW, GGC_NEWVEC, GGC_CNEWVEC, GGC_NEWVAR, ggc_alloc_rtvec)
      	(ggc_alloc_tree, gt_pch_save, ggc_min_expand_heuristic)
      	(ggc_min_heapsize_heuristic, ggc_alloc_zone)
      	(ggc_alloc_zone_pass_stat): Remove.
      	(ggc_internal_alloc_stat, ggc_internal_alloc)
      	(ggc_internal_cleared_alloc_stat): New.
      	(GGC_RESIZEVEC, GGC_RESIZEVAR): Redefine.
      	(ggc_internal_vec_alloc_stat)
      	(ggc_internal_cleared_vec_alloc_stat)
      	(ggc_internal_vec_alloc_stat, ggc_internal_cleared_vec_alloc)
      	(ggc_alloc_atomic_stat, ggc_alloc_atomic)
      	(ggc_alloc_cleared_atomic, ggc_cleared_alloc_htab_ignore_args)
      	(ggc_cleared_alloc_ptr_array_two_args): New.
      	(htab_create_ggc, splay_tree_new_ggc): Redefine.
      	(ggc_splay_alloc): Change the type of the first argument to
      	enum gt_types_enum.
      	(ggc_alloc_string): Make macro.
      	(ggc_alloc_string_stat): New.
      	(ggc_strdup): Redefine.
      	(rtl_zone, tree_zone, tree_id_zone): Declare unconditionally.
      	(ggc_alloc_rtvec_sized): New.
      	(ggc_alloc_zone_stat): Rename to ggc_internal_alloc_zone_stat.
      	(ggc_internal_alloc_zone_pass_stat, ggc_internal_alloc_zone_stat)
      	(ggc_internal_cleared_alloc_zone_stat)
      	(ggc_internal_zone_alloc_stat)
      	(ggc_internal_zone_cleared_alloc_stat)
      	(ggc_internal_zone_vec_alloc_stat)
      	(ggc_alloc_zone_rtx_def_stat)
      	(ggc_alloc_zone_tree_node_stat)
      	(ggc_alloc_zone_cleared_tree_node_stat)
      	(ggc_alloc_cleared_gimple_statement_d_stat): New.
      
      	* ggc-common.c: Include ggc-internal.h.
      	(ggc_internal_cleared_alloc_stat): Rename from
      	ggc_alloc_cleared_stat.
      	(ggc_realloc_stat): Use ggc_internal_alloc_stat.
      	(ggc_calloc): Remove.
      	(ggc_cleared_alloc_htab_ignore_args): New.
      	(ggc_cleared_alloc_ptr_array_two_args): New.
      	(ggc_splay_alloc): Add obj_type parameter.
      	(init_ggc_heuristics): Formatting fixes.
      
      	* ggc-none.c: Update copyright year.
      	(ggc_alloc_stat): Rename to ggc_alloc_stat.
      	(ggc_alloc_cleared_stat): Rename to
      	ggc_internal_cleared_alloc_stat.
      	(struct alloc_zone, rtl_zone, tree_zone, tree_id_zone): New.
      
      	* ggc-page.c: Update copyright year.  Include ggc-internal.h.
      	Remove references to ggc_alloc in comments.
      	(ggc_alloc_typed_stat): Call ggc_internal_alloc_stat.
      	(ggc_alloc_stat): Rename to ggc_internal_alloc_stat.
      	(new_ggc_zone, destroy_ggc_zone): Remove.
      	(struct alloc_zone, rtl_zone, tree_zone, tree_id_zone): New.
      
      	* ggc-zone.c: Include ggc-internal.h.  Remove references to
      	ggc_alloc in comments.
      	(ggc_alloc_zone_stat): ggc_internal_alloc_zone_stat.
      	(ggc_internal_alloc_zone_pass_stat): New.
      	(ggc_internal_cleared_alloc_zone_stat): New.
      	(ggc_alloc_typed_stat): Use ggc_internal_alloc_zone_pass_stat.
      	(ggc_alloc_stat): Rename ggc_internal_alloc_stat.
      	(new_ggc_zone, destroy_ggc_zone): Remove.
      
      	* stringpool.c: Update copyright year.  Include ggc-internal.h
      	(digit_vector): Make static.
      	(digit_string): Moved from ggc.h.
      	(stringpool_ggc_alloc): Use ggc_alloc_atomic.
      	(ggc_alloc_string): Rename to ggc_alloc_string_stat.
      
      	* Makefile.in (GGC_INTERNAL_H): New.
      	(ggc_common.o, ggc-page.o, ggc-zone.o, stringpool.o): Add
      	$(GGC_INTERNAL_H) to dependencies.
      
      	* gentype.c: Update copyright year.
      	(walk_type): Accept variable_size GTY option.
      	(USED_BY_TYPED_GC_P): New macro.
      	(write_enum_defn): Use USED_BY_TYPED_GC_P.  Do not output
      	whitespace at the end of strings.
      	(get_type_specifier, variable_size_p): New functions.
      	(alloc_quantity, alloc_zone): New enums.
      	(write_typed_alloc_def): New function.
      	(write_typed_struct_alloc_def): Likewise.
      	(write_typed_typed_typedef_alloc_def): Likewise.
      	(write_typed_alloc_defns): Likewise.
      	(output_typename, write_splay_tree_allocator_def): Likewise.
      	(write_splay_tree_allocators): Likewise.
      	(main): Call write_typed_alloc_defns and
      	write_splay_tree_allocators.
      
      	* lto-streamer.h (lto_file_decl_data_ptr): New.
      
      	* passes.c (order): Define using cgraph_node_ptr.
      
      	* strinpool.c (struct string_pool_data): Declare nested_ptr using
      	ht_identifier_ptr.
      
      	* gimple.h (union gimple_statement_d): Likewise.
      
      	* rtl.h (struct rtx_def): Likewise.
      	(struct rtvec_def): Likewise.
      
      	* tree.h (union tree_node): Likewise.
      
      	* tree-ssa-operands.h (struct ssa_operand_memory_d): Likewise.
      
      	* cfgloop.c (record_loop_exits): Use htab_create_ggc.
      
      	* tree-scalar-evolution.c (scev_initialize): Likewise.
      
      	* alias.c (record_alias_subset): Update splay_tree_new_ggc call.
      
      	* dwarf2asm.c (dw2_force_const_mem): Likewise.
      
      	* omp-low.c (lower_omp_critical): Likewise.
      
      	* bitmap.h (struct bitmap_head_def): Update comment to not
      	reference ggc_alloc.
      
      	* config/pa/pa.c (get_deferred_label): Use GGC_RESIZEVEC.
      
      	* ira.c (fix_reg_equiv_init): Use GGC_RESIZEVEC.
      
      	* ipa-prop.c (duplicate_ggc_array): Rename to
      	duplicate_ipa_jump_func_array.  Use typed GC allocation.
      	(ipa_edge_duplication_hook): Call duplicate_ipa_jump_func_array.
      
      	* gimple.c (gimple_alloc_stat): Use
      	ggc_alloc_cleared_gimple_statement_d_stat.
      
      	* varasm.c (create_block_symbol): Use ggc_alloc_zone_rtx_def.
      
      	* tree.c (make_node_stat): Use
      	ggc_alloc_zone_cleared_tree_node_stat.
      	(make_tree_vec_stat): Likewise.
      	(build_vl_exp_stat): Likewise.
      	(copy_node_stat): Use ggc_alloc_zone_tree_node_stat.
      	(make_tree_binfo_stat): Likewise.
      	(tree_cons_stat): Likewise.
      
      	* rtl.c (rtx_alloc_stat): Use ggc_alloc_zone_rtx_def_stat.
      	(shallow_copy_rtx_stat): Likewise.
      	(make_node_stat): Likewise.
      
      	* lto-symtab.c: Fix comment.
      
      	* tree-cfg.c (create_bb): Update comment to not reference
      	ggc_alloc_cleared.
      	* tree-ssa-structalias.c (struct heapvar_for_stmt): Fix param_is
      	value.
      
      	* varpool.c (varpool_node): Use typed GC allocation.
      	(varpool_extra_name_alias): Likewise.
      
      	* varasm.c (emutls_decl): Likewise.
      	(get_unnamed_section): Likewise.
      	(get_noswitch_section): Likewise.
      	(get_section): Likewise.
      	(get_block_for_section): Likewise.
      	(build_constant_desc): Likewise.
      	(create_constant_pool): Likewise.
      	(force_const_mem): Likewise.
      
      	* tree.c (build_vl_exp_stat): Likewise.
      	(build_real): Likewise.
      	(build_string): Likewise.
      	(decl_debug_expr_insert): Likewise.
      	(decl_value_expr_insert): Likewise.
      	(type_hash_add): Likewise.
      	(build_omp_clause): Likewise.
      
      	* tree-ssanames.c (duplicate_ssa_name_ptr_info): Likewise.
      
      	* tree-ssa.c (init_tree_ssa): Likewise.
      
      	* tree-ssa-structalias.c (heapvar_insert): Likewise.
      
      	* tree-ssa-operands.c (ssa_operand_alloc): Likewise.
      
      	* tree-ssa-loop-niter.c (record_estimate): Likewise.
      
      	* tree-ssa-alias.c (get_ptr_info): Likewise.
      
      	* tree-scalar-evolution.c (new_scev_info_str): Likewise.
      
      	* tree-phinodes.c (allocate_phi_node): Likewise.
      
      	* tree-iterator.c (tsi_link_before): Likewise.
      	(tsi_link_after): Likewise.
      
      	* tree-eh.c (add_stmt_to_eh_lp_fn): Likewise.
      
      	* tree-dfa.c (create_var_ann): Likewise.
      
      	* tree-cfg.c (create_bb): Likewise.
      
      	* toplev.c (alloc_for_identifier_to_locale): Likewise.
      	(general_init): Likewise.
      
      	* stringpool.c (stringpool_ggc_alloc): Likewise.
      	(gt_pch_save_stringpool): Likewise.
      
      	* sese.c (if_region_set_false_region): Likewise.
      
      	* passes.c (do_per_function_toporder): Likewise.
      
      	* optabs.c (set_optab_libfunc): Likewise.
      	(set_conv_libfunc): Likewise.
      
      	* lto-symtab.c (lto_symtab_register_decl): Likewise.
      
      	* lto-streamer-in.c (lto_input_eh_catch_list): Likewise.
      	(input_eh_region): Likewise.
      	(input_eh_lp): Likewise.
      	(make_new_block): Likewise.
      	(unpack_ts_real_cst_value_fields): Likewise.
      
      	* lto-section-in.c (lto_new_in_decl_state): Likewise.
      
      	* lto-cgraph.c (input_node_opt_summary): Likewise.
      
      	* loop-init.c (loop_optimizer_init): Likewise.
      
      	* lambda.h (lambda_vector_new): Likewise.
      
      	* lambda-code.c (replace_uses_equiv_to_x_with_y): Likewise.
      
      	* ira.c (update_equiv_regs): Likewise.
      
      	* ipa.c (cgraph_node_set_new): Likewise.
      	(cgraph_node_set_add): Likewise.
      	(varpool_node_set_new): Likewise.
      	(varpool_node_set_add): Likewise.
      
      	* ipa-prop.c (ipa_compute_jump_functions_for_edge): Likewise.
      	(duplicate_ipa_jump_func_array): Likewise.
      	(ipa_read_node_info): Likewise.
      
      	* ipa-cp.c (ipcp_create_replace_map): Likewise.
      
      	* integrate.c (get_hard_reg_initial_val): Likewise.
      
      	* gimple.c (gimple_alloc_stat): Likewise.
      	(gimple_build_omp_for): Likewise.
      	(gimple_seq_alloc): Likewise.
      	(gimple_copy): Likewise.
      
      	* gimple-iterator.c (gsi_insert_before_without_update): Likewise.
      	(gsi_insert_after_without_update): Likewise.
      
      	* function.c (add_frame_space): Likewise.
      	(insert_temp_slot_address): Likewise.
      	(assign_stack_temp_for_type): Likewise.
      	(allocate_struct_function): Likewise.
      	(types_used_by_var_decl_insert): Likewise.
      
      	* except.c (init_eh_for_function): Likewise.
      	(gen_eh_region): Likewise.
      	(gen_eh_region_catch): Likewise.
      	(gen_eh_landing_pad): Likewise.
      	(add_call_site): Likewise.
      
      	* emit-rtl.c (get_mem_attrs): Likewise.
      	(get_reg_attrs): Likewise.
      	(start_sequence): Likewise.
      	(init_emit): Likewise.
      
      	* dwarf2out.c (new_cfi): Likewise.
      	(queue_reg_save): Likewise.
      	(dwarf2out_frame_init): Likewise.
      	(new_loc_descr): Likewise.
      	(find_AT_string): Likewise.
      	(new_die): Likewise.
      	(add_var_loc_to_decl): Likewise.
      	(clone_die): Likewise.
      	(clone_as_declaration): Likewise.
      	(break_out_comdat_types): Likewise.
      	(new_loc_list): Likewise.
      	(loc_descriptor): Likewise.
      	(add_loc_descr_to_each): Likewise.
      	(add_const_value_attribute): Likewise.
      	(tree_add_const_value_attribute): Likewise.
      	(add_comp_dir_attribute): Likewise.
      	(add_name_and_src_coords_attributes): Likewise.
      	(lookup_filename): Likewise.
      	(store_vcall_insn): Likewise.
      	(dwarf2out_init): Likewise.
      
      	* dbxout.c (dbxout_init): Likewise.
      
      	* config/xtensa/xtensa.c (xtensa_init_machine_status): Likewise.
      
      	* config/sparc/sparc.c (sparc_init_machine_status): Likewise.
      
      	* config/score/score7.c (score7_output_external): Likewise.
      
      	* config/score/score3.c (score3_output_external): Likewise.
      
      	* config/s390/s390.c (s390_init_machine_status): Likewise.
      
      	* config/rs6000/rs6000.c (builtin_function_type): Likewise.
      	(rs6000_init_machine_status): Likewise.
      	(output_toc): Likewise.
      
      	* config/pa/pa.c (pa_init_machine_status): Likewise.
      	(get_deferred_plabel): Likewise.
      
      	* config/moxie/moxie.c (moxie_init_machine_status): Likewise.
      
      	* config/mmix/mmix.c (mmix_init_machine_status): Likewise.
      
      	* config/mips/mips.c (mflip_mips16_use_mips16_p): Likewise.
      
      	* config/mep/mep.c (mep_init_machine_status): Likewise.
      	(mep_note_pragma_flag): Likewise.
      
      	* config/m32c/m32c.c (m32c_init_machine_status): Likewise.
      
      	* config/iq2000/iq2000.c (iq2000_init_machine_status): Likewise.
      
      	* config/ia64/ia64.c (ia64_init_machine_status): Likewise.
      
      	* config/i386/winnt.c (i386_pe_record_external_function): Likewise.
      	(i386_pe_maybe_record_exported_symbol): Likewise.
      
      	* config/i386/i386.c (get_dllimport_decl): Likewise.
      	(ix86_init_machine_status): Likewise.
      	(assign_386_stack_local): Likewise.
      
      	* config/frv/frv.c (frv_init_machine_status): Likewise.
      
      	* config/darwin.c (machopic_indirection_name): Likewise.
      
      	* config/cris/cris.c (cris_init_machine_status): Likewise.
      
      	* config/bfin/bfin.c (bfin_init_machine_status): Likewise.
      
      	* config/avr/avr.c (avr_init_machine_status): Likewise.
      
      	* config/arm/arm.c (arm_init_machine_status): Likewise.
      
      	* config/alpha/alpha.c (alpha_init_machine_status): Likewise.
      	(alpha_need_linkage): Likewise.
      	(alpha_use_linkage): Likewise.
      
      	* cgraph.c (cgraph_allocate_node): Likewise.
      	(cgraph_create_edge_1): Likewise.
      	(cgraph_create_indirect_edge): Likewise.
      	(cgraph_add_asm_node): Likewise.
      
      	* cfgrtl.c (init_rtl_bb_info): Likewise.
      
      	* cfgloop.c (alloc_loop): Likewise.
      	(rescan_loop_exit): Likewise.
      
      	* cfg.c (init_flow): Likewise.
      	(alloc_block): Likewise.
      	(unchecked_make_edge): Likewise.
      
      	* c-parser.c (c_parse_init): Likewise.
      	(c_parse_file): Likewise.
      
      	* c-decl.c (bind): Likewise.
      	(record_inline_static): Likewise.
      	(push_scope): Likewise.
      	(make_label): Likewise.
      	(lookup_label_for_goto): Likewise.
      	(finish_struct): Likewise.
      	(finish_enum): Likewise.
      	(c_push_function_context): Likewise.
      
      	* bitmap.c (bitmap_element_allocate): Likewise.
      	(bitmap_gc_alloc_stat): Likewise.
      
      	* alias.c (record_alias_subset): Likewise.
      	(init_alias_analysis): Likewise.
      
      include:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* splay-tree.h: Update copyright years.
      	(splay_tree_s): Document fields.
      	(splay_tree_new_typed_alloc): New.
      
      	* hashtab.h: Update copyright years.
      	(htab_create_typed_alloc): New.
      
      libcpp:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* include/symtab.h (ht_identifier_ptr): New.
      
      libiberty:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* splay-tree.c: Update copyright years.
      	(splay_tree_new_typed_alloc): New.
      	(splay_tree_new_with_allocator): Use it.
      
      	* hashtab.c: Update copyright years.
      	(htab_create_typed_alloc): New.
      	(htab_create_alloc): Use it.
      
      	* functions.texi: Regenerate.
      
      From-SVN: r160425
      Laurynas Biveinis committed
  17. 05 Jun, 2010 1 commit
    • c-common.c: Move to c-family/. · 39dabefd
      gcc/ChangeLog:
      	* c-common.c: Move to c-family/.
      	* c-common.def: Likewise.
      	* c-common.h: Likewise.
      	* c-cppbuiltin.c: Likewise.
      	* c-dump.c: Likewise.
      	* c-format.c: Likewise.
      	* c-format.h : Likewise.
      	* c-gimplify.c: Likewise.
      	* c-lex.c: Likewise.
      	* c-omp.c: Likewise.
      	* c.opt: Likewise.
      	* c-opts.c: Likewise.
      	* c-pch.c: Likewise.
      	* c-ppoutput.c: Likewise.
      	* c-pragma.c: Likewise.
      	* c-pragma.h: Likewise.
      	* c-pretty-print.c: Likewise.
      	* c-pretty-print.h: Likewise.
      	* c-semantics.c: Likewise.
      	* stub-objc.c: Likewise.
      
      	* gengtype.c (get_file_langdir): Special-case files in c-family/.
      	(get_output_file_with_visibility): Fix name for c-common.h.
      	* c-config-lang.in: Update paths in gtfiles for files in c-family/.
      
      	* c-tree.h: Update include path for moved files.
      	* c-lang.c: Likewise.
      	* c-lang.h: Likewise.
      	* c-parser.c: Likewise.
      	* c-convert.c: Likewise.
      	* c-decl.c: Likewise.
      	* c-objc-common.c: Likewise.
      	* configure.ac: Make sure c-family/ exists in the build directory.
      	* configure: Regenerate.
      	* Makefile.in: Update paths for moved files.  Regroup files per
      	location and update dependencies.  Move generated_files down after
      	ALL_GTFILES_H.
      
      	* config/spu/spu-c.c: Update paths for moved files.
      	* config/mep/mep-pragma.c: Likewise.
      	* config/darwin-c.c: Likewise.
      	* config/i386/msformat-c.c: Likewise.
      	* config/i386/i386-c.c: Likewise.
      	* config/avr/avr-c.c: Likewise.
      	* config/sol2-c.c: Likewise.
      	* config/ia64/ia64-c.c: Likewise.
      	* config/rs6000/rs6000-c.c: Likewise.
      	* config/arm/arm.c: Likewise.
      	* config/arm/arm-c.c: Likewise.
      	* config/h8300/h8300.c: Likewise.
      	* config/v850/v850-c.c: Likewise.
      
      	* config/t-darwin: Fix dependencies for moved files.
      	* config/t-sol2: Fix dependencies for moved files.
      	* config/mep/t-mep: Fix dependencies for moved files.
      	* config/ia64/t-ia64: Fix dependencies for moved files.
      	* config/rs6000/t-rs6000: Fix dependencies for moved files.
      	* config/v850/t-v850: Fix dependencies for moved files.
      	* config/v850/t-v850e: Fix dependencies for moved files.
      
      	* config/m32c/m32c-pragma.c
      
      	* po/exgettext: Look in c-family/ also.
      
      c-family/ChangeLog:
      	* c-common.c: Include gt-c-family-c-common.h.
      	* c-pragma.c: Include gt-c-family-c-pragma.h.
      
      objc/ChangeLog:
      	* objc-act.c: Update include path for moved files.
      	* objc-lang.c: Likewise.
      	* config-lang.in: Update paths in gtfiles for files in c-family/.
      
      objcp/ChangeLog:
      	* objcp-lang.c: Update include path for moved files.
      	* config-lang.in: Update paths in gtfiles for files in c-family/.
      
      cp/ChangeLog:
      	* typeck.c: Update include path for moved files.
      	* decl.c: Likewise.
      	* rtti.c: Likewise.
      	* cp-gimplify.c: Likewise.
      	* cp-lang.c: Likewise.
      	* pt.c: Likewise.
      	* semantics.c: Likewise.
      	* cxx-pretty-print.h: Likewise.
      	* decl2.c: Likewise.
      	* parser.c: Likewise.
      	* cp-objcp-common.c: Likewise.
      	* cp-tree.h: Likewise.
      	* name-lookup.c: Likewise.
      	* lex.c: Likewise.
      	* name-lookup.h: Likewise.
      	* config-lang.in: Update paths in gtfiles for files in c-family/.
      	* Make-lang.in: Likewise.
      
      From-SVN: r160330
      Steven Bosscher committed
  18. 25 May, 2010 1 commit
    • Makefile.in (EXCEPT_H): Fix typo. · 245763e3
      gcc/ChangeLog:
      	* Makefile.in (EXCEPT_H): Fix typo.
      
      objc/ChangeLog:
      	* objc-act.h: Do not include gimple.h.
      	* objc-act.c: Do not include rtl.h, expr.h, libfuncs.h, and tm_p.h.
      	Include gimple.h.  Explain why except.h has to be included.
      	* objc-lang.c: Do not include diagnostics.h.
      	* Make-lang.in: Update dependencies.
      
      objcp/ChangeLog:
      	* objcp-decl.c: Do not include tm.h, rtl.h, expr.h, c-common.h,
      	flags.h, input.h, except.h, output.h, toplev.h, cpplib.h, debug.h,
      	and target.h.
      	* objcp-lang.c: Do not include tm.h, toplev.h, diagnostics.h,
      	and debug.h.  Explain why except.h has to be included.
      	* Make-lang.in: Update dependencies.
      
      cp/ChangeLog:
      	* cp-tree.h: Do not include splay-tree.h.
      	(struct prtmem_cst): Remove unused field and false comment.
      	* typeck.c: Do not include rtl.h, expr.h, and tm_p.h.
      	* optimize.c: Do not inclde rtl.h, insn-config.h, and integrate.h.
      	* init.c: Do not include rtl.h and expr.h.
      	* class.c: Do not include rtl.h.  Include splay-tree.h.
      	(build_clone): Use plain NULL instead of NULL_RTX.
      	* decl.c: Do not include expr.h.  Explain why rtl.h has to be
      	included.  Include splay-tree.h.
      	* method.c: Do not include rtl.h and expr.h.
      	(use_thunk): Use plain NULL instead of NULL_RTX.
      	* except.c: Do not include rtl.h, expr.h, and libfuncs.h.
      	* tree.c: Do not include rtl.h, insn-config.h, integrate.h,
      	and target.h.  Include splay-tree.h.
      	* expr.c: Do not include rtl.h and expr.h.
      	* pt.c: Do not include obstack.h and rtl.h.
      	(tsubst_friend_function): Use plain NULL instead of NULL_RTX.
      	(tsubst_decl): Likewise.
      	(instantiate_decl): Likewise.
      	* semantics.c: Do not include exprt.h and debug.h.  Explain why
      	rtl.h has to be included.
      	* decl2.c: Do not include rtl.h and expr.h.  Include splay-tree.h.
      	* call.c: Do not include rtl.h and expr.h.
      	* search.c: Do not include obstack.h and rtl.h.
      	* friend.c: Do not include rtl.h and expr.h.
      	* Make-lang.in: Update dependencies.
      
      From-SVN: r159839
      Steven Bosscher committed
  19. 30 Apr, 2010 1 commit
    • toplev.c: Include varray.h for statistics dumping. · 9aae8d16
      gcc/ChangeLog:
      	* toplev.c: Include varray.h for statistics dumping.
      	* tree.h: Do not declare varray_head_tag.
      	* tree-into-ssa.c, tree-ssa-uninit.c, tree-phinodes.c, omega.c,
      	regs.h, lto-cgraph.c, tree-ssa-loop-ivopts.c, tree-nomudflap.c,
      	c-objc-common.c, lto-streamer-out.c, tree-ssa-propagate.c,
      	gimple-low.c, c-semantics.c, dwarf2out.c, lto-streamer-in.c,
      	lto-section-in.c, alias.c, tree-if-conv.c, gimplify.c, ggc-zone.c,
      	tree-ssa.c, tree-ssa-loop-prefetch.c, integrate.h, c-gimplify.c,
      	c-common.c, c-common.h, reg-stack.c, basic-block.h,
      	tree-ssa-structalias.c, lto-section-out.c, tree-ssanames.c: Do not
      	include varray.h.
      	* Makefile.in: Update for abovementioned changes.
      
      objc/ChangeLog:
      	* objc-act.c: Do not include varray.h.
      
      objcp/ChangeLog:
      	* objcp-decl.c: Do not include varray.h.
      
      cp/ChangeLog:
      	* optimize.c, parser.c,mangle.c, cp-tree.h: DO not include varray.h.
      	* Make-lang.in: Don't include varray.h dependency in CXX_TREE_H.
      
      From-SVN: r158933
      Steven Bosscher committed
  20. 02 Apr, 2010 1 commit
    • Make-lang.in, [...]: Update copyright years. · c75c517d
      	* ada/gcc-interface/Make-lang.in, alias.c, attribs.c, auto-inc-dec.c, 
      	basic-block.h, bb-reorder.c, calls.c, c-common.c, cgraph.h,
      	collect2.h, config/alpha/alpha.c, config/alpha/alpha.md,
      	config/alpha/predicates.md, config/arm/arm.md,
      	config/arm/lib1funcs.asm, config/arm/neon-schedgen.ml,
      	config/avr/avr.c, config/avr/avr.md, config/bfin/bfin.c,
      	config/darwin9.h, config/darwin.c, config/darwin.h,
      	config/h8300/h8300.c, config/i386/cpuid.h, config/i386/cygming.h,
      	config/i386/cygwin.h, config/i386/mingw32.h, config/i386/msformat-c.c,
      	config/i386/sol2-10.h, config/i386/xopintrin.h, config/ia64/ia64.c,
      	config/ia64/ia64.md, config/ia64/sync.md, config/mep/mep.c,
      	config/mips/mips.md, config/mn10300/mn10300.c,
      	config/mn10300/mn10300.h, config/pa/pa.c, config/pa/pa.md,
      	config/rs6000/aix.h, config/rs6000/dfp.md,
      	config/rs6000/rs6000-builtin.def, config/rs6000/rs6000-c.c,
      	config/rs6000/vector.md, config/rtems.h, config/rx/rx.md,
      	config/s390/s390.md, config/sol2-c.c, config/sparc/sol2-bi.h,
      	config/sparc/sol2-gas.h, config/sparc/sparc.h, config/sparc/sparc.md,
      	config/sparc/sparc-protos.h, config/spu/spu.c, config/spu/spu-c.c,
      	config/t-darwin, convert.c, c.opt, c-opts.c, cp/Make-lang.in,
      	c-pretty-print.c, c-typeck.c, df-core.c, df-scan.c, diagnostic.c,
      	diagnostic.h, doc/cppopts.texi, doc/cpp.texi, doc/extend.texi,
      	doc/gimple.texi, doc/languages.texi, doc/plugins.texi, doc/rtl.texi,
      	doc/standards.texi, doc/tree-ssa.texi, doc/trouble.texi, dominance.c,
      	fold-const.c, fortran/Make-lang.in, fwprop.c, gcc-plugin.h,
      	gensupport.c, gimple.h, gimple-iterator.c, graphite.c,
      	graphite-clast-to-gimple.c, graphite-clast-to-gimple.h,
      	graphite-dependences.c, graphite-poly.c, graphite-poly.h,
      	graphite-ppl.c, graphite-ppl.h, graphite-scop-detection.c,
      	graphite-sese-to-poly.c, graphite-sese-to-poly.h, ifcvt.c, intl.c,
      	intl.h, ipa.c, ipa-cp.c, ipa-inline.c, ipa-prop.c, ipa-prop.h,
      	ipa-pure-const.c, ipa-reference.c, ipa-type-escape.c, ira-color.c,
      	ira-conflicts.c, ira-lives.c, java/Make-lang.in, lambda-code.c,
      	loop-invariant.c, lto/Make-lang.in, lto-streamer.h, lto-streamer-in.c,
      	objc/Make-lang.in, objcp/Make-lang.in, omp-low.c, optc-gen.awk,
      	opt-functions.awk, opth-gen.awk, params.def, passes.c,
      	postreload-gcse.c, print-tree.c, recog.c, regrename.c, reload.h,
      	rtl.def, sched-int.h, sched-rgn.c, sel-sched-dump.c, sese.c, sese.h,
      	store-motion.c, stor-layout.c, tree-cfgcleanup.c, tree-chrec.c,
      	tree-complex.c, tree-data-ref.c, tree.def, tree-eh.c, tree-flow.h,
      	tree-flow-inline.h, tree.h, tree-loop-distribution.c, tree-outof-ssa.c,
      	tree-parloops.c, tree-pass.h, tree-predcom.c, tree-profile.c,
      	tree-scalar-evolution.c, tree-ssa-address.c, tree-ssa-alias.c,
      	tree-ssa-coalesce.c, tree-ssa-copy.c, tree-ssa-dce.c, tree-ssa-dom.c,
      	tree-ssa-dse.c, tree-ssa-loop-im.c, tree-ssa-loop-ivcanon.c,
      	tree-ssa-loop-manip.c, tree-ssa-math-opts.c, tree-ssa-operands.c,
      	tree-ssa-pre.c, tree-ssa-sccvn.c, tree-ssa-structalias.c,
      	tree-ssa-uncprop.c, tree-tailcall.c, tree-vect-data-refs.c,
      	tree-vect-loop.c, tree-vectorizer.h, tree-vect-slp.c, tree-vrp.c,
      	unwind-dw2-fde-darwin.c, varpool.c: Update copyright years.
      
      From-SVN: r157950
      Steven Bosscher committed
  21. 04 Jan, 2010 1 commit
    • configure.ac: Add install-html to target_list for Make-hooks. · 55bcd32b
      	* configure.ac: Add install-html to target_list for Make-hooks.
      	* configure: Regenerate.
      	* fortran/Make-lang.in (F95_HTMLFILES): New.
      	(fortran.html): Use it.
      	(fortran.install-html): New.
      	* Makefile.in (install-html): Add lang.install-html.
      	* java/Make-lang.in (JAVA_HTMLFILES): New.
      	(java.html): Use it.
      	(java.install-html): New.
      	* objc/Make-lang.in (objc.install-html): New.
      	* objcp/Make-lang.in (obj-c++.install-html): New.
      	* cp/Make-lang.in (c++.install-html): New.
      	* ada/gcc-interface/Make-lang.in (ada.install-html): New.
      	* lto/Make-lang.in (lto.install-html): New.
      
      From-SVN: r155602
      Andrew Jenner committed
  22. 22 Sep, 2009 1 commit
  23. 03 Sep, 2009 1 commit
    • [multiple changes] · 4537ec0c
      2009-09-01  Diego Novillo  <dnovillo@google.com>
      
      	* c-lang.c (lang_hooks): Remove const qualifier.
      
      java/ChangeLog
      
      	* lang.c (lang_hooks): Remove const qualifier.
      
      objc/ChangeLog
      
      	* objc-lang.c (lang_hooks): Remove const qualifier.
      
      objcp/ChangeLog
      
      	* objcp-lang.c (lang_hooks): Remove const qualifier.
      
      ada/ChangeLog
      
      	* gcc-interface/misc.c (lang_hooks): Remove const qualifier.
      
      fortran/ChangeLog
      
      	* f95-lang.c (lang_hooks): Remove const qualifier.
      
      cp/ChangeLog
      
      	* cp-lang.c (lang_hooks): Remove const qualifier.
      
      2009-09-01  Diego Novillo  <dnovillo@google.com>
      
      	* cgraph.c (cgraph_node_for_decl): New.
      	* cgraph.h (cgraph_node_for_decl): Declare.
      	* tree.c (host_integerp): Return 0 if T is NULL.
      
      
      2009-09-01  Diego Novillo  <dnovillo@google.com>
      
      	* tree.h (struct alias_pair): Move from varasm.c.
      	(alias_pairs): Likewise.
      	(TYPE_MAXVAL): Define.
      	(TYPE_MINVAL): Define.
      	(iterative_hash_host_wide_int): Declare.
      	(remove_unreachable_alias_pairs): Declare.
      	* tree-pass.h (pass_ipa_free_lang_data): Declare.
      	* diagnostic.c (default_diagnostic_starter): Make extern.
      	(default_diagnostic_finalizer): Make extern.
      	* diagnostic.h (default_diagnostic_starter): Declare.
      	(default_diagnostic_finalizer): Declare.
      	(default_tree_printer): Declare.
      	* toplev.c (default_tree_printer): Make extern.
      
      
      2009-09-01  Richard Guenther  <rguenther@suse.de>
      	    Diego Novillo  <dnovillo@google.com>
      
      	* cgraph.c (cgraph_add_new_function): Remove gimplification.
      	* cgraphunit.c (cgraph_expand_function): Do not emit
      	associated thunks from here.
      	(cgraph_emit_thunks): New.
      	(cgraph_optimize): Call it.
      	Return if any IPA pass finds an error.
      	* varasm.c (finish_aliases_1): Ignore errorneous aliases used
      	by thunks.
      
      
      2009-09-01  Simon Baldwin  <simonb@google.com>
      	    Rafael Espindola  <espindola@google.com>
      	    Richard Guenther  <rguenther@suse.de>
      	    Doug Kwan  <dougkwan@google.com>
      	    Diego Novillo  <dnovillo@google.com>
      
      	* tree.c: Include tree-pass.h, langhooks-def.h,
      	diagnostic.h, cgraph.h, timevar.h, except.h and debug.h.
      	(free_lang_data_in_type): New.
      	(need_assembler_name_p): New.
      	(free_lang_data_in_block): New.
      	(free_lang_data_in_decl): New.
      	(struct free_lang_data_d): New.
      	(add_tree_to_fld_list): New.
      	(find_decls_types_r): New.
      	(get_eh_types_for_runtime): New.
      	(find_decls_types_in_eh_region): New.
      	(find_decls_types_in_node): New.
      	(find_decls_types_in_var): New.
      	(free_lang_data_in_cgraph): New.
      	(free_lang_data): New.
      	(gate_free_lang_data): New.
      	(pass_ipa_free_lang_data): New.
      
      2009-09-01  Diego Novillo  <dnovillo@google.com>
      
      	* timevar.def (TV_IPA_FREE_LANG_DATA): Define.
      	* langhooks.h (struct lang_hooks): Add field free_lang_data.
      	(lang_hooks): Remove const qualifier.
      	* ipa.c (cgraph_remove_unreachable_nodes): Call
      	remove_unreachable_alias_pairs.
      	* except.c (add_type_for_runtime): Check if TYPE has
      	already been converted.
      	(lookup_type_for_runtime): Likewise.
      	(check_handled): Handle converted types.
      	* varasm.c (remove_unreachable_alias_pairs): New.
      	* gimple.c: Include demangle.h.
      	(gimple_decl_printable_name): New.
      	(gimple_fold_obj_type_ref): New.
      	* gimple.h (gimple_decl_printable_name): Declare.
      	(gimple_fold_obj_type_ref): Declare.
      	* passes.c (init_optimization_passes): Add pass
      	pass_ipa_free_lang_data.
      	* langhooks-def.h (LANG_HOOKS_FREE_LANG_DATA): Define.
      	(LANG_HOOKS_INITIALIZER): Add LANG_HOOKS_FREE_LANG_DATA.
      
      testsuite/ChangeLog
      
      2009-09-01  Diego Novillo  <dnovillo@google.com>
      
      	* gcc.dg/gomp/combined-1.c: Adjust expected pattern.
      	* g++.dg/tree-prof/inline_mismatch_args.C: Likewise.
      	* g++.dg/warn/unit-1.C: Likewise.
      	* g++.dg/ipa/iinline-1.C: Likewise.
      	* g++.dg/template/cond2.C: Adjust expected line location for the
      	error.
      	* g++.dg/template/pr35240.C: Likewise.
      
      
      cp/ChangeLog
      
      2009-09-01  Doug Kwan  <dougkwan@google.com>
      
      	* tree.c (cp_fix_function_decl_p): New.
      	(cp_free_lang_data): New.
      
      2009-09-01  Diego Novillo  <dnovillo@google.com>
      
      	* Make-lang.in (decl2.o): Add dependency on $(POINTER_SET_H).
      	* decl2.c: Include pointer-set.h.
      	(collect_candidates_for_java_method_aliases): New.
      	(cp_write_global_declarations): Call it.
      	Add local variable CANDIDATES.  If set, call
      	build_java_method_aliases.
      	(build_java_method_aliases): Add argument CANDIDATES.
      	Use it to determine if FNDECL should get a hidden alias.
      	* cp-objcp-common.h (LANG_HOOKS_FREE_LANG_DATA): Define.
      	* cp-tree.h (cp_free_lang_data): Declare.
      
      2009-09-03  Richard Guenther  <rguenther@suse.de>
      
      	* method.c (use_thunk): Use cgraph_finalize_function to hand
      	off thunks to the cgraph.
      	* semantics.c (emit_associated_thunks): Do not emit thunks
      	for really extern functions.
      
      From-SVN: r151360
      Diego Novillo committed
  24. 14 Jul, 2009 1 commit
    • sourcebuild.texi: Document install-plugin target. · 2a4c0366
      2009-07-14  Taras Glek  <tglek@mozilla.com>
      	    Rafael Espindola  <espindola@google.com>
      
      	* doc/sourcebuild.texi: Document install-plugin target.
      	* configure.ac: Added install-plugin target to language makefiles.
      	* configure: Regenerate.
      	* Makefile.in: (install-plugin): Install more headers,
      	depend on lang.install-plugin.
      
      ada/ChangeLog
      
      	* gcc-interface/Make-lang.in (ada.install-plugin): New target for
      	installing plugin headers.
      
      cp/ChangeLog
      
      	* Make-lang.in: Added CP_PLUGIN_HEADERS and
      	c.install-target to export cp-tree.h cxx-pretty-print.h
      	name-lookup.h headers for plugins.
      
      fortran/ChangeLog
      
      	* Make-lang.in (fortran.install-plugin): New target for
      	installing plugin headers.
      
      java/ChangeLog
      
      	* Make-lang.in (java.install-plugin): New target for
      	installing plugin headers.
      
      objc/ChangeLog
      
      	* Make-lang.in (objc.install-plugin): New target for
      	installing plugin headers.
      
      objcp/ChangeLog
      
      	* Make-lang.in (obj-c.install-plugin): New target for
      	installing plugin headers.
      
      
      
      Co-Authored-By: Rafael Avila de Espindola <espindola@google.com>
      
      From-SVN: r149648
      Taras Glek committed
  25. 19 Jun, 2009 1 commit
    • dse.c (struct store_info): Rename bitmap field to bmap. · dc491a25
      ./:	* dse.c (struct store_info): Rename bitmap field to bmap.  Change
      	all uses.
      
      	* c-decl.c (in_struct, struct_types): Remove.
      	(struct c_binding): Add in_struct field.
      	(c_binding_ptr): Define type, along with VEC.
      	(struct c_struct_parse_info): Define.
      	(struct_parse_info): New static variable.
      	(bind): Initialize in_struct field.
      	(start_struct): Remove enclosing_in_struct and
      	enclosing_struct_types parameters.  Add
      	enclosing_struct_parse_info parameter.  Change all callers.  Set
      	struct_parse_info rather than in_struct and struct_types.
      	(grokfield): If -Wc++-compat and there is a symbol binding for the
      	field name, set the in_struct flag and push it on the
      	struct_parse_info->fields vector.
      	(warn_cxx_compat_finish_struct): New static function.
      	(finish_struct): Remove enclosing_in_struct and
      	enclosing_struct_types parameters.  Add
      	enclosing_struct_parse_info parameter.  Change all callers.  Don't
      	set C_TYPE_DEFINED_IN_STRUCT here.  Call
      	warn_cxx_compat_finish_struct.  Free struct_parse_info and set to
      	parameter.  Only push on struct_types if warn_cxx_compat.
      	(finish_enum): Only push on struct_types if warn_cxx_compat.
      	(declspecs_add_type): Add loc parameter.  Change all callers.
      	Change all error calls to error_at.  Pass loc, not input_location,
      	to pedwarn calls.  Warn if -Wc++-compat and a typedef name is
      	defined in a struct.  If -Wc++-compat and parsing a struct, record
      	that a typedef name was used.
      	* c-parser.c (c_parser_declspecs): Get location to pass to
      	declspecs_add_type.
      	(c_parser_struct_or_union_specifier): Update calls to start_struct
      	and finish_struct.
      	* c-tree.h (struct c_struct_parse_info): Declare.
      	(finish_struct, start_struct): Update declarations.
      	(declspecs_add_type): Update declaration.
      objc/:
      	* objc-act.c (objc_in_struct, objc_struct_types): Remove.
      	(objc_struct_info): New static variable.
      	(objc_start_struct): Pass &objc_struct_info, not &objc_in_struct
      	and &objc_struct_types, to start_struct.
      	(objc_finish_struct): Likewise for finish_struct.
      objcp/:
      	* objcp-decl.h (start_struct): Remove in_struct and struct_types
      	parameters.  Add struct_info parameter.
      	(finish_struct): Likewise.
      testsuite/:
      	* gcc.dg/Wcxx-compat-15.c: New testcase.
      
      From-SVN: r148709
      Ian Lance Taylor committed
  26. 13 Jun, 2009 1 commit
  27. 12 Jun, 2009 1 commit
    • java-gimplify.c (java_gimplify_block): New argument to build_empty_stmt. · c2255bc4
      gcc/java/
      	* java-gimplify.c (java_gimplify_block): New argument to
      	build_empty_stmt.
      	* expr.c (force_evaluation_order): Same.
      	* typeck.c: Add location to build_decl or PUSH_FIELD calls.
      	* class.c: Same.
      	* decl.c: Same.
      	* jcf-parse.c: Same.
      	* constants.c: Same.
      	* resource.c: Same.
      	* except.c: Same.
      	* builtins.c: Same.
      	* expr.c: Same.
      	* java-tree.h (PUSH_FIELD): Add location field.
      gcc/objc/
      	* objc-act.c (finish_var_decl): Pass location to finish_decl.
      	(objc_get_parm_info): Same.
      	(get_super_receiver): Same.
      	* objc-act.c (objc_build_component_ref): Pass location to
      	build_compound_ref.
      	(build_module_initializer_routine): Pass location to
      	c_end_compound_stmt.
      	(objc_generate_static_init_call): Pass location to build_stmt.
      	(build_typed_selector_reference): New location argument.
      	(build_selector_reference): Same.
      	(objc_substitute_decl): Pass location to build_array_ref.
      	(next_sjlj_build_try_catch_finally): Pass location to build_stmt.
      	(objc_begin_catch_clause): Same.
      	(objc_finish_try_stmt): Same.
      	(objc_finish_catch_clause): Pass location to c_end_compound_stmt.
      	(objc_build_throw_stmt): New argument.
      	(generate_shared_structures): Pass location to build_c_cast.
      	(objc_build_message_expr): Use local location.
      	(objc_finish_message_expr): Use input_location.
      	(build_objc_method_call): New argument.
      	(objc_build_selector_expr): Same.
      	(get_super_receiver): Pass location to build_c_cast,
      	build_modify_expr, build_compound_expr.
      	* objc-act.c: Add location to all calls to start_struct, build_decl,
      	finish_struct.
      gcc/
      	* tree-pretty-print.c (dump_generic_node): Dump column numbers.
      	* gimple-pretty-print.c (dump_gimple_stmt): Same.
      	* gimplify.c (gimplify_modify_expr): Set location for GIMPLE_ASSIGNs
      	created.
      	* c-parser.c (c_parser_binary_expression): Use current column while
      	building binary operations.
      	* common.opt (fshow-column): Enable by default.
      	* tree-vrp.c (check_array_ref): Use warning_at.
      	(check_array_bounds): Use location from call back if expr has no
      	location.
      	* tree.h: Add location argument to maybe_fold_*.
      	* tree-ssa-ccp.c (ccp_fold): Pass location to maybe_fold_*.
      	(maybe_fold_offset_to_array_ref): Add location argument and use it.
      	(maybe_fold_offset_to_component_ref): Same.
      	(maybe_fold_offset_to_reference): Same.
      	(maybe_fold_offset_to_address): Same.
      	(maybe_fold_stmt_indirect): Same.
      	(maybe_fold_stmt_addition): Same.
      	(fold_stmt_r): Pass location to maybe_fold_*.
      	(fold_gimple_assign): Same.
      	* c-tree.h: Add location argument to finish_decl,
      	default_function_array_conversion, store_init_value.
      	* c-decl.c (define_label): Use error_at.
      	(c_make_fname_decl): Pass location to finish_decl.
      	(finish_decl): New location argument.
      	(build_compound_literal): Pass location to store_init_value.
      	(grokdeclarator): Pass location to finish_decl.
      	(grokfield): Same.
      	* c-typeck.c (array_to_pointer_conversion): New location argument.
      	(function_to_pointer_conversion): Same.
      	(default_function_array_conversion): Same.
      	(parser_build_unary_op): Pass location to overflow_warning.
      	(parser_build_binary_op): Same.  Use warning_at.
      	(build_unary_op): Pass location to array_to_pointer_conversion.
      	(build_c_cast): Pass location to digest_init.
      	(build_modify_expr): New location argument.
      	(convert_for_assignment): Same.
      	(store_init_value): Same.
      	(digest_init): Same.
      	(output_init_element): Pass location to digest_init and
      	array_to_pointer_conversion.
      	(c_finish_return): Pass location to convert_for_assignment.
      	* gimplify.c (gimplify_conversion): Pass location to
      	maybe_fold_offset_to_address.
      	* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Pass location
      	to maybe_fold_stmt_addition.
      	* c-omp.c (c_finish_omp_atomic): Pass new location to
      	build_modify_expr.
      	(c_finish_omp_for): Same.
      	* c-common.c (overflow_warning): New argument.
      	* c-common.h: New argument to build_modify_expr, overflow_warning.
      	* c-parser.c (c_parser_declaration_or_fndef): Pass location to
      	finish_decl.
      	(c_parser_initializer): Pass location to
      	default_function_array_conversion.
      	(c_parser_initelt): Same.
      	(c_parser_initval): Same.
      	(c_parser_asm_operands): Same.
      	(c_parser_expr_no_commas): Same.  Pass location to build_modify_expr.
      	(c_parser_conditional_expression): Same.
      	(c_parser_binary_expression): Add location info to stack.  Use it.
      	(c_parser_unary_expression): Pass location to
      	default_function_array_conversion, parser_build_unary_op,
      	build_indirect_ref, c_parser_postfix_expression_after_primary.
      	(c_parser_postfix_expression_after_primary): New location argument.
      	Use it.
      	(c_parser_expression_conv): Pass location to
      	default_function_array_conversion.
      	(c_parser_expr_list): Same.
      	(c_parser_omp_atomic): Same.
      	(c_parser_omp_for_loop): Same.
      	* c-tree.h: (struct c_declarator): Add comment to id_loc.
      	(build_array_declarator): New argument.
      	* c-decl.c (build_array_declarator): Add location argument.
      	(grokdeclarator): Set id_loc for cdk_array.
      	* c-parser.c (c_parser_direct_declarator_inner): Pass location to
      	build_array_declarator.
      	* tree.c (build_omp_clause): Add location argument.
      	* tree.h (OMP_CLAUSE_HAS_LOCATION): New macro.
      	(OMP_CLAUSE_LOCATION): New macro.
      	(struct tree_omp_clause): Add location field.
      	(build_omp_clause): Add argument.
      	* testsuite/gcc.dg/gomp/for-1.c: Fix column.
      	* cp/pt.c (tsubst_omp_for_iterator): Pass location to
      	build_omp_clause.
      	* cp/parser.c (cp_parser_omp_var_list_no_open): Same.
      	(cp_parser_omp_clause_collapse): Same.
      	(cp_parser_omp_clause_default): Same.
      	(cp_parser_omp_clause_if): Same.
      	(cp_parser_omp_clause_nowait): Same.
      	(cp_parser_omp_clause_num_threads): Same.
      	(cp_parser_omp_clause_ordered): Same.
      	(cp_parser_omp_clause_schedule): Same.
      	(cp_parser_omp_clause_untied): Same.
      	(cp_parser_omp_for_loop): Same.
      	(cp_parser_omp_parallel): Pass location to c_split_parallel_clauses.
      	* c-tree.h (c_start_case): Add location argument.
      	(c_process_expr_stmt): Same.
      	(c_finish_goto_*): Same.
      	* tree-parloops.c (initialize_reductions): Pass location to
      	build_omp_clause.
      	(create_parallel_loop): Same.
      	* fortran/trans-openmp.c (gfc_trans_omp_variable_list): Same.
      	(gfc_trans_omp_reduction_list): Same.
      	(gfc_trans_omp_clauses): Same.
      	(gfc_trans_omp_do): Same.
      	* c-typeck.c (c_finish_goto_label): Same.
      	(c_finish_goto_ptr): New location argument.
      	(c_start_case): Same.
      	(emit_side_effect_warnings): Same.
      	(c_process_expr_stmt): Same.
      	(c_finish_stmt_expr): Same.
      	(c_finish_omp_clauses): Use error_at instead of error.
      	* gimplify.c (gimplify_adjust_omp_clauses_1): Pass location to
      	build_omp_clause.
      	* c-omp.c (c_split_parallel_clauses): New location argument.
      	* tree-nested.c (convert_nonlocal_reference_stmt): Pass location
      	to build_omp_clause.
      	(convert_local_reference_stmt): Same.
      	(convert_gimple_call): Same.
      	* c-common.h (c_split_parallel_clauses): New argument.
      	* c-parser.c (c_parser_statement_after_labels): Pass location to
      	c_finish_goto_label.
      	(c_parser_switch_statement): Pass location to c_start_case.
      	(c_parser_for_statement): Pass location to c_finish_expr_stmt,
      	and c_process_expr_stmt.
      	(c_parser_omp_variable_list): Add location argument.
      	(c_parser_omp_clause_collapse): Pass location to
      	build_omp_clause.
      	(c_parser_omp_clause_default): Same.
      	(c_parser_omp_clause_if): Same.
      	(c_parser_omp_clause_num_threads): Same.
      	(-c_parser_omp_clause_ordered): Same.
      	(c_parser_omp_clause_reduction): Pass location to
      	c_parser_omp_variable_list.
      	(c_parser_omp_clause_schedule): Pass location to build_omp_clause.
      	(c_parser_omp_clause_untied): Same.
      	(c_parser_omp_for_loop): Pass location to c_process_expr_stmt.
      	(c_parser_omp_parallel): Pass location to
      	c_split_parallel_clauses.
      	* c-tree.h (check_for_loop_decls, undeclared_variable,
      	build_component_ref, build_array_ref, build_external_ref,
      	c_expr_sizeof_expr, c_expr_sizeof_type, parser_build_unary_op,
      	build_conditional_expr, build_compound_expr, c_cast_expr,
      	build_c_cast, build_asm_expr, c_end_compound_stmt, c_finish_stmt_expr,
      	c_finish_return, c_finish_omp_parallel, c_finish_omp_task): New
      	argument.
      	* c-semantics.c (build_stmt): Same.
      	(build_case_label): Same.
      	* c-decl.c (c_finish_incomplete_decl): Pass location on down.
      	(undeclared_variable): New argument.
      	(make_label): Same.
      	(lookup_label): Pass location on down.
      	(define_label): Same.
      	(finish_decl): Same.
      	(build_compound_literal): Same.
      	(finish_struct): Same.
      	(finish_function): Do not set location here.
      	(check_for_loop_decls): New argument.
      	* tree.c (save_expr): Set location.
      	(build_empty_stmt): New argument.
      	* tree.h (build_empty_stmt): New argument to build_empty_stmt.
      	(CAN_HAVE_LOCATION_P): Make sure we have a non empty node.
      	* builtins.c (gimplify_va_arg_expr): Use locations.
      	(expand_builtin_sync_operation): Same.
      	* c-typeck.c (build_component_ref): New argument.
      	(build_array_ref): Same.
      	(build_external_ref): Same.
      	(c_expr_sizeof_expr): Same.
      	(c_expr_sizeof_type): Same.
      	(parser_build_unary_op): Same.
      	(build_conditional_expr): Same.
      	(build_compound_expr): Pass location on down.
      	(build_compound_expr): New argument.
      	(build_c_cast): Same.
      	(c_cast_expr): Same.
      	(build_asm_expr): Same.
      	(c_finish_return): Same.
      	(c_process_expr_stmt): Pass location on down.
      	(c_finish_stmt_expr): New argument.
      	(push_clenaup): Same.
      	(c_finish_omp_parallel): Same.
      	(c_finish_omp_task): Same.
      	* gimplify.c (gimplify_call_expr): Pass location on down.
      	* c-omp.c (c_finish_omp_master): New argument.
      	(c_finish_omp_critical): Same.
      	(c_finish_omp_ordered): Same.
      	(c_finish_omp_barrier): Same.
      	(-c_finish_omp_taskwait): Same.
      	(c_finish_omp_atomic): Same.
      	(c_finish_omp_flush): Same.
      	* tree-inline.c (copy_tree_body_r): Pass location on down.
      	(inline_forbidden_p): Remove use of input_location.
      	* c-gimplify.c (c_build_bind_expr): New argument.
      	* c-common.c (c_common_truthvalue_conversion): Pass location on down.
      	(c_sizeof_or_alignof_type): New argument.
      	(c_alignof_expr): Same.
      	(build_va_arg): Same.
      	(c_add_case_label): Same.
      	* c-common.h (c_sizeof_or_alignof_type, c_alignof_expr,
      	c_sizeof, c_alignof, build_va_arg, build_stmt, build_case_label,
      	c_build_bind_expr, objc_build_selector_expr, objc_build_throw_stmt,
      	c_finish_omp_master, c_finish_omp_critical, c_finish_omp_ordered,
      	c_finish_omp_barrier, c_finish_omp_atomic, c_finish_omp_flush,
      	c_finish_omp_taskwait, c_finish_omp_for, c_split_parallel_clauses):
      	New argument.
      	* stub-objc.c (objc_build_selector_expr): Same.
      	(objc_build_throw_stmt): Same.
      	* c-parser.c (c_parser_declaration_or_fndef): Pass location on down.
      	(c_parser_initelt): Same.
      	(c_parser_compound_statement): Same.
      	(c_parser_compound_statement_nostart): Same.
      	(c_parser_label): Same.
      	(c_parser_statement_after_labels): Same.
      	(c_parser_if_body): Same.
      	(c_parser_else_body): Same.
      	(c_parser_if_statement): Same.
      	(c_parser_switch_statement): Same.
      	(c_parser_while_statement): Same.
      	(c_parser_do_statement): Same.
      	(c_parser_for_statement): Same.
      	(c_parser_asm_statement): Same.
      	(c_parser_conditional_expression): Same.
      	(c_parser_binary_expression): Same.
      	(c_parser_cast_expression): Same.
      	(c_parser_unary_expression): Same.
      	(c_parser_sizeof_expression): Same.
      	(c_parser_alignof_expression): Same.
      	(c_parser_postfix_expression): Same.
      	(c_parser_expression): Same.
      	(c_parser_objc_receiver): Same.
      	(c_parser_omp_variable_list): Same.
      	(c_parser_omp_structured_block): Same.
      	(c_parser_omp_atomic): New argument.
      	(c_parser_omp_barrier): Same.
      	(c_parser_omp_critical): Same.
      	(c_parser_omp_flush): Pass location on down.
      	(c_parser_omp_for_loop): New argument.
      	(c_parser_omp_for): Same.
      	(c_parser_omp_master): Same.
      	(c_parser_omp_ordered): Same.
      	(c_parser_omp_sections_scope): Same.
      	(c_parser_omp_sections): Same.
      	(c_parser_omp_parallel): Same.
      	(c_parser_omp_single): Same.
      	(c_parser_omp_task): Same.
      	(c_parser_omp_taskwait): Pass location on down.
      	(c_parser_omp_construct): Same.
      	(c_parser_omp_threadprivate): Same.
      	* dwarf2asm.c, targhooks.c, optabs.c, tree.c, tree.h, target.h,
      	builtins.c, omp-low.c, cgraphunit.c, tree-call-cdce.c,
      	tree-ssa-alias.c, gimple-low.c, c-tree.h, expr.c, tree-parloops.c,
      	c-decl.c, tree-eh.c, langhooks.c, function.c, stor-layout.c,
      	c-typeck.c, gimplify.c, c-pragma.c, expmed.c, except.c, coverage.c,
      	emit-rtl.c, cfgexpand.c, tree-mudflap.c, varasm.c, tree-nested.c,
      	rtl.h, tree-inline.c, tree-profile.c, c-common.c, c-common.h,
      	tree-switch-conversion.c, tree-cfg.c, ipa-struct-reorg.c, c-parser.c,
      	config/i386/i386.c, stmt.c:
      	Add location argument to the following function definitions and/or
      	function calls: build_decl, objcp_start_struct, objcp_finish_struct,
      	start_struct, finish_struct, PUSH_FIELD, create_artificial_label,
      	cp_make_fname_decl, pushtag, implicitly_declare, c_make_fname_decl,
      	build_compound_literal, parser_xref_tag, resolve_overloaded_builtin,
      	do_case, c_finish_bc_stmt, build_compound_literal,
      	build_function_call.
      	* c-decl.c (build_compound_literal): Add location argument.
      	Make all diagnostic calls use location.
      	(start_struct): Same.
      	(finish_struct): Same.
      	(start_enum): Same.
      	(build_enumerator): Same.
      	(start_function): Same.
      	(grokdeclarator): Make all diagnostic calls use location.
      	(store_parm_decls_oldstyle): Same.
      	* c-typeck.c (build_function_call): Add location argument.
      	Make all diagnostic calls use location.
      	(do_case): Same.
      	(c_finish_bc_stmt): Same.
      	* tree-nested.c (get_trampoline_type): Add argument.
      	Pass location to build_decl.
      	(lookup_tramp_for_decl): Pass location to get_trampoline_type.
      	* rtl.h (RTL_LOCATION): New.
      	* c-common.c (c_add_case_label): Add location argument.
      	Make all diagnostic calls use location.
      	* c-common.h: Add location argument to make_fname_decl, do_case,
      	c_add_case_label, build_function_call, resolve_overloaded_builtin.
      	* c-parser.c (c_parser_enum_specifier): Rename ident_loc to enum_loc.
      	Set it appropriately for every case.  Pass enum_loc to start_enum
      	call.  Pass value_loc first to build_enumerator.  Pass enum_loc to
      	parser_xref_tag.
      	(c_parser_struct_or_union_specifier): Save location.  Use it for
      	start_struct, finish_struct, and parser_xref_tag.
      gcc/testsuite/
      	* gcc.dg/old-style-prom-3.c: Add column info.
      	* gcc.dg/overflow-warn-1.c
      	* gcc.dg/gomp/pr27415.c
      	* gcc.dg/gomp/for-1.c: Same.
      	* gcc.dg/enum-compat-1.c: Same.
      	* gcc.dg/c99-tag-3.c: Same.
      	* gcc.dg/Wredundant-decls-2.c: Same.
      	* gcc.dg/func-ptr-conv-1.c: Same.
      	* gcc.dg/asm-wide-1.c: Same.
      	* gcc.dg/nofixed-point-2.c: Same.
      	* gcc.dg/cpp/line3.c: Same.
      	* gcc.dg/array-10.c: Same.
      	* gcc.dg/c99-vla-jump-1.c: Same.
      	* gcc.dg/pr20368-1.c: Same.
      	* gcc.dg/Wshadow-3.c: Same.
      	* gcc.dg/c90-const-expr-8.c: Same.
      	* gcc.dg/label-decl-2.c: Same.
      	* gcc.dg/dremf-type-compat-2.c: Same.
      	* gcc.dg/c90-const-expr-5.c: Same.
      	* gcc.dg/builtins-30.c: Same.
      	* gcc.dg/Warray-bounds.c: Same.
      	* gcc.dg/Wcxx-compat-2.c: Same.
      	* gcc.dg/tree-ssa/col-1.c: Same.
      	* gcc.dg/old-style-prom-2.c: Same.
      	* gcc.dg/cast-function-1.c: Same.
      	* gcc.dg/pr15698-1.c: Same.
      	* gcc.dg/dremf-type-compat-3.c: Same.
      	* gcc.dg/vla-8.c: Same.
      	* gcc.dg/gomp/pr27415.c: Move firstprivate diagnostics to correct
      	line.
      	* gcc.dg/label-decl-2.c: Move label diagnostic to correct line.
      	* gcc.dg/old-style-prom-3.c: Check for error on the correct line.
      	* gcc.dg/enum-compat-1.c: Same.
      	* gcc.dg/dremf-type-compat-2.c: Same.
      	* gcc.dg/old-style-prom-2.c: Same.
      	* gcc.dg/pr15698-1.c: Same.
      	* gcc.dg/pr20368-1.c: Same.
      	* gcc.dg/dremf-type-compat-3.c: Same.
      	* gcc.dg/builtins-30.c: Same.  Test for columns.
      gcc/objcp/
      	* objcp-decl.h (c_end_compound_stmt): New argument.
      	* objcp-decl.c (objcp_start_struct): Add argument.
      	(objcp_finish_struct): Same.
      gcc/cp/
      	* typeck.c (cp_build_binary_op): Pass location to overflow_warning.
      	(build_modify_expr): New arg.
      	* semantics.c (finish_unary_op_expr): Pass location to
      	overflow_warning.
      	(handle_omp_for_class_iterator): Pass location to build_modify_expr.
      	* typeck.c (cxx_sizeof_or_alignof_type): Pass location to
      	c_sizeof_or_alignof_type.
      	(build_array_ref): New argument.
      	(build_compound_expr): Same.
      	(build_const_cast): Same.
      	(build_ptrmemfunc): Pass location to build_c_cast.
      	* init.c (avoid_placement_new_aliasing): Pass location to
      	build_stmt.
      	(build_vec_delete_1): Pass location to cp_build_modify_expr,
      	build_compound_expr.
      	* class.c (build_vtbl_ref_1): Pass location to build_array_ref.
      	* decl.c (poplevel): Pass location to c_build_bind_expr.
      	(finish_case_label): Pass location to build_case_label.
      	(finish_constructor_body): Same.
      	(finish_destructor_body): Pass location to build_stmt.
      	(cxx_maybe_build_cleanup): Same, but to build_compound_expr.
      	* call.c (build_new_op): Pass location to build_array_ref.
      	(build_x_va_arg): Pass location to build_va_arg.
      	* except.c (expand_end_catch_block): Pass location to
      	build_stmt.
      	* cp-tree.h (build_array_ref): New argument.
      	(build_compound_expr): Same.
      	(build_c_cast): Same.
      	* cp-gimplify.c (gimplify_if_stmt): Pass location on down.
      	(gimplify_switch_stmt): Same.
      	* typeck2.c (split_nonconstant_init_1): Same.
      	* pt.c (tsubst_copy): Same.
      	* semantics.c (add_decl_expr): Same.
      	(do_poplevel): Same.
      	(push_cleanup): Same.
      	(finish_goto_stmt): Same.
      	(finish_expr_stmt): Same.
      	(begin_if_stmt): Same.
      	(begin_while_stmt): Same.
      	(begin_do_stmt): Same.
      	(finish_return_stmt): Same.
      	(begin_for_stmt): Same.
      	(finish_break_stmt): Same.
      	(finish_continue_stmt): Same.
      	(begin_switch_stmt): Same.
      	(begin_try_block): Same.
      	(begin_handler): Same.
      	(finish_asm_stmt): Same.
      	(finish_label_stmt): Same.
      	(finish_stmt_expr_expr): Same.
      	(finalize_nrv_r): Same.
      	(finish_omp_atomic): Same.
      	* name-lookup.c (do_using_directive): Same.
      	* decl2.c (grok_array_decl): Same.
      	* parser.c (cp_parser_cast_expression): Same.
      	(cp_parser_selection_statement): Same.
      	(cp_parser_implicitly_scoped_statement): Same.
      	(cp_parser_objc_selector_expression): Same.
      	(cp_parser_objc_synchronized_statement): Same.
      	(cp_parser_objc_throw_statement): Same.
      	(cp_parser_omp_critical): Same.
      	(cp_parser_omp_master): Same.
      	* typeck.c (build_function_call): Add location argument.
      	* init.c: Add location argument to all build_decl calls.
      	* class.c: Same.
      	* method.c: Same.
      	* rtti.c: Same.
      	* tree.c: Same.
      	* pt.c: Same.
      	* semantics.c: Same.
      	* lex.c: Same.
      	* decl2.c: Same.
      	* cp-gimplify.c: Same.
      	* decl.c: Same.
      	(cp_make_fname_decl): Add location argument.  Pass location ot
      	build_decl.
      	(finish_case_label): Same.
      	* cp-tree.h (finish_case_label): Add location argument.
      	* parser.c (cp_parser_label_for_labeled_statement): Pass location to
      	finish_case_label.
      gcc/fortran/
      	* trans-array.c (gfc_trans_allocate_array_storage): Pass
      	location on down.
      	(gfc_trans_array_constructor_value): Same.
      	(gfc_trans_scalarized_loop_end): Same.
      	(gfc_conv_ss_startstride): Same.
      	(gfc_trans_g77_array): Same.
      	(gfc_trans_dummy_array_bias): Same.
      	(gfc_conv_array_parameter): Same.
      	(structure_alloc_comps): Same.
      	* trans-expr.c (gfc_conv_function_call): Same.
      	(fill_with_spaces): Same.
      	(gfc_trans_string_copy): Same.
      	(gfc_trans_scalar_assign): Same.
      	* trans-stmt.c (gfc_trans_goto): Same.
      	(gfc_trans_if_1): Same.
      	(gfc_trans_simple_do): Same.
      	(gfc_trans_do): Same.
      	(gfc_trans_do_while): Same.
      	(gfc_trans_logical_select): Same.
      	(gfc_trans_select): Same.
      	(gfc_trans_forall_loop): Same.
      	(gfc_trans_nested_forall_loop): Same.
      	(generate_loop_for_temp_to_lhs): Same.
      	(generate_loop_for_rhs_to_temp): Same.
      	(gfc_trans_forall_1): Same.
      	(gfc_trans_where_assign): Same.
      	(gfc_trans_where_3): Same.
      	(gfc_trans_allocate): Same.
      	* trans.c (gfc_finish_block): Same.
      	(gfc_trans_runtime_check): Same.
      	(gfc_call_malloc): Same.
      	(gfc_allocate_with_status): Same.
      	(gfc_call_free): Same.
      	(gfc_deallocate_with_status): Same.
      	(gfc_call_realloc): Same.
      	(gfc_trans_code): Same.
      	* trans-decl.c (gfc_init_default_dt): Same.
      	(gfc_generate_constructors): Same.
      	* trans-io.c (gfc_trans_io_runtime_check): Same.
      	* trans-intrinsic.c (gfc_conv_intrinsic_ctime): Same.
      	(gfc_conv_intrinsic_fdate): Same.
      	(gfc_conv_intrinsic_ttynam): Same.
      	(gfc_conv_intrinsic_minmax): Same.
      	(gfc_conv_intrinsic_minmax_char): Same.
      	(gfc_conv_intrinsic_anyall): Same.
      	(gfc_conv_intrinsic_count): Same.
      	(gfc_conv_intrinsic_arith): Same.
      	(gfc_conv_intrinsic_minmaxloc): Same.
      	(gfc_conv_intrinsic_minmaxval): Same.
      	(gfc_conv_intrinsic_rrspacing): Same.
      	(gfc_conv_intrinsic_array_transfer): Same.
      	(gfc_conv_intrinsic_trim): Same.
      	(gfc_conv_intrinsic_repeat): Same.
      
      From-SVN: r148442
      Aldy Hernandez committed
  28. 03 Jun, 2009 1 commit
    • ansidecl.h (EXPORTED_CONST): Define. · 6bc7bc14
      include/:
      	* ansidecl.h (EXPORTED_CONST): Define.
      gcc/:
      	* dummy-checksum.c (executable_checksum): Use EXPORTED_CONST.
      	* genattrtab.c (write_length_unit_log): Likewise.
      	* genchecksum.c (dosum): Likewise.
      	* gengtype.c (write_rtx_next): Likewise.
      	(finish_root_table, write_roots): Likewise.
      	* gimple.c (gimple_ops_offset_): Likewise.
      	* tree-nomudflap.c (gt_ggc_r_gt_tree_mudflap_h): Likewise.
      	* config/arc/arc.c (arc_attribute_table): Likewise.
      	* config/arm/arm.c (arm_attribute_table): Likewise.
      	* config/avr/avr.c (avr_attribute_table): Likewise.
      	* config/crx/crx.c (crx_attribute_table): Likewise.
      	* config/m32r/m32r.c (m32r_attribute_table): Likewise.
      	* config/m68hc11/m68hc11.c (m68hc11_attribute_table): Likewise.
      	* config/mcore/mcore.c (mcore_attribute_table): Likewise.
      	* config/rs6000/rs6000.c (rs6000_attribute_table): Likewise.
      	* config/sh/sh.c (sh_attribute_table): Likewise.
      	* config/sparc/sparc.c (sparc_attribute_table): Likewise.
      	* config/spu/spu.c (spu_attribute_table): Likewise.
      	* config/v850/v850.c (v850_attribute_table): Likewise.
      
      	* config/alpha/alpha.c (vms_attribute_table): Make static.
      	* config/bfin/bfin.c (bfin_attribute_table): Likewise.
      	* config/h8300/h8300.c (h8300_attribute_table): Likewise.
      	* config/mips/mips.c (mips_attribute_table): Likewise.
      
      	* Makefile.in (dummy-checksum.o): Depend upon $(CONFIG_H) and
      	$(SYSTEM_H).
      	(cc1-checksum.o): Likewise.
      gcc/cp/:
      	* Make-lang.in (cc1plus-checksum.o): Depend upon $(CONFIG_H) and
      	$(SYSTEM_H).
      gcc/objc/:
      	* Make-lang.in (cc1obj-checksum.o): Depend upon $(CONFIG_H) and
      	$(SYSTEM_H).
      gcc/objcp/:
      	* Make-lang.in (cc1objplus-checksum.o): Depend upon $(CONFIG_H)
      	and $(SYSTEM_H).
      
      From-SVN: r148146
      Ian Lance Taylor committed
  29. 27 May, 2009 1 commit
    • Makefile.in (LINKER, [...]): Define. · c607156f
      ./:	* Makefile.in (LINKER, LINKER_FLAGS): Define.
      	(LINKER_FOR_BUILD, BUILD_LINKERFLAGS): Define.
      	(ALL_LINKERFLAGS): Define.
      	(xgcc$(exeext)): Change $(COMPILER) to $(LINKER).
      	(cpp$(exeext), cc1-dummy$(exeext), cc1$(exeext)): Likewise.
      	(collect2$(exeext), mips-tfile, mips-tdump): Likewise.
      	(gcov$(exeext), gcov-dump$(exeext)): Likewise.
      	(build/gen%$(build_exeext)): Change $(COMPILER_FOR_BUILD) to
      	$(LINKER_FOR_BUILD).
      	(build/gcov-iov$(build_exeext)): Likewise.
      cp/:
      	* Make-lang.in (g++$(exeext)): Change $(COMPILER) to $(LINKER).
      	(cc1plus-dummy$(exeext), cc1plus$(exeext)): Likewise.
      fortran/:
      	* Make-lang.in (gfortran$(exeext)): Change $(COMPILER) to
      	$(LINKER).
      	(f951$(exeext)): Likewise.
      java/:
      	* Make-lang.in ($(XGCJ)$(exeext)): Change $(COMPILER) to
      	$(LINKER).
      	(jc1$(exeext), jcf-dump$(exeext), jvgenmain$(exeext)): Likewise.
      objc/:
      	* Make-lang.in (cc1obj-dummy$(exeext)): Change $(COMPILER) to
      	$(LINKER).
      	(cc1obj$(exeext)): Likewise.
      objcp/:
      	* Make-lang.in (cc1objplus-dummy$(exeext)): Change $(COMPILER) to
      	$(LINKER).
      	(cc1objplus$(exeext)): Likewise.
      
      From-SVN: r147927
      Ian Lance Taylor committed
  30. 26 May, 2009 1 commit
    • Makefile.in (COMPILER, [...]): Define. · 7980bfb8
      ./:	* Makefile.in (COMPILER, COMPILER_FLAGS): Define.
      	(COMPILER_FOR_BUILD, BUILD_COMPILERFLAGS): Define.
      	(ALL_COMPILERFLAGS): Define.
      	(.c.o, xgcc$(exeext), cpp$(exeext)): Use $(COMPILER).
      	(cc1-dummy$(exeext), cc1$(exeext)): Likewise.
      	(collect2$(exeext), collect2.o): Likewise.
      	(c-opts.o, c-cppbuiltin.o, c-pch.o, gcc.o, gccspec.o): Likewise.
      	(gcc-options.o, version.o, prefix.o, toplev.o): Likewise.
      	($(out_object_file), mips-tfile, mips-tdump): Likewise.
      	(libbackend.o, intl.o, cppdefault.o): Likewise.
      	(gcov$(exeext), gcov-dump$(exeext)): Likewise.
      	(build/%.o): Use $(COMPILER_FOR_BUILD).
      	(build/gen%$(build_exeext)): Likewise.
      	(build/gcov-iov$(build_exeext)): LIkewise.
      	* config/t-darwin (darwin.o): Use $(COMPILER).
      	(darwin-c.o, darwin-f.o, darwin-driver.o): Likewise.
      	* config/t-sol2 (sol2-c.o): Likewise.
      	(sol2.o): Likewise.
      	* config/t-vxworks (vxworks.o): Likewise.
      	* config/x-darwin (host-darwin.o): Likewise.
      	* config/x-hpux (host-hpux.o): Likewise.
      	* config/x-linux (host-linux.o): Likewise.
      	* config/x-solaris (host-solaris.o): Likewise.
      	* config/alpha/x-alpha (driver-alpha.o): Likewise.
      	* config/arm/t-arm (arm-c.o): Likewise.
      	* config/arm/t-pe (pe.o): Likewise.
      	* config/arm/t-wince-pe (pe.o): Likewise.
      	* config/i386/t-cygming (winnt.o): Likewise.
      	(winnt-cxx.o, winnt-stubs.o, msformat-c.o): Likewise.
      	* config/i386/t-cygwin (cygwin1.o): Likewise.
      	(cygwin2.o): Likewise.
      	* config/i386/t-i386 (i386-c.o): Likewise.
      	* config/i386/t-interix (winnt.o): Likewise.
      	* config/i386/t-netware (netware.o): Likewise.
      	* config/i386/t-nwld (nwld.o): Likewise.
      	* config/i386/x-darwin (host-i386-darwin.o): Likewise.
      	* config/i386/x-i386 (driver-i386.o): Likewise.
      	* config/i386/x-cygwin (host-cygwin.o): Likewise.
      	* config/i386/x-mingw32 (host-mingw32.o): Likewise.
      	* config/ia64/t-ia64 (ia64-c.o): Likewise.
      	* config/m32c/t-m32c (m32c-pragma.o): Likewise.
      	* config/mips/x-native (driver-native.o): Likewise.
      	* config/rs6000/t-rs6000 (rs6000-c.o): Likewise.
      	* config/rs6000/x-darwin (host-ppc-darwin.o): Likewise.
      	* config/rs6000/x-darwin64 (host-ppc64-darwin.o): Likewise.
      	* config/rs6000/x-rs6000 (driver-rs6000.o): Likewise.
      	* config/score/t-score-elf (score7.o): Likewise.
      	(score3.o): Likewise.
      	* config/sh/t-sh (sh-c.o): Likewise.
      	* config/sh/t-symbian (sh-c.o): Likewise.
      	(symbian.o): Likewise.
      	* config/spu/t-spu-elf (spu-c.o): Likewise.
      	* config/v850/t-v850 (v850-c.o): Likewise.
      	* config/v850/t-v850e (v850-c.o): Likewise.
      ada/:
      	* gcc-interface/Makefile.in (COMPILER): Define.
      	(COMPILER_FLAGS, ALL_COMPILERFLAGS): Define.
      	(.c.o, cio.o, init.o, initialize.o, targext.o): Use $(COMPILER).
      	(seh_init.o, tracebak.o): Likewise.
      	* gcc-interface/Make-lang.in (ada/targext.o): Likewise.
      	(ada/cio.o, ada/init.o, ada/initialize.o, ada/raise.o): Likewise.
      	(ada/tracebak.o, ada/cuintp.o, ada/decl.o, ada/misc.o): Likewise.
      	(ada/targtyps.o, ada/trans.o, ada/utils.o): Likewise.
      	(ada/utils2.o): Likewise.
      cp/:
      	* Make-lang.in (g++spec.o): Use $(COMPILER).
      	(g++$(exeext), cc1plus-dummy$(exeext)): Likewise.
      	(cc1plus$(exeext)): Likewise.
      fortran/:
      	* Make-lang.in (gfortranspec.o): Use $(COMPILER).
      	(gfortran$(exeext), f951$(exeext), fortran/cpp.o): Likewise.
      java/:
      	* Make-lang.in (jvspec.o): Use $(COMPILER).
      	($(XGCJ)$(exeext), jc1$(exeext), jcf-dump$(exeext)): Likewise.
      	(jvgenmain$(exeext), java/jcf-io.o, java/jcf-path.o): Likewise.
      objc/:
      	* Make-lang.in (cc1obj-dummy$(exeext)): Use $(COMPILER).
      	(cc1obj$(exeext)): Likewise.
      objcp/:
      	* Make-lang.in (cc1objplus-dummy$(exeext)): Use $(COMPILER).
      	(cc1objplus$(exeext), objcp/objcp-act.o): Likwise.
      
      From-SVN: r147873
      Ian Lance Taylor committed
  31. 11 May, 2009 1 commit
    • basic-block.h (enum profile_status): Break out of struct control_flow_graph. · 24b97832
      ./:	* basic-block.h (enum profile_status): Break out of struct
      	control_flow_graph.
      	* cgraph.h (struct inline_summary): Break out of struct
      	cgraph_local_info.
      	* cgraphunit.c (enum cgraph_order_sort_kind): New enum, broken out
      	of struct cgraph_order_sort.
      	* combine.c (enum undo_kind): New enum, broken out of struct
      	undo.
      	* cse.c (struct branch_path): Break out of struct
      	cse_basic_block_data.
      	* except.h (enum eh_region_type): Break out of struct eh_region.
      	* gcc.c (enum add_del): Break out of struct modify_target.
      	* genrecog.c (enum decision_type): Break out of struct
      	decision_test.
      	* ggc-page.c (struct ggc_pch_ondisk): Break out of struct
      	ggc_pch_data.
      	* matrix-reorg.c (struct free_info): Break out of struct
      	matrix_info.
      	* regmove.c (enum match_use): New enum, broken out of struct
      	match.
      	* sched-int.h (enum post_call_group): New enum, broken out of
      	struct deps.
      	(struct deps_reg): Break out of struct deps.
      	* target.h (struct asm_int_op): Break out of struct gcc_target.
      	* tree-eh.c (struct goto_queue_node): Break out of struct
      	leh_tf_state.
      	* tree-inline.h (enum copy_body_cge_which): Break out of
      	copy_body_data.
      	* tree-pass.h (enum opt_pass_type): Break out of struct opt_pass.
      
      	* c-decl.c (in_struct, struct_types): New static variables.
      	(pushtag): Add loc parameter.  Change all callers.
      	(lookup_tag): Add ploc parameter.  Change all callers.
      	(check_compound_literal_type): New function.
      	(parser_xref_tag): Add loc parameter.  Change all callers.  If
      	-Wc++-compat, warn about struct/union/enum types defined within a
      	struct or union.
      	(start_struct): Add enclosing_in_struct, enclosing_struct_types,
      	and loc parameters.  Change all callers.  Change error calls to
      	error_at, using loc.  For a redefinition, if the location of the
      	original definition is known, report it.  Set in_struct and
      	struct_types.  If -Wc++-compat warn if in sizeof, typeof, or
      	alignof.
      	(finish_struct): Add new parameters enclosing_in_struct and
      	enclosing_struct_types.  Change all callers.  Set
      	C_TYPE_DEFINED_IN_STRUCT for all struct/union/enum types defined
      	in the struct.  If in a struct, add this struct to struct_types.
      	(start_enum): Add loc parameter.  Change all callers.  Use
      	error_at for errors, using loc.  For a redefinition, if the
      	location of the original definition is known, report it.  If in a
      	struct, add this enum type to struct_types.  If -Wc++-compat warn
      	if in sizeof, typeof, or alignof.
      	* c-parser.c (disable_extension_diagnostics): Disable
      	-Wc++-compat.
      	(enable_extension_diagnostics): Reenable -Wc++-compat if
      	appropriate.
      	(c_parser_enum_specifier): Get enum location for start_enum.
      	(c_parser_struct_or_union_specifier): Get struct location for
      	start_struct.  Save in_struct and struct_types status between
      	start_struct and finish_struct.
      	(c_parser_cast_expression): Get location of cast.
      	(c_parser_alignof_expression): Get location of type.
      	(c_parser_postfix_expression): Likewise.
      	(c_parser_postfix_expression_after_paren_type): Add type_loc
      	parameter.  Change all callers.  Call
      	check_compound_literal_type.  Use type_loc for error about
      	variable size type.
      	* c-typeck.c (build_external_ref): If -Wc++-compat, warn about a
      	use of an enum constant from an enum type defined in a struct or
      	union.
      	(c_cast_expr): Add loc parameter.  Change all callers.  If
      	-Wc++-compat, warn about defining a type in a cast.
      	* c-tree.h (C_TYPE_DEFINED_IN_STRUCT): Define.
      	(start_enum, start_struct, finish_struct): Update declarations.
      	(parser_xref_tag, c_cast_expr): Update declarations.
      	(check_compound_literal_type): Declare.
      fortran/:
      	* gfortran.h (enum gfc_omp_sched_kind): New enum, broken out of
      	gfc_omp_clauses.
      	(enum gfc_omp_default_sharing): Likewise.
      	* module.c (enum gfc_rsym_state): New enum, broken out of
      	pointer_info.
      	(enum gfc_wsym_state): Likewise.
      	* parse.c (enum state_order): New enum, broken out of st_state.
      objc/:
      	* objc-act.c (objc_building_struct): New static variable.
      	(objc_in_struct, objc_struct_types): New static variables.
      	(objc_start_struct, objc_finish_struct): New static functions.
      	(generate_struct_by_value_array): Call objc_start_struct instead
      	of start_struct, and call objc_finish_struct instead of
      	finish_struct.
      	(objc_build_struct, build_objc_symtab_template): Likewise.
      	(build_module_descriptor): Likewise.
      	(build_next_objc_exception_stuff): Likewise.
      	(build_protocol_template): Likewise.
      	(build_method_prototype_list_template): Likewise.
      	(build_method_prototype_template): Likewise.
      	(build_category_template, build_selector_template): Likewise.
      	(build_class_template, build_super_template): Likewise.
      	(build_ivar_template, build_ivar_list_template): Likewise.
      	(build_method_list_template): Likewise.
      	(build_method_template): Likewise.
      objcp/:
      	* objcp-decl.h (start_struct): Add three new, ignored, macro
      	parameters.
      	(finish_struct): Add two new, ignored, macro parameters.
      testsuite/:
      	* gcc.dg/Wcxx-compat-7.c: New testcase.
      	* gcc.dg/Wcxx-compat-8.c: New testcase.
      	* gcc.dg/c99-tag-1.c: Recognize new "originally defined here"
      	notes
      	* gcc.dg/pr17188-1.c: Likewise.
      	* gcc.dg/pr39084.c: Likewise.
      
      From-SVN: r147358
      Ian Lance Taylor committed
  32. 21 Apr, 2009 1 commit
    • ABOUT-GCC-NLS, [...]: Add copyright and license notices. · ad41bd84
      	* ABOUT-GCC-NLS, ChangeLog, ChangeLog-1997, ChangeLog-1998,
      	ChangeLog-1999, ChangeLog-2000, ChangeLog-2001, ChangeLog-2002,
      	ChangeLog-2003, ChangeLog-2004, ChangeLog-2005, ChangeLog-2006,
      	ChangeLog-2007, ChangeLog-2008, ChangeLog.dataflow, ChangeLog.lib,
      	ChangeLog.ptr, ChangeLog.tree-ssa, ChangeLog.tuples, FSFChangeLog,
      	FSFChangeLog.10, FSFChangeLog.11, LANGUAGES, ONEWS, acinclude.m4,
      	config/alpha/gnu.h, config/alpha/libgcc-alpha-ldbl.ver,
      	config/alpha/t-osf4, config/alpha/t-vms, config/alpha/va_list.h,
      	config/alpha/x-vms, config/arc/t-arc,
      	config/arm/README-interworking, config/arm/arm-c.c,
      	config/arm/gentune.sh, config/arm/libgcc-bpabi.ver,
      	config/arm/t-arm, config/arm/t-arm-elf, config/arm/t-arm-softfp,
      	config/arm/t-bpabi, config/arm/t-linux, config/arm/t-linux-eabi,
      	config/arm/t-netbsd, config/arm/t-pe, config/arm/t-strongarm-elf,
      	config/arm/t-symbian, config/arm/t-vxworks, config/arm/t-wince-pe,
      	config/avr/t-avr, config/bfin/elf.h, config/bfin/libgcc-bfin.ver,
      	config/bfin/linux.h, config/bfin/t-bfin, config/bfin/t-bfin-elf,
      	config/bfin/t-bfin-linux, config/bfin/t-bfin-uclinux,
      	config/bfin/uclinux.h, config/cris/mulsi3.asm, config/cris/t-cris,
      	config/cris/t-elfmulti, config/crx/t-crx,
      	config/darwin-ppc-ldouble-patch.def, config/darwin-sections.def,
      	config/divmod.c, config/fr30/t-fr30, config/frv/libgcc-frv.ver,
      	config/frv/t-frv, config/frv/t-linux, config/h8300/genmova.sh,
      	config/h8300/t-h8300, config/i386/athlon.md,
      	config/i386/darwin-libgcc.10.4.ver,
      	config/i386/darwin-libgcc.10.5.ver, config/i386/libgcc-glibc.ver,
      	config/i386/mach.h, config/i386/netbsd.h, config/i386/t-crtpc,
      	config/i386/t-cygming, config/i386/t-cygwin, config/i386/t-i386,
      	config/i386/t-linux64, config/i386/t-nwld,
      	config/i386/t-rtems-i386, config/i386/t-sol2-10,
      	config/i386/x-mingw32, config/ia64/div.md, config/ia64/elf.h,
      	config/ia64/ia64.opt, config/ia64/libgcc-glibc.ver,
      	config/ia64/libgcc-ia64.ver, config/ia64/linux.h,
      	config/ia64/sysv4.h, config/ia64/t-hpux, config/ia64/t-ia64,
      	config/iq2000/abi, config/iq2000/lib2extra-funcs.c,
      	config/iq2000/t-iq2000, config/libgcc-glibc.ver,
      	config/m32r/libgcc-glibc.ver, config/m32r/t-linux,
      	config/m32r/t-m32r, config/m68hc11/t-m68hc11,
      	config/m68k/t-floatlib, config/m68k/t-linux, config/m68k/t-mlibs,
      	config/m68k/t-uclinux, config/mcore/t-mcore,
      	config/mcore/t-mcore-pe, config/mips/20kc.md, config/mips/4130.md,
      	config/mips/5400.md, config/mips/5500.md, config/mips/crti.asm,
      	config/mips/crtn.asm, config/mips/irix-crti.asm,
      	config/mips/irix-crtn.asm, config/mips/libgcc-mips16.ver,
      	config/mips/mips-dsp.md, config/mips/mips-dspr2.md,
      	config/mips/mips-fixed.md, config/mips/sb1.md,
      	config/mips/sr71k.md, config/mips/t-elf, config/mips/t-gofast,
      	config/mips/t-iris6, config/mips/t-isa3264,
      	config/mips/t-libgcc-mips16, config/mips/t-linux64,
      	config/mips/t-mips, config/mips/t-r3900, config/mips/t-rtems,
      	config/mips/t-sb1, config/mips/t-sde, config/mips/t-sdemtk,
      	config/mips/t-slibgcc-irix, config/mips/t-sr71k, config/mips/t-st,
      	config/mips/t-vr, config/mips/t-vxworks, config/mmix/t-mmix,
      	config/mn10300/t-linux, config/mn10300/t-mn10300,
      	config/pa/pa32-regs.h, config/pa/t-hpux-shlib, config/pa/t-linux,
      	config/pa/t-linux64, config/pa/t-pa64, config/pdp11/t-pdp11,
      	config/picochip/libgccExtras/clzsi2.asm,
      	config/picochip/t-picochip, config/rs6000/darwin-ldouble-format,
      	config/rs6000/darwin-libgcc.10.4.ver,
      	config/rs6000/darwin-libgcc.10.5.ver,
      	config/rs6000/libgcc-ppc-glibc.ver, config/rs6000/ppc-asm.h,
      	config/rs6000/t-aix43, config/rs6000/t-aix52,
      	config/rs6000/t-darwin, config/rs6000/t-fprules,
      	config/rs6000/t-fprules-fpbit, config/rs6000/t-linux64,
      	config/rs6000/t-lynx, config/rs6000/t-netbsd,
      	config/rs6000/t-ppccomm, config/rs6000/t-ppcendian,
      	config/rs6000/t-ppcgas, config/rs6000/t-rs6000,
      	config/rs6000/t-rtems, config/rs6000/t-spe,
      	config/rs6000/t-vxworks, config/s390/libgcc-glibc.ver,
      	config/score/t-score-elf, config/sh/divcost-analysis,
      	config/sh/libgcc-glibc.ver, config/sh/t-netbsd, config/sh/t-sh,
      	config/sh/t-sh64, config/sh/t-superh, config/sh/t-symbian,
      	config/sparc/libgcc-sparc-glibc.ver, config/sparc/sol2-bi.h,
      	config/sparc/sol2-gas.h, config/sparc/sol2-gld-bi.h,
      	config/sparc/t-elf, config/sparc/t-linux64, config/sparc/t-sol2,
      	config/stormy16/stormy-abi, config/stormy16/t-stormy16,
      	config/t-darwin, config/t-libunwind, config/t-libunwind-elf,
      	config/t-linux, config/t-lynx, config/t-slibgcc-elf-ver,
      	config/t-slibgcc-sld, config/t-sol2, config/t-vxworks,
      	config/udivmod.c, config/udivmodsi4.c, config/v850/t-v850,
      	config/v850/t-v850e, config/xtensa/t-xtensa, diagnostic.def,
      	gdbinit.in, glimits.h, gstab.h, gsyms.h, java/ChangeLog,
      	java/ChangeLog.ptr, java/ChangeLog.tree-ssa, libgcc-std.ver,
      	limitx.h, version.c, xcoff.h: Add copyright and license notices.
      	* config/h8300/genmova.sh: Include copyright and license notices
      	in generated output.
      	* config/h8300/mova.md: Regenerate.
      	* doc/install.texi2html: Include word "Copyright" in copyright
      	notice and use name "Free Software Foundation, Inc.".
      	* ChangeLog, ChangeLog-2000, ChangeLog-2001, ChangeLog-2002,
      	ChangeLog-2003, ChangeLog-2004, ChangeLog-2005, ChangeLog-2006,
      	ChangeLog-2007, ChangeLog-2008: Correct dates.
      
      ada:
      	* ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and
      	license notices.
      
      cp:
      	* ChangeLog, ChangeLog-1993, ChangeLog-1994, ChangeLog-1995,
      	ChangeLog-1996, ChangeLog-1997, ChangeLog-1998, ChangeLog-1999,
      	ChangeLog-2000, ChangeLog-2001, ChangeLog-2002, ChangeLog-2003,
      	ChangeLog-2004, ChangeLog-2005, ChangeLog-2006, ChangeLog-2007,
      	ChangeLog-2008, ChangeLog.ptr, ChangeLog.tree-ssa, NEWS,
      	cfns.gperf: Add copyright and license notices.
      	* cfns.h: Regenerate.
      	* ChangeLog, ChangeLog-2004: Correct dates.
      
      fortran:
      	* ChangeLog, ChangeLog-2002, ChangeLog-2003, ChangeLog-2004,
      	ChangeLog-2005, ChangeLog-2006, ChangeLog-2007, ChangeLog-2008,
      	ChangeLog.ptr, config-lang.in, ioparm.def, mathbuiltins.def: Add
      	copyright and license notices.
      	* ChangeLog, ChangeLog-2005, ChangeLog-2006, ChangeLog-2007,
      	ChangeLog-2008: Correct dates.
      
      java:
      	* ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and
      	license notices.
      
      objc:
      	* ChangeLog: Add copyright and license notices.
      
      objcp:
      	* ChangeLog: Add copyright and license notices.
      
      po:
      	* ChangeLog, EXCLUDES: Add copyright and license notices.
      
      testsuite:
      	* ChangeLog, ChangeLog-1993-2007, ChangeLog-2008, ChangeLog.ptr,
      	ChangeLog.tree-ssa, README, README.QMTEST, README.compat,
      	README.gcc, g++.dg/README, g++.dg/compat/break/README,
      	g++.dg/gomp/gomp.exp, g++.old-deja/g++.brendan/README,
      	g++.old-deja/g++.oliva/ChangeLog, g++.old-deja/g++.robertl/README,
      	gcc.c-torture/ChangeLog.0,
      	gcc.c-torture/execute/builtins/builtins.exp, gcc.dg/README,
      	gcc.dg/gomp/gomp.exp, gcc.target/frv/frv.exp,
      	gcc.target/i386/math-torture/math-torture.exp,
      	gcc.target/mips/inter/mips16-inter.exp,
      	gcc.target/mips/mips-nonpic/README,
      	gcc.target/x86_64/abi/README.gcc,
      	gcc.target/xstormy16/xstormy16.exp, gcc.test-framework/README,
      	gfortran.dg/g77/README, gfortran.dg/gomp/gomp.exp,
      	gfortran.fortran-torture/ChangeLog.g95: Add copyright and license
      	notices.
      	* ChangeLog-1993-2007, ChangeLog: Correct dates.
      
      From-SVN: r146533
      Joseph Myers committed
  33. 20 Feb, 2009 1 commit
  34. 05 Dec, 2008 3 commits
  35. 17 Sep, 2008 1 commit
    • re PR objc/37460 (NeXT runtime ICEs) · 2700cb86
      2008-09-17  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              * tree.c (get_callee_fndecl): Don't call the language hook.
              * langhooks.h (lang_hooks): Remove lang_get_callee_fndecl.
              * langhooks-def.h (LANG_HOOKS_GET_CALLEE_FNDECL): Kill.
              (LANG_HOOKS_INITIALIZER): Remove LANG_HOOKS_GET_CALLEE_FNDECL.
      
      
      2008-09-17  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR objc/37460
              * objc-lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): Don't define.
              * objc-act.h (objc_get_callee_fndecl): Remove prototype.
              * objc-act.c (objc_get_callee_fndecl): Kill.
      
      2008-09-17  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              * lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): Don't define.
              (java_get_callee_fndecl): Kill.
      
      2008-09-17  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR objc/37460
              * objcp-lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): Don't define.
      
      From-SVN: r140430
      Andrew Pinski committed
  36. 05 Sep, 2008 1 commit
    • Convert ChangeLog files to UTF-8. · 719bb4e3
      Command used:
      LC_ALL=C sed -i \
        -e 's/D\(o\|\xf6\)nmez/D\xc3\xb6nmez/' \
        -e 's/\(Av\|\x81\xc1v\|\xc1v\|\xef\xbf\xbdv\?\|\x81\xc3\x81v\|\xc3v\)ila/\xc3\x81vila/' \
        -e 's/Esp\(in\|\x81\xedn\|\xedn\|\xef\xbf\xbdn\?\|\xef\xbf\xbd\xadn\|\x81\xc3\xadn\)dola/Esp\xc3\xadndola/' \
        -e 's/Schl\(u\|\xef\xbf\xbd\|\xfcu\?\|\x81\xfc\|\x81\xc3\xbc\|\xc3\xaf\xc2\xbf\xc2\xbd\|\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\xc2\xbc\)ter/Schl\xc3\xbcter/' \
        -e 's/Humi\(e\|\xe8\)res/Humi\xc3\xa8res/' \
        -e 's/L\(ow\|\xc3\xaf\xc2\xbf\xc2\xbd\|oew\|\xf6w\)is/L\xc3\xb6wis/' \
        -e 's/G\xfctlein/G\xc3\xbctlein/' \
        -e 's/G\xe1[b]or/G\xc3\xa1bor/' \
        -e 's/L\xf3ki/L\xc3\xb3ki/' \
        -e 's/Fautr\xc3 /Fautr\xc3\xa9 /' \
        -e 's/S\xe9[b]astian/S\xc3\xa9bastian/' \
        -e 's/Th\xef\xbf\xbd[d]ore/Th\xc3\xa9odore/' \
        -e 's/Cors\xc3\xc2\xa9pius/Cors\xc3\xa9pius/' \
        -e 's/K\xfchl/K\xc3\xbchl/' \
        -e 's/R\xf6nnerup/R\xc3\xb6nnerup/' \
        -e 's/L\xf8vset/L\xc3\xb8vset/' \
        -e 's/Ph\x81\xfb\x81\xf4ng-Th\x81\xe5o/Ph\xc3\xbb\xc3\xb4ng-Th\xc3\xa5o/' \
        -e 's/V\x81\xf5/V\xc3\xb5/' \
        -e 's/J\xf6nsson/J\xc3\xb6nsson/' \
        -e 's/V\xef\xbf\xbdis\xef\xbf\xbdnen/V\xc3\xa4is\xc3\xa4nen/' \
        -e 's/J\xef\xbf\xbdrg/J\xc3\xb6rg/' \
        -e 's/M\xef\xbf\xbdsli/M\xc3\xb6sli/' \
        -e 's/R\xe4ty/R\xc3\xa4ty/' \
        -e 's/2003\xc2\xad-/2003-/' \
        -e 's/\xc2\xa0/ /g' \
        -e 's/ \xa0/  /g' \
        -e 's/\xa0 //' \
        `find . -name \*ChangeLog\* | grep -v /.svn`
      
      From-SVN: r140033
      Jakub Jelinek committed