1. 26 May, 2011 1 commit
    • make TS_BLOCK a substructure of TS_BASE · 92e948a8
      make TS_BLOCK a substructure of TS_BASE
      gcc/
      	* tree.c (initialize_tree_contains_struct): Mark TS_BLOCK as
      	TS_BASE instead of TS_COMMON.
      	(find_decls_types_r): Check for TS_TYPED structure before looking at
      	TREE_TYPE.
      	* tree.h (struct tree_block): Inherit from tree_base, not tree_common.
      	Add chain field.
      	(BLOCK_CHAIN): Use new chain field.
      
      gcc/c-family/
      	* c-common.c (warning_candidate_p): Check for BLOCKs.
      
      gcc/java/
      	* decl.c (poplevel): Don't access TREE_TYPE of BLOCKs.
      	* expr.c (build_jni_stub): Likewise.
      
      From-SVN: r174300
      Nathan Froyd committed
  2. 24 May, 2011 1 commit
    • Makefile.in (GCC_OBJS): Remove opts-common.o and options.o. · 1ed1641d
      	* Makefile.in (GCC_OBJS): Remove opts-common.o and options.o.
      	(OBJS): Remove options.o, opts-common.o and prefix.o.
      	(OBJS-libcommon-target): New.
      	(ALL_HOST_BACKEND_OBJS): Include $(OBJS-libcommon-target).
      	(BACKEND): Include libcommon-target.a.
      	(MOSTLYCLEANFILES): Include libcommon-target.a.
      	(libcommon-target.a): New.
      	(xgcc$(exeext), cpp$(exeext)): Use libcommon-target.a instead of
      	prefix.o.
      
      ada:
      	* gcc-interface/Make-lang.in (GNAT1_OBJS): Don't include
      	$(EXTRA_GNAT1_OBJS).
      	(GNATBIND_OBJS): Don't include $(EXTRA_GNATBIND_OBJS).
      	(EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Remove.
      	(gnat1$(exeext), gnatbind$(exeext)): Use libcommon-target.a.
      	* gcc-interface/Makefile.in (EXTRA_GNATTOOLS_OBJS): Use
      	libcommon-target.a instead of prefix.o.
      
      cp:
      	* Make-lang.in (GXX_OBJS): Remove prefix.o.
      	(g++$(exeext)): Use libcommon-target.a.
      	(CXX_C_OBJS): Remove prefix.o.
      
      fortran:
      	* Make-lang.in (GFORTRAN_D_OBJS): Remove prefix.o.
      	(gfortran$(exeext)): Use libcommon-target.a.
      
      go:
      	* Make-lang.in (GCCGO_OBJS): Remove prefix.o.
      	(gccgo$(exeext)): Use libcommon-target.a.
      
      java:
      	* Make-lang.in ($(XGCJ)$(exeext)): Use libcommon-target.a instead
      	of prefix.o.
      
      From-SVN: r174109
      Joseph Myers committed
  3. 20 May, 2011 1 commit
    • Makefile.in (LIBDEPS): Add libcommon.a. · 2691e6d7
      	* Makefile.in (LIBDEPS): Add libcommon.a.
      	(LIBS): Likewise.
      	(GCC_OBJS): Remove diagnostic.o, pretty-print.o and input.o.
      	(OBJS-common): Remove diagnostic.o, input.o, intl.o,
      	pretty-print.o and version.o.
      	(OBJS-libcommon): New.
      	(ALL_HOST_BACKEND_OBJS): Add $(OBJS-libcommon).
      	(BACKEND): Add libcommon.a.
      	(MOSTLYCLEANFILES): Likewise.
      	(libcommon.a): New.
      	(xgcc$(exeext)): Don't explicitly use version.o and intl.o.
      	(cpp$(exeext)): Likewise.
      	(COLLECT2_OBJS): Remove intl.o, version.o, diagnostic.o,
      	pretty-print.o and input.o.
      	(lto-wrapper$(exeext)): Don't explicitly use intl.o.
      	(lto-wrapper.o): Depend on $(DIAGNOSTIC_H).
      	(errors.o): Remove.
      	(mips-tfile): Don't explicitly use version.o.
      	(mips-tdump): Likewise.
      	(gcov.o): Depend on $(DIAGNOSTIC_H).
      	(gcov-dump.o): Depend on intl.h and $(DIAGNOSTIC_H).
      	(GCOV_OBJS): Remove intl.o, version.o and errors.o.
      	(GCOV_DUMP_OBJS): Remove version.o and errors.o.
      	* gcov-dump.c: Include intl.h and diagnostic.h.
      	(main): Initialize diagnostics.
      	* gcov.c: Include diagnostic.h.
      	(fnotice): Remove.
      	(main): Initialize diagnostics.
      	* lto-wrapper.c: Include diagnostic.h.
      	(main): Initialize diagnostics.
      
      ada:
      	* gcc-interface/Make-lang.in (EXTRA_GNATBIND_OBJS): Remove
      	version.o.
      	* gcc-interface/Makefile.in (EXTRA_GNATTOOLS_OBJS): Use
      	libcommon.a instead of version.o.
      
      cp:
      	* Make-lang.in (GXX_OBJS): Remove intl.o and version.o.
      
      fortran:
      	* Make-lang.in (GFORTRAN_D_OBJS): Remove version.o and intl.o.
      
      go:
      	* Make-lang.in (GCCGO_OBJS): Remove intl.o and version.o.
      
      java:
      	* Make-lang.in ($(XGCJ)$(exeext)): Don't explicitly use intl.o and
      	version.o.
      	(JCFDUMP_OBJS): Remove errors.o, version.o and intl.o.
      	(JVGENMAIN_OBJS): Remove errors.o and intl.o.
      	(java/jcf-dump.o, java/jvgenmain.o): Depend in $(DIAGNOSTIC_H).
      	* jcf-dump.c: Include diagnostic.h.
      	(main): Initialize diagnostics.
      	* jvgenmain.c: Include diagnostic.h.
      	(main): Initialize diagnostics.
      
      From-SVN: r173958
      Joseph Myers committed
  4. 11 May, 2011 1 commit
    • split tree_type · 51545682
      split tree_type
      gcc/ada/
      	* gcc-interface/ada-tree.h (TYPE_OBJECT_RECORD_TYPE): Use TYPE_MINVAL.
      	(TYPE_GCC_MIN_VALUE): Use TYPE_MINVAL.
      	(TYPE_GCC_MAX_VALUE): Use TYPE_MAXVAL.
      
      gcc/cp/
      	* cp-tree.h (TYPENAME_TYPE_FULLNAME, TYPEOF_TYPE_EXPR): Use
      	TYPE_VALUES_RAW.
      	(UNDERLYING_TYPE_TYPE, DECLTYPE_TYPE_EXPR): Likewise.
      	(DECLTYPE_TYPE_ID_EXPR_OR_MEMBER_ACCESS_P): Likewise.
      	(TEMPLATE_TYPE_PARM_INDEX): Likewise.
      
      gcc/
      	* ggc-page.c (extra_order_size_table): Use struct
      	tree_type_non_common.
      	* lto-streamer-in.c (unpack_ts_type_value_fields): Rename to...
      	(unpack_ts_type_common_value_fields): ...this.  Update comment.
      	(unpack_value_fields): Adjust for renaming.
      	(lto_input_ts_type_tree_pointers): Split into...
      	(lto_input_ts_type_common_tree_pointer): ...this and...
      	(lto_input_ts_type_non_common_tree_pointers): ...this.
      	(lto_input_tree_pointers): Adjust for above split.
      	* lto-streamer-out.c (pack_ts_type_value_fields): Rename to...
      	(pack_ts_type_common_value_fields): ...this.  Update comment.
      	(lto_output_ts_type_tree_pointers): Split into...
      	(lto_output_ts_type_common_tree_pointers): ...this and...
      	(lto_output_ts_type_non_common_tree_pointers): ...this.
      	(lto_output_tree_pointers): Adjust for above split.
      	* lto-streamer.c (check_handled_ts_structures): Mark TS_TYPE_COMMON,
      	TS_TYPE_WITH_LANG_SPECIFIC, and TS_TYPE_NON_COMMON as handled.
      	* stor-layout.c (vector_type_mode): Adjust location of mode field.
      	* tree.h (MARK_TS_TYPE_COMMON, MARK_TS_TYPE_WITH_LANG_SPECIFIC):
      	Define.
      	(struct tree_type): Split into...
      	(struct tree_type_common: ...this and...
      	(struct tree_type_with_lang_specific): ...this and...
      	(struct tree_type_non_common): ...this.  Adjust accessor macros
      	accordingly.
      	(TYPE_VALUES_RAW): Define.
      	(union tree_node): Update for above changes.
      	* tree.c (tree_node_structure_for_code) [tcc_type]: Return
      	TS_TYPE_NON_COMMON.
      	(initialize_tree_contains_struct) [TS_TYPE]: Use TS_TYPE_COMMON.
      	Add TS_TYPE_WITH_LANG_SPECIFIC and TS_TYPE_NON_COMMON.
      	(tree_code_size) [tcc_type]: Use struct tree_type_non_common.
      	* treestructu.def (TS_TYPE): Remove.
      	(TS_TYPE_COMMON, TS_TYPE_WITH_LANG_SPECIFIC, TS_TYPE_NON_COMMON):
      	Define.
      
      gcc/java/
      	* java-tree.h (TYPE_ARGUMENT_SIGNATURE): Use TYPE_MINVAL.
      
      gcc/lto/
      	* lto.c (lto_ft_type): Use TYPE_MINVAL and TYPE_MAXVAL.  Adjust
      	location of binfo field.
      	(lto_fixup_prevailing_decls): Likewise.
      
      gcc/objc/
      	* objc-act.h (CLASS_NAME, CLASS_SUPER_NAME): Use proper accessors.
      	(CLASS_NST_METHODS, CLASS_CLS_METHODS): Likewise.
      	(PROTOCOL_NAME, PROTOCOL_NST_METHODS, PROTOCOL_CLS_METHODS): Likewise.
      
      From-SVN: r173658
      Nathan Froyd committed
  5. 07 May, 2011 1 commit
    • langhooks.h (lang_hooks_for_types): Change global_bindings_p's return type to… · c99c0026
      langhooks.h (lang_hooks_for_types): Change global_bindings_p's return type to bool and adjust comment.
      
      2011-05-07  Eric Botcazou  <ebotcazou@adacore.com>
      
      	* langhooks.h (lang_hooks_for_types): Change global_bindings_p's return
      	type to bool and adjust comment.
      	* fold-const.c (fold_range_test): Adjust call to global_bindings_p.
      	(fold_mathfn_compare): Remove calls to global_bindings_p.
      	(fold_inf_compare): Likewise.
      	* stor-layout.c (variable_size): Adjust call to global_bindings_p.
      	* c-tree.h (global_bindings_p): Adjust prototype.
      	* c-decl.c (global_bindings_p): Return bool and simplify.
      ada/
      	* gcc-interface/gigi.h (global_bindings_p): Adjust prototype.
      	* gcc-interface/utils.c (global_bindings_p): Return bool and simplify.
      cp/
      	* name-lookup.h (global_bindings_p): Adjust prototype.
      	* name-lookup.c (global_bindings_p): Return bool.
      fortran/
      	* f95-lang.c (global_bindings_p): Return bool and simplify.
      go/
      	* go-lang.c (global_bindings_p): Return bool and simplify.
      java/
      	* java-tree.h (global_bindings_p): Adjust prototype.
      	* decl.c (global_bindings_p): Return bool.
      lto/
      	* lto-lang.c (global_bindings_p): Return bool.
      
      From-SVN: r173535
      Eric Botcazou committed
  6. 06 May, 2011 1 commit
    • generalize build_case_label to the rest of the compiler · 3d528853
      generalize build_case_label to the rest of the compiler
      gcc/ada/
      	* gcc-interface/trans.c (Case_Statement_to_gnu): Call
      	build_case_label.
      
      gcc/
      	* except.c (sjlj_emit_dispatch_table): Call build_case_label.
      	* gimplify.c (gimplify_switch_expr): Likewise.
      	* omp-low.c (expand_omp_sections): Likewise.
      	* tree-eh.c (lower_try_finally_switch): Likewise.
      	(lower_eh_dispatch): Likewise.
      	* tree.h (build_case_label): Declare.
      	* tree.c (build_case_label): Define.
      
      gcc/c-family/
      	* c-common.c (c_add_case_label): Omit the loc argument to
      	build_case_label.
      	* c-common.h (build_case_label): Remove.
      	* c-semantics.c (build_case_label): Remove.
      
      gcc/cp/
      	* decl.c (finish_case_label): Omit the loc argument to
      	build_case_label.
      
      gcc/fortran/
      	* trans-decl.c (gfc_trans_entry_master_switch): Call build_case_label.
      	* trans-io.c (add_case): Likewise.
      	* trans-stmt.c (gfc_trans_integer_select): Likewise.
      	(gfc_trans_character_select): Likewise.
      
      gcc/go/
      	* go-gcc.cc (Gcc_backend::switch_statement): Call build_case_label.
      
      gcc/java/
      	* expr.c (expand_java_switch): Call build_case_label.
      	(expand_java_add_case): Likewise.
      
      From-SVN: r173467
      Nathan Froyd committed
  7. 29 Apr, 2011 1 commit
  8. 20 Apr, 2011 1 commit
    • remove useless if-before-free tests · 04695783
      Change "if (E) free (E);" to "free (E);" everywhere except in the
      libgo/, intl/, zlib/ and classpath/ directories.
      Also transform equivalent variants like
      "if (E != NULL) free (E);" and allow an extra cast on the
      argument to free.  Otherwise, the tested and freed "E"
      expressions must be identical, modulo white space.
      
      From-SVN: r172785
      Jim Meyering committed
  9. 18 Apr, 2011 1 commit
  10. 14 Apr, 2011 1 commit
    • utils.c (gnat_poplevel): Use block_chainon. · 61e46a7d
      gcc/ada/
      	* gcc-interface/utils.c (gnat_poplevel): Use block_chainon.
      
      gcc/
      	* function.h (block_chainon): Declare.
      	* function.c (block_chainon): Define.
      
      gcc/cp/
      	* decl.c (poplevel): Use block_chainon.
      
      gcc/fortran//
      	* f95-lang.c (poplevel): Use BLOCK_CHAIN and block_chainon.
      
      gcc/java/
      	* decl.c (poplevel): Use BLOCK_CHAIN and block_chainon.
      
      From-SVN: r172418
      Nathan Froyd committed
  11. 13 Apr, 2011 1 commit
    • ada-tree.h (union lang_tree_node): Check for TS_COMMON before calling TREE_CHAIN. · 81f653d6
      gcc/ada/
      	* gcc-interface/ada-tree.h (union lang_tree_node): Check for
      	TS_COMMON before calling TREE_CHAIN.
      	* gcc-interface/misc.c (gnat_init_ts): New function.
      	(LANG_HOOKS_INIT_TS): Define.
      
      gcc/
      	* c-decl.c (union lang_tree_node): Check for TS_COMMON before
      	calling TREE_CHAIN.
      	* print-tree.c (print_node): Likewise.
      	* tree-inline.c (copy_tree_r): Likewise.
      	* c-lang.c (LANG_HOOKS_INIT_TS): Define.
      	* lto-streamer-in.c (lto_input_tree_pointers): Check for TS_TYPED
      	instead of TS_COMMON.
      	* lto-streamer-out.c (lto_output_tree_pointers): Likewise.
      	* tree.c (initialize_tree_contains_struct): Handle TS_TYPED.
      	(copy_node_stat): Zero TREE_CHAIN only if necessary.
      	(MARK_TS_BASE, MARK_TS_TYPED, MARK_TS_COMMON): Move these...
      	(MARK_TS_DECL_COMMON, MARK_TS_DECL_COMMON, MARK_TS_DECL_WRTL):
      	...and these...
      	(MARK_TS_DECL_WITH_VIS, MARK_TS_DECL_NON_COMMON): ...and these...
      	* tree.h: ...here.
      	(TREE_CHAIN): Check for a TS_COMMON structure.
      	(TREE_TYPE): Check for a TS_TYPED structure.
      
      gcc/c-family/
      	* c-common.h (c_common_init_ts): Declare.
      	* c-common.c (c_common_init_ts): Define.
      
      gcc/cp/
      	* cp-lang.c (cp_init_ts): Call cp_common_init_ts.  Move
      	tree_contains_struct initialization to...
      	* cp-objcp-common.c (cp_common_init_ts): ...here.  Use MARK_*
      	macros.
      	* cp-objcp-common.h (cp_common_init_ts): Declare.
      	* cp-tree.h (union lang_tree_node): Check for TS_COMMON before
      	calling TREE_CHAIN.
      
      gcc/fortran/
      	* f95-lang.c (union lang_tree_node): Check for TS_COMMON before
      	calling TREE_CHAIN.
      
      gcc/go/
      	* go-lang.c (union lang_tree_node): Check for TS_COMMON before
      	calling TREE_CHAIN.
      
      gcc/java/
      	* java-tree.h (union lang_tree_node): Check for TS_COMMON before
      	calling TREE_CHAIN.
      
      gcc/lto/
      	* lto-tree.h (union lang_tree_node): Check for TS_COMMON before
      	calling TREE_CHAIN.
      	* lto.c (lto_fixup_common): Likewise.
      
      gcc/objc/
      	* objc-lang.c (objc_init_ts): Move code for this function...
      	* objc-act.c (objc_common_init_ts): ...here. Define.
      	* objc-act.h (objc_common_init_ts): Declare.
      
      gcc/objcp/
      	* objcp-lang.c (objcxx_init_ts): Call objc_common_init_ts and
      	cp_common_init_ts.
      
      From-SVN: r172359
      Nathan Froyd committed
  12. 11 Apr, 2011 1 commit
    • cgraph.c (cgraph_local_info): Call cgraph_get_node instead of… · 9f9ebcdf
      cgraph.c (cgraph_local_info): Call cgraph_get_node instead of cgraph_node,	handle NULL return value.
      
      2011-04-11  Martin Jambor  <mjambor@suse.cz>
      
      gcc/
      	* cgraph.c (cgraph_local_info): Call cgraph_get_node instead
      	of cgraph_node,	handle NULL return value.
      	(cgraph_global_info): Likewise.
      	(cgraph_rtl_info): Likewise.
      	* tree-inline.c (estimate_num_insns): Likewise.
      	* gimplify.c (unshare_body): Likewise.
      	(unvisit_body): Likewise.
      	(gimplify_body): Likewise.
      	* predict.c (optimize_function_for_size_p): Likewise.
      	* tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Likewise.
      	(call_may_clobber_ref_p_1): Likewise.
      	* varasm.c (function_section_1): Likewise.
      	(assemble_start_function): Likewise.
      
      gcc/java/
      	* decl.c (java_mark_decl_local): Call cgraph_get_node instead of
      	cgraph_node and handle returned NULL.
      
      From-SVN: r172258
      Martin Jambor committed
  13. 10 Apr, 2011 1 commit
  14. 25 Mar, 2011 1 commit
    • Changelog c-family/ · ba78087b
      2011-03-25  Kai Tietz  <ktietz@redhat.com>
      
      	* c-ada-spec.c (compare_comment): Use filename_cmp
      	instead of strcmp for filename.
      
      
      Changelog fortran/
      
      2011-03-25  Kai Tietz  <ktietz@redhat.com>
      
      	* scanner.c (preprocessor_line): Use filename_cmp
      	instead of strcmp.
      
      Changelog gcc/
      
      2011-03-25  Kai Tietz  <ktietz@redhat.com>
      
      	* collect2.c (write_c_file_stat): Handle backslash
      	as right-hand directory separator.
      	(resolve_lib_name): Use IS_DIR_SEPARATOR instead of
      	checking just for slash.
      	* coverage.c (coverage_init): Use IS_ABSOLUTE_PATH
      	instead of checking for trailing slash.
      	* gcc.c (record_temp_file): Use filename_cmp instead
      	of strcmp.
      	(do_spec_1): Likewise.
      	(replace_outfile_spec_function): Likewise.
      	(is_directory): Use filename_ncmp instead of strncmp.
      	(print_multilib_info): Likewise.
      	* gcov.c (find_source): Use filename_cmp instead
      	instead of strcmp.
      	(make_gcov_file_name): Fix order of slash/backslash
      	checks.
      	* incpath.c (DIRS_EQ): Use filename_cmp instead of strcmp.
      	(add_standard_paths): Likewise.
      	* mips-tfile.c (saber_stop): Handle backslash.
      	* prefix.c (update_path): Use filename_ncmp instead of
      	strncmp.
      	* profile.c (output_location): Use filename_cmp instead
      	of strcmp.
      	* read-md.c (handle_toplevel_file): Handle backslash.
      	* tlink.c (frob_extension):  Likewise.
      	* tree-cfg.c (same_line_p): Use filename_cmp instead of
      	strcmp.
      	* tree-dump.c (dequeue_and_dump): Handle backslash.
      	* tree.c (get_file_function_name): Likewise.
      	* gengtype.c (read_input_list): Likewise.
      	(get_file_realbasename): Likewise.
      	(get_output_file_with_visibility): Use filename_cmp
      	instead of strcmp.
      
      ChangeLog java/
      
      2011-03-25  Kai Tietz  <ktietz@redhat.com>
      
      	* jcf-parse.c (java_read_sourcefilenames): Use filename_cmp
      	instead of strcmp.
      	(set_source_filename): Likewise.
      	* win32-host.c (jcf_open_exact_case): Likewise.
      
      ChangeLog lto/
      
      2011-03-25  Kai Tietz  <ktietz@redhat.com>
      
      	* lto.c (lto_resolution_read): Use filename_cmp instead
      	of strcmp.
      	(lto_read_section_data): Likewise.
      
      
      ChangeLog cp/
      
      2011-03-25  Kai Tietz  <ktietz@redhat.com>
      
      	* lex.c (interface_strcmp): Handle dos-paths.
      	(handle_pragma_implementation): Use filename_cmp instead of
      	strcmp.
      	(in_main_input_context): Likewise.
      
      From-SVN: r171522
      Kai Tietz committed
  15. 21 Mar, 2011 1 commit
    • ChangeLog gcc/ · 62d784f7
      2011-03-21  Kai Tietz  <ktietz@redhat.com>
      
      	PR target/12171
      	* doc/plugins.texi: Adjust documentation
      	for plugin register_callback.
      	* tree.h (attribute_spec): Add new member
      	affects_type_identity.
      	- Zitierten Text anzeigen -
      	* attribs.c (empty_attribute_table): Adjust
      	attribute_spec initializers.
      	* config/alpha/alpha.c: Likewise.
      	* config/arc/arc.c: Likewise.
      	* config/arm/arm.c: Likewise.
      	* config/avr/avr.c: Likewise.
      	* config/bfin/bfin.c: Likewise.
      	* config/crx/crx.c: Likewise.
      	* config/darwin.h: Likewise.
      	* config/h8300/h8300.c: Likewise.
      	* config/i386/cygming.h: Likewise.
      	* config/i386/i386.c: Likewise.
      	* config/ia64/ia64.c: Likewise.
      	* config/m32c/m32c.c: Likewise.
      	* config/m32r/m32r.c: Likewise.
      	* config/m68hc11/m68hc11.c: Likewise.
      	* config/m68k/m68k.c: Likewise.
      	* config/mcore/mcore.c: Likewise.
      	* config/mep/mep.c: Likewise.
      	* config/microblaze/microblaze.c: Likewise.
      	* config/mips/mips.c: Likewise.
      	* config/rs6000/rs6000.c: Likewise.
      	* config/rx/rx.c: Likewise.
      	* config/sh/sh.c: Likewise.
      	* config/sol2.h: Likewise.
      	* config/sparc/sparc.c: Likewise.
      	* config/spu/spu.c: Likewise.
      	* config/stormy16/stormy16.c: Likewise.
      	* config/v850/v850.c: Likewise.
      
      ChangeLog gcc/cp
      
      2011-03-21  Kai Tietz  <ktietz@redhat.com>
      
      	PR target/12171
      	* tree.c (cxx_attribute_table): Adjust table.
      
      ChangeLog gcc/testsuite
      
      2011-03-21  Kai Tietz  <ktietz@redhat.com>
      
      	PR target/12171
      	* g++.dg/plugin/attribute_plugin.c: Adjust test.
      
      ChangeLog gcc/java
      
      2011-03-21  Kai Tietz  <ktietz@redhat.com>
      
      	PR target/12171
      	* lang.c (java_attribute_table): Adjust table.
      
      ChangeLog gcc/lto
      
      2011-03-21  Kai Tietz  <ktietz@redhat.com>
      
      	PR target/12171
      	* lto-lang.c (lto_attribute_table): Adjust table.
      
      ChangeLog gcc/ada
      
      2011-03-21  Kai Tietz  <ktietz@redhat.com>
      
      	PR target/12171
      	* gcc-interface/utils.c (gnat_internal_attribute_table):
      	Add new element.
      
      ChangeLog gcc/c-family
      
      2011-03-17  Kai Tietz
      
      	PR target/12171
      	* c-common.c (c_common_attribute_table):
      	Add new element.
      	(c_common_format_attribute_table): Likewise.
      
      From-SVN: r171209
      Kai Tietz committed
  16. 13 Feb, 2011 1 commit
  17. 21 Jan, 2011 1 commit
    • re PR bootstrap/47215 (Failed to bootstrap) · 1dd584a2
      2011-01-21  Kai Tietz  <kai.tietz@onevision.com>
      
              PR bootstrap/47215
              * decl.c (java_init_decl_processing): Remove
              va_list_type_node related type initializations.
      
      2011-01-21  Kai Tietz  <kai.tietz@onevision.com>
      
      	PR bootstrap/47215
      	* config/i386/i386.c (ix86_local_alignment): Handle
      	case for va_list_type_node is nil.
      	(ix86_canonical_va_list_type): Likewise.
      
      From-SVN: r169080
      Kai Tietz committed
  18. 11 Jan, 2011 1 commit
  19. 07 Jan, 2011 2 commits
  20. 03 Jan, 2011 2 commits
    • Update Copyright years for files modified in 2010. · d652f226
      From-SVN: r168438
      Jakub Jelinek committed
    • gcc.c (process_command): Update copyright notice dates. · 9f8e43c0
      gcc/
      	* gcc.c (process_command): Update copyright notice dates.
      	* gcov.c (print_version): Likewise.
      	* gcov-dump.c (print_version): Likewise.
      	* mips-tfile.c (main): Likewise.
      	* mips-tdump.c (main): Likewise.
      gcc/fortran/
      	* gfortranspec.c (lang_specific_driver): Update copyright notice
      	dates.
      gcc/java/
      	* jcf-dump.c (version): Update copyright notice dates.
      libmudflap/
      	* mf-runtime.c (__mf_usage): Update copyright notice dates.
      libjava/
      	* gnu/gcj/convert/Convert.java (version): Update copyright notice
      	dates.
      	* gnu/gcj/tools/gcj_dbtool/Main.java (main): Likewise.
      libjava/classpath/
      	* gnu/java/rmi/registry/RegistryImpl.java (version): Update
      	copyright notice dates.
      	* tools/gnu/classpath/tools/orbd/Main.java (run): Likewise.
      
      From-SVN: r168432
      Jakub Jelinek committed
  21. 15 Dec, 2010 1 commit
  22. 07 Dec, 2010 1 commit
  23. 03 Dec, 2010 1 commit
  24. 01 Dec, 2010 1 commit
    • common.opt (main_input_filename, [...]): New Variable entries. · a803773f
      	* common.opt (main_input_filename, main_input_basename,
      	main_input_baselength): New Variable entries.  From toplev.c.
      	* final.c (output_quoted_string): Move from toplev.c.
      	* output.h (output_quoted_string): Move from toplev.h.
      	* opts-global.c (read_cmdline_options): Use gcc_options pointer to
      	access main_input_filename, main_input_baselength and
      	main_input_basename.
      	* targhooks.c: Include intl.h and opts.h.
      	(option_affects_pch_p, default_get_pch_validity): Move from
      	toplev.c.
      	* targhooks.h (option_affects_pch_p, default_get_pch_validity):
      	Move from toplev.h.
      	* toplev.c (main_input_filename, main_input_basename,
      	main_input_baselength): Move to common.opt.
      	(output_quoted_string): Move to final.c.
      	(warn_deprecated_use): Move to tree.c.
      	(option_affects_pch_p, default_get_pch_validity,
      	pch_option_mismatch, default_pch_valid_p): Move to targhooks.c.
      	* toplev.h (skip_leading_substring): Move to tree-dump.c.
      	(warn_deprecated_use): Move to tree.h.
      	(output_quoted_string): Move to output.h.
      	(main_input_filename, main_input_basename, main_input_baselength):
      	Move to common.opt.
      	(default_get_pch_validity, default_pch_valid_p): Move to
      	targhooks.c.
      	* tree-dump.c (skip_leading_substring): Move from toplev.h.
      	* tree.c (warn_deprecated_use): Move from toplev.c.
      	* tree.h (warn_deprecated_use): Move from toplev.h.
      	* c-typeck.c, config/alpha/alpha.c, config/arc/arc.c,
      	config/arm/arm.c, config/avr/avr.c, config/bfin/bfin.c,
      	config/cris/cris.c, config/crx/crx.c, config/fr30/fr30.c,
      	config/frv/frv.c, config/h8300/h8300.c, config/ia64/ia64.c,
      	config/iq2000/iq2000.c, config/lm32/lm32.c, config/m32c/m32c.c,
      	config/m32r/m32r.c, config/m68hc11/m68hc11.c, config/m68k/m68k.c,
      	config/mcore/mcore.c, config/mep/mep.c,
      	config/microblaze/microblaze.c, config/mips/mips.c,
      	config/mmix/mmix.c, config/mn10300/mn10300.c,
      	config/moxie/moxie.c, config/pa/pa.c, config/pdp11/pdp11.c,
      	config/picochip/picochip.c, config/s390/s390.c,
      	config/score/score.c, config/sh/sh.c, config/sparc/sparc.c,
      	config/spu/spu.c, config/stormy16/stormy16.c, config/v850/v850.c,
      	config/vax/vax.c, config/xtensa/xtensa.c, gimple-low.c,
      	graphite-sese-to-poly.c, plugin.c, tree-cfg.c, tree-inline.c,
      	varasm.c, xcoffout.c: Don't include toplev.h.
      	* Makefile.in (c-typeck.o, tree-inline.o, tree-cfg.o,
      	gimple-low.o, graphite-sese-to-poly.o, targhooks.o, plugin.o,
      	varasm.o, xcoffout.o): Update dependencies.
      	* config/arm/t-arm (arm.o): Update dependencies.
      	* config/spu/t-spu-elf (spu.o): Update dependencies.
      
      cp:
      	* cp-objcp-common.c, lex.c, typeck.c: Don't include toplev.h.
      	* Make-lang.in (cp/lex.o, cp/cp-objcp-common.o, cp/typeck2.o):
      	Update dependencies.
      
      java:
      	* jcf-parse.c: Don't include toplev.h.
      	* Make-lang.in (java/jcf-parse.o): Don't depend on toplev.h.
      
      From-SVN: r167329
      Joseph Myers committed
  25. 30 Nov, 2010 2 commits
    • hwint.c: New. · c59ffc41
      	* hwint.c:  New.  Extracted from toplev.c.
      	* hwint.h (clz_hwi, ctz_hwi, ffs_hwi, exact_log2, floor_log2):
      	Move from toplev.h.
      	* toplev.c (clz_hwi, ctz_hwi, ffs_hwi, exact_log2, floor_log2):
      	Move to hwint.c.
      	* toplev.h (clz_hwi, ctz_hwi, ffs_hwi, exact_log2, floor_log2):
      	Move to hwint.h.
      	* builtins.c, combine.c, config/i386/winnt.c, double-int.c,
      	explow.c, expmed.c, fold-const.c, ggc-page.c, ggc-zone.c, ifcvt.c,
      	ipa-struct-reorg.c, ira-color.c, matrix-reorg.c, omp-low.c,
      	real.c, recog.c, reload.c, rtlanal.c, simplify-rtx.c,
      	stor-layout.c, tree-dfa.c, tree-ssa-alias.c,
      	tree-ssa-loop-niter.c, tree-vect-data-refs.c,
      	tree-vect-loop-manip.c, tree-vect-loop.c, tree-vect-stmts.c,
      	tree-vrp.c: Don't include toplev.h.
      	* genattrtab.c, genconditions.c, genemit.c, genextract.c,
      	genoutput.c, genpeep.c, genpreds.c, genrecog.c: Don't include
      	toplev.h in generated output.
      	* Makefile.in (OBJS-common): Add hwint.o.
      	Dependencies for above files changed to remove toplev.h.
      	(hwint.o): New.
      	(insn-attrtab.o, insn-emit.o, insn-extract.o, insn-output.o,
      	insn-peep.o, insn-preds.o, insn-recog.o): Don't depend on
      	toplev.h.
      	* config/i386/t-cygming (winnt.o): Don't depend on toplev.h.
      	* config/i386/t-interix (winnt.o): Don't depend on toplev.h.
      
      fortran:
      	* trans-common.c: Don't include toplev.h.
      
      java:
      	* boehm.c: Don't include toplev.h.
      	* Make-lang.in (java/boehm.o): Don't depend on toplev.h.
      
      lto:
      	* lto-object.c: Don't include toplev.h.
      	* Make-lang.in (lto/lto-object.o): Don't depend on toplev.h.
      
      From-SVN: r167301
      Joseph Myers committed
    • diagnostic-core.h: Include bversion.h. · 7c475d11
      	* diagnostic-core.h: Include bversion.h.
      	* toplev.h: Don't include input.h or bversion.h.
      	(parse_optimize_options): Don't declare here.
      	* alias.c, auto-inc-dec.c, c-aux-info.c, c-convert.c, c-parser.c,
      	caller-save.c, cfg.c, cfganal.c, cfgbuild.c, cfgcleanup.c,
      	combine-stack-adj.c, config/arm/pe.c, config/darwin-c.c,
      	config/host-darwin.c, config/i386/host-cygwin.c,
      	config/i386/host-mingw32.c, config/i386/msformat-c.c,
      	config/i386/netware.c, config/i386/nwld.c,
      	config/i386/winnt-cxx.c, config/i386/winnt-stubs.c,
      	config/ia64/ia64-c.c, config/m32c/m32c-pragma.c,
      	config/mep/mep-pragma.c, config/microblaze/microblaze-c.c,
      	config/rs6000/host-darwin.c, config/rs6000/rs6000-c.c,
      	config/score/score3.c, config/score/score7.c,
      	config/sh/symbian-base.c, config/sh/symbian-c.c,
      	config/sh/symbian-cxx.c, config/sol2-c.c, config/sol2.c,
      	config/v850/v850-c.c, config/vxworks.c, convert.c, cppbuiltin.c,
      	cselib.c, dbgcnt.c, ddg.c, dfp.c, dominance.c, emit-rtl.c,
      	fixed-value.c, fwprop.c, ggc-common.c, gimple.c, gimplify.c,
      	graphite-blocking.c, graphite-clast-to-gimple.c,
      	graphite-dependences.c, graphite-flattening.c,
      	graphite-interchange.c, graphite-poly.c,
      	graphite-scop-detection.c, graphite.c, haifa-sched.c,
      	implicit-zee.c, integrate.c, ipa-pure-const.c, ipa-reference.c,
      	ira-build.c, ira-conflicts.c, ira-costs.c, ira-lives.c, jump.c,
      	lists.c, loop-doloop.c, loop-iv.c, lto-cgraph.c, lto-compress.c,
      	lto-opts.c, lto-section-in.c, lto-section-out.c,
      	lto-streamer-out.c, lto-symtab.c, modulo-sched.c, optabs.c,
      	params.c, postreload-gcse.c, postreload.c, predict.c, profile.c,
      	regcprop.c, reginfo.c, regmove.c, reorg.c, resource.c,
      	sched-deps.c, sched-ebb.c, sched-rgn.c, sdbout.c,
      	sel-sched-dump.c, sel-sched-ir.c, sese.c, stmt.c, targhooks.c,
      	tree-cfgcleanup.c, tree-mudflap.c, tree-nomudflap.c,
      	tree-object-size.c, tree-outof-ssa.c, tree-phinodes.c,
      	tree-profile.c, tree-sra.c, tree-ssa-ccp.c, tree-ssa-coalesce.c,
      	tree-ssa-live.c, tree-ssa-loop-prefetch.c, tree-ssa-loop.c,
      	tree-ssa-operands.c, tree-ssa-structalias.c, tree-ssa-uninit.c,
      	tree-vect-patterns.c, value-prof.c, var-tracking.c, web.c: Don't
      	include toplev.h.
      	* Makefile.in (TOPLEV_H): Remove.  All uses changed to use
      	toplev.h.  Dependencies for above files and c-family files changed
      	to remove $(TOPLEV_H) or toplev.h.
      	(C_TREE_H): Don't include $(TOPLEV_H).
      	(DIAGNOSTIC_CORE_H): Use $(INPUT_H) instead of input.h.  Add
      	bversion.h.
      	* config/arm/t-pe, config/arm/t-wince-pe, config/i386/t-cygming,
      	config/ia64/t-ia64, config/mep/t-mep, config/score/t-score-elf,
      	config/t-darwin, config/t-sol2,
      	config/t-vxworks, config/v850/t-v850, config/v850/t-v850e:
      	Dependencies for above files changed to remove $(TOPLEV_H) or
      	toplev.h.
      
      c-family:
      	* c-common.h (parse_optimize_options): Declare.
      	* c-cppbuiltin.c, c-format.c, c-gimplify.c, c-lex.c, c-omp.c,
      	c-pch.c, c-pragma.c, c-semantics.c: Don't include toplev.h.
      
      cp:
      	* cp-gimplify.c, cp-lang.c, cvt.c, cxx-pretty-print.c, error.c,
      	except.c, expr.c, friend.c, init.c, mangle.c, name-lookup.c,
      	optimize.c, parser.c, rtti.c, tree.c, typeck2.c: Don't include
      	toplev.h.
      	* Make-lang.in: Dependencies for above files changed to remove
      	toplev.h.
      
      java:
      	* expr.c, lang.c, mangle.c, mangle_name.c, typeck.c,
      	verify-glue.c: Don't include toplev.h.
      	* Make-lang.in: Dependencies for above files changed to remove
      	toplev.h.
      
      lto:
      	* Make-lang.in (lto/lto-object.o): Depend on toplev.h instead of
      	$(TOPLEV_H).
      
      From-SVN: r167293
      Joseph Myers committed
  26. 29 Nov, 2010 1 commit
    • system.h: Include "safe-ctype.h" instead of <safe-ctype.h>. · 71f3e391
      	* system.h: Include "safe-ctype.h" instead of <safe-ctype.h>.
      	Include <signal.h>, <sys/mman.h>, <sys/resource.h> and
      	<sys/times.h>.
      	(O_BINARY, SIGCHLD, MAP_FAILED, MAP_ANONYMOUS, kill):
      	Conditionally define.
      	(GET_ENVIRONMENT): Poison.
      	* configure.ac: Don't test for mincore.
      	* configure: Regenerate.
      	* config.in: Regenerate.
      	* collect2-aix.c: Don't include <sys/mman.h>.
      	* collect2.c: Don't include <signal.h>.
      	(SIGCHLD): Don't define.
      	(prefix_from_env): Use getenv instead of GET_ENVIRONMENT.
      	* config/alpha/alpha.c: Include "splay-tree.h" instead of
      	<splay-tree.h>.
      	* config/arm/arm.c (arm_target_help): Use getenv instead of
      	GET_ENVIRONMENT.
      	* config/avr/driver-avr.c: Don't include <stdlib.h>.
      	* config/frv/frv.c: Don't include <ctype.h>.
      	* config/host-darwin.c: Don't include <sys/mman.h>.
      	* config/host-hpux.c: Don't include <sys/mman.h> or <unistd.h>.
      	(MAP_FAILED): Don't define.
      	* config/host-linux.c: Don't include <sys/mman.h> or <limits.h>.
      	* config/host-solaris.c: Don't include <sys/mman.h>.
      	* config/i386/cygming.h: Don't include <stdio.h>.
      	* config/i386/driver-i386.c: Don't include <stdlib.h>.
      	* config/i386/host-cygwin.c: Don't include <sys/mman.h>.
      	* config/iq2000/iq2000.c: Don't include <signal.h>.
      	* config/m32c/m32c-pragma.c: Don't include <stdio.h>.
      	* config/m68hc11/m68hc11.c: Don't include <stdio.h>.
      	* config/mep/mep-pragma.c: Don't include <stdio.h>.
      	* config/microblaze/microblaze.c: Don't include <signal.h>.
      	* config/mips/mips.c: Don't include <signal.h>.
      	* config/rs6000/host-darwin.c: Don't include <signal.h>.
      	* cppdefault.c (cpp_relocated): Use getenv instead of
      	GET_ENVIRONMENT.
      	* defaults.h (GET_ENVIRONMENT): Don't define.
      	* et-forest.h: Don't include <ansidecl.h> or <stddef.h>.
      	* gcc.c: Don't include <signal.h>, <sys/mman.h> or <sys/types.h>.
      	(SIGCHLD, MAP_FAILED, kill): Don't define.
      	(process_command): Use getenv instead of GET_ENVIRONMENT.
      	* genhooks.c: Don't include <string.h>.
      	* ggc-common.c: Don't include <sys/resource.h>, <sys/mman.h> or
      	<sys/types.h>.
      	(MAP_FAILED): Don't define.
      	* ggc-page.c Don't include <sys/mman.h>.
      	(MAP_ANONYMOUS, MAP_FAILED): Don't define.
      	* ggc-zone.c: Don't include <sys/mman.h>.
      	(MAP_ANONYMOUS, MAP_FAILED): Don't define.
      	* graph.c: Include "config.h" instead of <config.h>.
      	* incpath.c (add_env_var_paths): Use getenv instead of
      	GET_ENVIRONMENT.
      	* lto-wrapper.c: Don't include <errno.h>, <signal.h> or
      	"libiberty.h".
      	(SIGCHLD, kill): Don't define.
      	* mips-tfile.c: Don't include <signal.h>.
      	* opts.c: Don't include <signal.h> or <sys/resource.h>.
      	(print_specific_help): Use getenv instead of GET_ENVIRONMENT.
      	* passes.c: Don't include <signal.h>, <sys/resource.h> or
      	<sys/times.h>.
      	* sparseset.h: Don't include <assert.h>.
      	* timevar.c: Don't include <sys/times.h> or <sys/resource.h>.
      	* tlink.c: Don't include "libiberty.h".
      	* toplev.c: Don't include <signal.h> or <sys/times.h>.
      	* tree-mudflap.c: Include "demangle.h" instead of <demangle.h>.
      	* tree-switch-conversion.c: Don't include <signal.h>.
      	* vmsdbgout.c: Don't include <errno.h> or <string.h>.
      
      c-family:
      	* c-opts.c (check_deps_environment_vars): Use getenv instead of
      	GET_ENVIRONMENT.
      	* c-pch.c (O_BINARY): Don't define here.
      	* c-pragma.h: Include "cpplib.h" instead of <cpplib.h>.
      
      fortran:
      	* gfortran.h (alloca): Don't include definitions.
      	(NULL): Don't define.
      
      java:
      	* boehm.c: Include "config.h" instead of <config.h>.
      	* builtins.c: Don't include <stdarg.h>.
      	* class.c: Don't include "stdio.h".
      	(O_BINARY): Don't define here.
      	* jcf-depend.c: Don't include <assert.h>.
      	(jcf_dependency_set_dep_file, jcf_dependency_init,
      	jcf_dependency_write): Use gcc_assert.
      	* jcf-io.c (O_BINARY): Don't define here.
      	* jcf-path.c: Don't include "tm.h".
      	(jcf_path_init): Use getenv instead of GET_ENVIRONMENT.
      	* resource.c: Don't include "stdio.h".
      	(O_BINARY): Don't define here.
      	* verify-impl.c: Don't include <stdio.h>.
      
      lto:
      	* lto-endian.h: Delete.
      	* lto-object.c: Don't include "libiberty.h".
      	(O_BINARY): Don't define.
      	* lto.c: Don't include "libiberty.h" or <sys/mman.h>.
      	(O_BINARY): Don't define.
      
      From-SVN: r167241
      Joseph Myers committed
  27. 17 Nov, 2010 1 commit
    • invoke.texi (-dy): Remove. · b37421c6
      	* doc/invoke.texi (-dy): Remove.
      	* langhooks-def.h (lhd_do_nothing_i): Don't declare.
      	(LANG_HOOKS_PARSE_FILE): Define to lhd_do_nothing.
      	* langhooks.c (lhd_do_nothing_i): Remove.
      	* langhooks.h (lang_hooks.parse_file): Take no arguments.
      	* toplev.c (set_yydebug): Remove.
      	(compile_file): Update call to lang_hooks.parse_file.
      	(decode_d_option): Don't handle -dy.
      
      ada:
      	* gcc-interface/misc.c (gnat_parse_file): Take no arguments.
      
      c-family:
      	* c-opts.c (c_common_parse_file): Take no arguments.
      	* c-common.h (c_common_parse_file): Update prototype.
      
      fortran:
      	* f95-lang.c (gfc_be_parse_file): Take no arguments.
      
      java:
      	* jcf-parse.c (java_parse_file): Take no arguments.
      	* java-tree.h (java_parse_file): Update prototype.
      
      lto:
      	* lto.c (lto_main): Take no arguments.
      	* lto.h (lto_main): Update prototype.
      
      From-SVN: r166868
      Joseph Myers committed
  28. 16 Nov, 2010 1 commit
  29. 12 Nov, 2010 1 commit
    • Makefile.in (OPTS_H): Define. · a4d8c676
      	* Makefile.in (OPTS_H): Define.
      	(c-decl.o, c-family/c-common.o, c-family/c-opts.o,
      	c-family/c-pch.o, c-family/c-pragma.o, gcc.o, gccspec.o,
      	cppspec.o, options.o, gcc-options.o, lto-opts.o, opts.o,
      	opts-common.o, toplev.o, passes.o, matrix-reorg.o,
      	ipa-struct-reorg.o, PLUGIN_HEADERS): Use $(OPTS_H).
      	* gcc.c (driver_handle_option): Take location_t parameter.
      	(process_command, do_self_spec): Update calls to
      	read_cmdline_option.
      	* langhooks-def.h (lhd_handle_option): Take location_t parameter.
      	* langhooks.c (lhd_handle_option): Take location_t parameter.
      	* langhooks.h (handle_option): Take location_t parameter.
      	* lto-opts.c (lto_reissue_options): Update call to set_option.
      	* opts-common.c (handle_option): Make static.  Take location_t
      	parameter and pass it to other functions.
      	(handle_generated_option): Take location_t parameter and pass it
      	to other functions.
      	(read_cmdline_option): Take location_t parameter and pass it to
      	other functions.  Use warning_at and error_at.
      	(set_option): Take location_t parameter and pass it to other
      	functions.
      	* opts.c (common_handle_option): Take location_t parameter and
      	pass it to other functions.
      	(enable_warning_as_error): Make static.  Take location_t parameter
      	and pass it to other functions.
      	(lang_handle_option): Take location_t parameter and pass it to
      	other functions.
      	(target_handle_option): Take location_t parameter.
      	(read_cmdline_options, maybe_default_option,
      	maybe_default_options, default_options_optimization,
      	decode_options): Take location_t parameter and pass it to other
      	functions.
      	* opts.h: Include input.h.
      	(struct cl_option_handler_func, decode_options, set_option,
      	handle_generated_option, read_cmdline_option): Take location_t
      	parameters.
      	(handle_option, enable_warning_as_error): Remove.
      	* toplev.c (toplev_main): Update call to decode_options.
      
      ada:
      	* gcc-interface/Make-lang.in (ada/misc.o): Use $(OPTS_H).
      	* gcc-interface/misc.c (gnat_handle_option): Take location_t
      	parameter.
      
      c-family:
      	* c-common.c (parse_optimize_options): Update call to
      	decode_options.
      	* c-common.h (c_common_handle_option): Update prototype.
      	* c-opts.c (c_common_handle_option): Take location_t parameter and
      	pass it to other functions.
      
      cp:
      	* Make-lang.in (g++spec.o): Use $(OPTS_H).
      
      fortran:
      	* Make-lang.in (gfortranspec.o): Use $(OPTS_H).
      	* gfortran.h (gfc_handle_option): Take location_t parameter.
      	* options.c (gfc_handle_option): Take location_t parameter.
      
      java:
      	* Make-lang.in (jvspec.o, java/lang.o): Use $(OPTS_H).
      	* lang.c (java_handle_option): Take location_t parameter.
      
      lto:
      	* Make-lang.in (lto/lto.o): Use $(OPTS_H).
      	* lto-lang.c (lto_handle_option): Take location_t parameter.
      
      From-SVN: r166688
      Joseph Myers committed
  30. 10 Nov, 2010 1 commit
    • cfgloop.c (verify_loop_structure): Use %' in diagnostics. · d8a07487
      	* cfgloop.c (verify_loop_structure): Use %' in diagnostics.  Start
      	diagnostics with lowercase letters.
      	* cgraphunit.c (verify_cgraph_node): Start diagnostics with
      	lowercase letters.
      	* collect2.c (maybe_run_lto_and_relink): Remove trailing '.' from
      	diagnostic.
      	* config/alpha/freebsd.h (LINK_SPEC): Avoid '`' in diagnostic.
      	* config/arm/arm.c (arm_get_pcs_model): Start diagnostics with
      	lowercase letters.
      	* config/arm/freebsd.h (LINK_SPEC): Avoid '`' in diagnostic.
      	Remove trailing ' ' from diagnostic.
      	* config/avr/avr.c (print_operand_address): Start diagnostic with
      	a lowercase letter and remove trailing '.'.
      	* config/avr/avr.opt (mpmem-wrap-around): Fix typo in help text.
      	* config/bfin/bfin.c (bfin_option_override): Start diagnostics
      	with lowercase letters.  Use %' in diagnostics.  Remove trailing
      	'.' from diagnostics.
      	(bfin_handle_longcall_attribute): Use %' in diagnostic.
      	* config/cris/cris.c (cris_split_movdx,
      	cris_expand_pic_call_address): Start diagnostics with lowercase
      	letters.
      	(cris_asm_output_label_ref): Use %' in diagnostic.
      	* config/cris/cris.h (ASM_SPEC): Start diagnostic with a lowercase
      	letter.
      	* config/crx/crx.h (FUNCTION_PROFILER): Start diagnostic with a
      	lowercase letter.
      	* config/darwin-c.c (version_as_macro): Start diagnostic with a
      	lowercase letter.
      	* config/darwin-driver.c (darwin_default_min_version): Use %' in
      	diagnostic.
      	* config/host-darwin.c (darwin_gt_pch_use_address): Use %' in
      	diagnostic.
      	* config/i386/freebsd.h (LINK_SPEC): Avoid '`' in diagnostic.
      	* config/i386/host-cygwin.c (cygwin_gt_pch_get_address): Use %' in
      	diagnostics.
      	* config/i386/i386.c (ix86_option_override_internal): Write
      	diagnostic as a single sentence without trailing '.'.  Use %' in
      	diagnostics.
      	(ix86_function_sseregparm, classify_argument): Start diagnostics
      	with lowercase letters.
      	(ix86_expand_prologue): Use %' in diagnostic.
      	* config/i386/i386.h (CC1_CPU_SPEC_1): Remove trailing '.' from
      	diagnostic.
      	* config/i386/nwld.h (LINK_SPEC): Start diagnostic with a
      	lowercase letter.
      	* config/i386/winnt.c (i386_pe_determine_dllimport_p): Use %' in
      	diagnostic.
      	* config/ia64/freebsd.h (LINK_SPEC): Avoid '`' in diagnostic.
      	* config/ia64/ia64.opt (msched-max-memory-insns-hard-limit): Avoid
      	'`' in help text.
      	* config/lm32/lm32.c (lm32_print_operand): Start diagnostic with a
      	lowercase letter.
      	* config/mep/mep.c (mep_validate_vliw): Start diagnostics with
      	lowercase letters.
      	* config/microblaze/microblaze.c (microblaze_handle_option):
      	Remove trailing '.' from diagnostic.
      	(print_operand): Start diagnostic with a lowercase letter.
      	* config/pa/pa-hpux10.h (LINK_SPEC): Start diagnostics with
      	lowercase letters.  Avoid '`' in diagnostics.
      	* config/pa/pa-hpux11.h (LINK_SPEC): Start diagnostics with
      	lowercase letters.  Avoid '`' in diagnostics.
      	* config/pa/pa64-hpux.h (LINK_SPEC): Start diagnostics with
      	lowercase letters.  Avoid '`' in diagnostics.
      	* config/picochip/picochip.c (picochip_option_override,
      	picochip_emit_save_register, picochip_function_arg,
      	picochip_output_label, picochip_output_internal_label,
      	picochip_asm_output_opcode, picochip_output_cbranch,
      	picochip_output_compare, picochip_output_branch,
      	picochip_get_vliw_alu_id): Remove trailing '.' and '\n' from
      	diagnostics. Start diagnostics with lowercase letters.  Use %' in
      	diagnostics.
      	* config/rs6000/rs6000.c (rs6000_option_override_internal): Use
      	"SPE" capitalization.  Start diagnostic with a lowercase letter.
      	(rs6000_handle_option): Start diagnostics with lowercase letters.
      	(def_builtin): Remove trailing '.' from diagnostic.
      	(rs6000_savres_routine_name): Start diagnostic with a lowercase
      	letter.
      	* config/rs6000/sysv4.h (LINK_OS_FREEBSD_SPEC): Avoid '`' in
      	diagnostic.
      	* config/rx/rx.c (rx_handle_option): Start diagnostic with a
      	lowercase letter.
      	* config/s390/s390.c (s390_option_override) Start diagnostics with
      	lowercase letters.  Use %' in diagnostic.
      	* config/sh/sh.c (sh_output_mi_thunk): Start diagnostics with
      	lowercase letters.
      	* config/sh/symbian-base.c (sh_symbian_mark_dllimport): Use %' in
      	diagnostic.
      	* config/sh/symbian-c.c (sh_symbian_is_dllimported): Use %' in
      	diagnostic.
      	* config/sh/symbian-cxx.c (sh_symbian_is_dllimported): Use %' in
      	diagnostic.
      	* config/sparc/freebsd.h (LINK_SPEC): Avoid '`' in diagnostic.
      	* config/spu/spu.c (spu_option_override): Start diagnostics with
      	lowercase letters.  Use %qs for quoting in diagnostics.
      	(spu_check_builtin_parm): Remove trailing '.' from diagnostics.
      	Use %wd instead of HOST_WIDE_INT_PRINT_DEC in diagnostic .
      	* config/v850/v850.c (construct_save_jarl): Remove trailing '\n'
      	from diagnostic.
      	* convert.c (convert_to_integer, convert_to_vector): Use %' in
      	diagnostics.
      	* dbgcnt.c (dbg_cnt_process_opt): Start diagnostic with lowercase
      	letter and use "cannot" spelling.
      	* expmed.c (extract_fixed_bit_field): Start diagnostic with
      	lowercase letter and format as a single sentence without '.'.
      	* ggc-common.c (write_pch_globals, gt_pch_save, gt_pch_restore):
      	Use %' in diagnostics.
      	* ggc-page.c (ggc_pch_write_object, ggc_pch_finish, ggc_pch_read):
      	Use %' in diagnostics.
      	* ggc-zone.c (ggc_pch_write_object, ggc_pch_finish, ggc_pch_read):
      	Use %' in diagnostics.
      	* graph.c (clean_graph_dump_file): Use %' in diagnostic.
      	* graphite-poly.c (graphite_read_scop_file): Start diagnostics
      	with lowercase letters and remove tailing '.' and '\n'.
      	* lto-cgraph.c (input_profile_summary): Start diagnostic with
      	lowercase letter and remove trailing '.'.
      	(input_cgraph): Start diagnostics with lowercase letters and
      	remove trailing '\n'.
      	* opts.c (finish_options, common_handle_option): Start diagnostics
      	with lowercase letters and remove trailing '.'.  Fix typo in
      	diagnostic.
      	* passes.c (position_pass): Start diagnostic with lowercase
      	letter.	
      	* plugin.c (add_new_plugin, parse_plugin_arg_opt,
      	register_callback, try_init_one_plugin): Start diagnostics with
      	lowercase letters.
      	* reload1.c (spill_failure): Use %' in diagnostic.
      	(gen_reload): Start diagnostic with a lowercase letter.
      	* stor-layout.c (place_field): Start diagnostic with a lowercase
      	letter.
      	* toplev.c (open_auxiliary_file): Use %' in diagnostic.
      	* tree-cfg.c (verify_expr, verify_types_in_gimple_reference,
      	verify_gimple_call, verify_gimple_phi, verify_eh_throw_stmt_node):
      	Start diagnostics with lowercase letters, remove trailing '.' and
      	use %' in diagnostics.
      	* tree-ssa.c (verify_def): Remove trailing '.' from diagnostic.
      	(verify_ssa): Don't split diagnostic across two error calls.
      	Spell out "number" and use %' in diagnostic.
      	* value-prof.c (visit_hist, check_counter): Start diagnostics with
      	lowercase letters.
      
      c-family:
      	* c-common.c (handle_mode_attribute): Use %' and word "signedness"
      	in diagnostic.
      	* c-opts.c (c_common_parse_file): Start diagnostics with lowercase
      	letter.
      	* c-pragma.c (handle_pragma_target, handle_pragma_optimize):
      	Remove trailing '.' from diagnostics.
      	* c.opt (Wwrite-strings_: Avoid '`' in help text.
      
      cp:
      	* cvt.c (cp_convert_to_pointer): Use %' in diagnostic.
      	* decl.c (layout_var_decl, maybe_commonize_var, grokdeclarator):
      	Use %' in diagnostics.
      	* decl2.c (check_classfn): Use %' in diagnostic.
      	* init.c (build_java_class_ref): Use %' in diagnostic.
      	(build_delete): Remove trailing '.' from diagnostic.
      	* method.c (do_build_copy_assign, walk_field_subobs): Use %' in
      	diagnostics.
      	* name-lookup.c (pushdecl_maybe_friend): Use %' in diagnostic.
      	* parser.c (cp_parser_exception_specification_opt): Remove
      	trailing '.' from diagnostic.
      	(cp_parser_objc_interstitial_code): Use %qs for quoting in
      	diagnostic.
      	* pt.c (check_valid_ptrmem_cst_expr): Use %< and %> for quoting in
      	diagnostic.
      	* repo.c (reopen_repo_file_for_write): Use %' in diagnostic.
      
      fortran:
      	* trans-array.c (gfc_trans_deferred_array): Use "front-end"
      	spelling in diagnostic.
      	* trans.c (gfc_allocate_array_with_status): Add missing space in
      	diagnostic.
      
      java:
      	* expr.c (expand_java_field_op): Use %' in diagnostic.
      	* jcf-parse.c (java_parse_file): Use %' in diagnostics.
      	* jvspec.c (lang_specific_driver): Use %' in diagnostic.
      	* lang.c (java_post_options): Use %' in diagnostics.
      
      lto:
      	* lto.c (lto_resolution_read): Start diagnostics with lowercase
      	letters and remove trailing '.'.
      	(lto_file_finalize): Start diagnostic with a lowercase letter.
      
      objc:
      	* objc-act.c (objc_init): Use %' in diagnostic.
      	(objc_set_method_opt): Remove trailing '.' from diagnostic.
      
      From-SVN: r166570
      Joseph Myers committed
  31. 06 Nov, 2010 1 commit
    • re PR middle-end/46314 (frontends use ASM_GENERATE_INTERNAL_LABEL) · 4ee3b013
      	PR middle-end/46314
      gcc:
      	* target.def (generate_internal_label): New asm_out hook.
      	* output.h (default_generate_internal_label): Declare.
      	* varasm.c (default_generate_internal_label): Define.
      gcc/cp:
      	* method.c (make_alias_for_thunk):
      	Use targetm.asm_out.generate_internal_label.
      gcc/java:
      	* class.c: Include target.h.
      	(make_local_function_alias):
      	Use targetm.asm_out.generate_internal_label.
      	* expr.c (lookup_label, generate_name): Likewise.
      
      From-SVN: r166404
      Joern Rennecke committed
  32. 03 Nov, 2010 1 commit
    • re PR bootstrap/44335 (gcc-4.6-20100529 java bootstrap failure on arm-linux-gnueabi) · 2e681adf
      	PR bootstrap/44335
      gcc:
      	* targhooks.c (targhook_words_big_endian): New function.
      	(targhook_float_words_big_endian): Likewise.
      	* targhooks.h (targhook_words_big_endian): Declare.
      	(targhook_float_words_big_endian): Likewise.
      	* target.def (words_big_endian, float_words_big_endian): New hooks.
      gcc/java:
      	* jfc-parse.c (target.h): Include.
      	(handle_constant): Use targetm.words_big_endian and
      	targetm.float_words_big_endian.
      	(get_constant): Use targetm.float_words_big_endian.
      
      From-SVN: r166238
      Joern Rennecke committed
  33. 13 Oct, 2010 1 commit
  34. 12 Oct, 2010 1 commit
    • flag-types.h: New. · f938f60c
      	* flag-types.h: New.
      	* Makefile.in (TH_H): Include $(OPTIONS_H) instead of $(FLAGS_H).
      	(FLAGS_H): Include flag-types.h.  Include $(OPTIONS_H) instead of
      	options.h.
      	(OPTIONS_H): Define.
      	(c-family/c-opts.o, lto-opts.o, opts.o): Use $(OPTIONS_H) instead
      	of options.h.
      	* configure.ac (tm_include_list): Include options.h not flags.h.
      	* configure: Regenerate.
      	* flags.h: Include flag-types.h.  Include options.h at top of file
      	again.
      	(enum debug_info_type, enum debug_info_level, enum
      	debug_info_usage, enum symbol_visibility, struct visibility_flags,
      	enum ira_algorithm, enum ira_region, enum excess_precision, enum
      	graph_dump_types, enum stack_check_type, enum
      	warn_strict_overflow_code): Move to flag-types.h
      	* opth-gen.awk: Include flag-types.h in options.h.
      
      ada:
      	* gcc-interface/Make-lang.in (ada/misc.o): Use $(OPTIONS_H)
      	instead of options.h.
      
      java:
      	* Make-lang.in (java/lang.o): Use $(OPTIONS_H) instead of
      	options.h.
      
      From-SVN: r165362
      Joseph Myers committed
  35. 11 Oct, 2010 1 commit
  36. 08 Oct, 2010 1 commit
    • Makefile.in (TM_H): Include $(FLAGS_H) instead of options.h. · a75bfaa6
      	* Makefile.in (TM_H): Include $(FLAGS_H) instead of options.h.
      	(TREE_H): Include $(FLAGS_H) instead of options.h.
      	(opts-common.o): Depend on $(FLAGS_H) instead of options.h.
      	* c-objc-common.h (LANG_HOOKS_INIT_OPTIONS_STRUCT): Define.
      	* common.opt (flag_complex_method, flag_evaluation_order,
      	flag_ira_algorithm, flag_ira_region, flag_warn_unused_result): New
      	Variable declarations.
      	* configure.ac (tm_include_list): Include flags.h instead of
      	options.h.
      	* configure: Regenerate.
      	* flags.h: Condition out contents for target libraries.  Include
      	options.h at end of file.
      	(flag_complex_method, flag_ira_algorithm, flag_ira_region,
      	flag_evaluation_order, flag_warn_unused_result): Remove.
      	* gcc.c (main): Intialize global_options with global_options_init.
      	* langhooks-def.h (lhd_init_options_struct): Declare.
      	(LANG_HOOKS_INIT_OPTIONS_STRUCT): Define.
      	(LANG_HOOKS_INITIALIZER): Include LANG_HOOKS_INIT_OPTIONS_STRUCT.
      	* langhooks.c (lhd_init_options_struct): New.
      	* langhooks.h (struct lang_hooks): Add init_options_struct.
      	Update comment on init_options.
      	* optc-gen.awk: Generate initializer for global_options_init, not
      	global_options.
      	* opth-gen.awk: Condition out structure declarations for target
      	libraries.  Declare global_options_init.
      	* opts-common.c: Include flags.h instead of options.h.
      	* opts.c (flag_warn_unused_result): Remove.
      	(read_cmdline_options): Take gcc_options parameters.  Pass them to
      	read_cmdline_option.
      	(initial_lang_mask, initial_min_crossjump_insns,
      	initial_max_fields_for_field_sensitive,
      	initial_loop_invariant_max_bbs_in_loop): Define at file scope.
      	(init_options_once): New.  Split out of decode_options.
      	(init_options_struct): New.  Split out of decode_options.
      	(decode_cmdline_options_to_array_default_mask): New.
      	(default_options_optimization): New.  Split out of decode_options.
      	(decode_options): Move most code to other functions.  Update call
      	to read_cmdline_options.
      	(finish_options): New.  Split out of decode_options.
      	* opts.h (decode_options): Add gcc_options parameters.
      	(init_options_once, init_options_struct,
      	decode_cmdline_options_to_array_default_mask): New.
      	* toplev.c (flag_complex_method, flag_ira_algorithm,
      	flag_ira_region, flag_evaluation_order): Remove.
      	(general_init): Use global_options_init for initial flag values
      	for global_dc.
      	(toplev_main): Call init_options_once, init_options_struct,
      	lang_hooks.init_options_struct,
      	decode_cmdline_options_to_array_default_mask and
      	lang_hooks.init_option before decode_options.  Update arguments to
      	decode_options.
      	* tree.h: Include flags.h instead of options.h.
      
      ada:
      	* gcc-interface/misc.c (gnat_init_options_struct): New.  Split out
      	from gnat_init_options.
      	(LANG_HOOKS_INIT_OPTIONS_STRUCT): Define.
      
      c-family:
      	* c-common.c (parse_optimize_options): Call
      	decode_cmdline_options_to_array_default_mask before
      	decode_options.  Update arguments to decode_options.
      	* c-common.h (c_common_init_options_struct): Declare.
      	* c-opts.c (c_common_init_options_struct): New.  Split out from
      	c_common_init_options.
      
      cp:
      	* cp-objcp-common.h (LANG_HOOKS_INIT_OPTIONS_STRUCT): Define.
      
      fortran:
      	* f95-lang.c (LANG_HOOKS_INIT_OPTIONS_STRUCT): Define.
      	* gfortran.h (gfc_init_options_struct): Declare.
      	* options.c (gfc_init_options_struct): New.  Split out from
      	gfc_init_options.
      
      java:
      	* lang.c (java_init_options_struct): New.  Split out from
      	java_init_options.
      	(LANG_HOOKS_INIT_OPTIONS_STRUCT): Define.
      
      lto:
      	* lto-lang.c (lto_init_options): Change to
      	lto_init_options_struct.  Update parameters.
      	(LANG_HOOKS_INIT_OPTIONS): Don't define.
      	(LANG_HOOKS_INIT_OPTIONS_STRUCT): Define.
      
      From-SVN: r165189
      Joseph Myers committed
  37. 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