1. 10 Jun, 2009 1 commit
  2. 08 Jun, 2009 1 commit
    • common.opt (fcompare-debug=, [...]): New. · 2153915d
      gcc/ChangeLog:
      * common.opt (fcompare-debug=, fcompare-debug-second): New.
      (fdump-final-insns=, gtoggle): New.
      * doc/invoke.texi: Document them.
      * final.c (rest_of_clean_state): Dump final insn stream.
      * gcc.c (invoke_as): Hook in -fcompare-debug.
      (static_spec_functions): Add compare-debug-dump-opt,
      compare-debug-self-opt and compare-debug-auxbase-opt.
      (compare_debug, compare_debug_second, compare_debug_opt): New.
      (switches_debug_check, n_switches_debug_check): New.
      (debug_auxbase_opt, debug_check_temp_file): New.
      (process_command): Handle -fno-compare-debug, -fcompare-debug and
      -fcompare-debug=*.
      (do_self_spec): Handle arguments after switches.
      (do_spec_1): Add .gk extension to temp file basenames for compare.
      (check_live_switch): Take SWITCH_IGNORE into account, and earlier.
      (cc1_options): Use it instead of normal auxbase computation for
      the second compare-debug compilation.
      (compare_files): New.
      (main): Set up and implement compare debug mode.
      (compare_debug_dump_opt_spec_function): New.
      (compare_debug_self_opt_spec_function): New.
      (compare_debug_auxbase_opt_spec_function): New.
      * toplev.c (process_options): Handle flag_gtoggle,
      flag_dump_final_insns.
      * coverage.c (coverage_begin_output): Don't overwrite .gcno file
      during -fcompare-debug-second compilation.
      gcc/cp/ChangeLog:
      * repo.c (get_base_filename): Use aux_base_name rather than
      alternate temporary file during second compare debug compilation.
      (finish_repo): Skip during -fcompare-debug-second.
      gcc/ada/ChangeLog:
      * lib-writ.adb (flag_compare_debug): Import.
      (Write_ALI): Skip during -fcompare-debug-second.
      gcc/fortran/ChangeLog:
      * options.c (gfc_post_options): Disable dump_parse_tree
      during -fcompare-debug-second.
      gcc/objc/ChangeLog:
      * objc-act.c (objc_init): Skip print_struct_values during
      -fcompare-debug-second.
      
      From-SVN: r148271
      Alexandre Oliva committed
  3. 04 Jun, 2009 1 commit
  4. 02 Jun, 2009 1 commit
  5. 01 Jun, 2009 1 commit
    • attribs.c (register_attribute): Use CONST_CAST. · 67165eb3
      ./:	* attribs.c (register_attribute): Use CONST_CAST.
      	* collect2.c (main): Use CONST_CAST2.
      	(scan_prog_file): Likewise.
      	* gcc.c (process_command, main): Likewise.
      	* toplev.c (toplev_main): Likewise.
      
      	* c-typeck.c (handle_warn_cast_qual): New static function,
      	partially broken out of build_c_cast.
      	(build_c_cast): Call handle_warn_cast_qual.
      	* doc/invoke.texi (Warning Options): Document new effect of
      	-Wcast-qual.
      ./java:	* jcf-io.c (find_class): Use CONST_CAST.
      ./testsuite:	* gcc.dg/cast-qual-3.c: New testcase.
      	* g++.dg/warn/Wcast-qual2.C: New testcase.
      
      From-SVN: r148053
      Ian Lance Taylor committed
  6. 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
  7. 01 May, 2009 1 commit
    • configure.ac (HAVE_LD_BUILDID): New check for ld --build-id support. · cd533689
      	* configure.ac (HAVE_LD_BUILDID): New check for ld --build-id
      	support.
      	(ENABLE_LD_BUILDID): New configuration option.
      	* gcc.c [HAVE_LD_BUILDID and ENABLE_LD_BUILDID]
      	(LINK_BUILDID_SPEC): New macro.
      	(init_spec): If defined, prepend it between LINK_EH_SPEC and
      	link_spec.
      	* doc/install.texi: Document --enable-linker-build-id option.
      	* configure: Rebuild.
      	* config.in: Rebuild.
      
      Co-Authored-By: Roland McGrath <roland@redhat.com>
      
      From-SVN: r147029
      Paul Pluzhnikov committed
  8. 22 Apr, 2009 1 commit
  9. 17 Apr, 2009 1 commit
  10. 16 Apr, 2009 1 commit
    • common.opt (fversion): New. · 41fd0f9b
      2009-04-16  Rafael Avila de Espindola  <espindola@google.com>
      
      	* common.opt (fversion): New.
      	* gcc.c (print_version): New.
      	(process_command): Don't print the version. Just set print_version.
      	(main): Print version. Call subprocesses if print_version and
      	verbose_flag are set.
      	* opts.c (common_handle_option): Handle OPT_fversion.
      
      From-SVN: r146183
      Rafael Avila de Espindola committed
  11. 08 Apr, 2009 1 commit
  12. 02 Apr, 2009 1 commit
  13. 17 Mar, 2009 1 commit
    • re PR middle-end/37805 (gcc --help=separate) · 0631b69f
      gcc/
      	PR middle-end/37805
      	* opts.c (print_specific_help): In addition to `undocumented',
      	accept `separate' and `joined' flags if passed alone.  Describe
      	output by the first matched one of those.
      	(common_handle_option): Skip over empty strings.
      	* gcc.c (display_help): Fix help string for `--help='.
      	* doc/invoke.texi (Option Summary, Overall Options): With
      	`--help=', classes and qualifiers can both be repeated, but
      	only the latter can be negated.  One should not pass only
      	negated qualifiers.  Fix markup and examples.
      
      From-SVN: r144921
      Ralf Wildenhues committed
  14. 01 Mar, 2009 2 commits
  15. 12 Feb, 2009 1 commit
  16. 03 Feb, 2009 1 commit
    • gcc.c (process_command): Update copyright notice dates. · d4f4bc84
      	* 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.
      
      	* gfortranspec.c (lang_specific_driver): Update copyright notice
      	dates.
      
      	* jcf-dump.c (version): Update copyright notice dates.
      
      	* mf-runtime.c (__mf_usage): Update copyright notice dates.
      
      	* gnu/gcj/convert/Convert.java (version): Update copyright notice
      	dates.
      	* gnu/gcj/tools/gcj_dbtool/Main.java (main): Likewise.
      
      	* gnu/java/rmi/registry/RegistryImpl.java (version): Update
      	copyright notice dates.
      	* tools/gnu/classpath/tools/orbd/Main.java (run): Likewise.
      
      From-SVN: r143907
      Jakub Jelinek committed
  17. 13 Jan, 2009 1 commit
  18. 29 Dec, 2008 1 commit
  19. 15 Nov, 2008 1 commit
  20. 06 Nov, 2008 1 commit
  21. 12 Aug, 2008 1 commit
  22. 07 Aug, 2008 1 commit
  23. 07 Jul, 2008 2 commits
  24. 27 Jun, 2008 1 commit
    • c-format.c (handle_format_attribute): Fix -Wc++-compat and/or -Wcast-qual warnings. · 5ead67f6
      	* c-format.c (handle_format_attribute): Fix -Wc++-compat and/or
      	-Wcast-qual warnings.
      	* c-pragma.c (dpm_eq, handle_pragma_push_macro,
      	handle_pragma_pop_macro): Likewise.
      	* collect2.c (resolve_lib_name): Likewise.
      	* config/arc/arc.c (arc_init): Likewise.
      	* config/arm/arm.c (neon_builtin_compare,
      	locate_neon_builtin_icode): Likewise.
      	* config/arm/pe.c (arm_mark_dllexport, arm_pe_unique_section):
      	Likewise.
      	* config/bfin/bfin.c (bfin_init_machine_status,
      	bfin_optimize_loop): Likewise.
      	* config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Likewise.
      	* config/cris/cris.c (cris_init_expanders): Likewise.
      	* config/darwin-c.c (frameworks_in_use, add_framework): Likewise.
      	* config/darwin.c (machopic_indirection_eq,
      	machopic_indirection_name, machopic_output_indirection):
      	Likewise.
      	* config/frv/frv.c (frv_init_machine_status, frv_compare_insns,
      	frv_io_check_address, frv_io_handle_set, frv_io_handle_use_1,
      	frv_optimize_membar): Likewise.
      	* config/i386/cygwin.h (mingw_scan,
      	GCC_DRIVER_HOST_INITIALIZATION): Likewise.
      	* config/i386/cygwin1.c (mingw_scan): Likewise.
      	* config/i386/i386.c (machopic_output_stub): Likewise.
      	* config/i386/winnt.c (gen_stdcall_or_fastcall_suffix,
      	i386_pe_unique_section): Likewise.
      	* config/ia64/ia64.c (ia64_init_machine_status,
      	ia64_h_i_d_extended, get_free_bundle_state, bundling, ia64_reorg):
      	Likewise.
      	* config/iq2000/iq2000.c, iq2000_init_machine_status): Likewise.
      	* config/m68hc11/m68hc11.c (m68hc11_encode_label): Likewise.
      	* config/m68k/m68k.c (m68k_handle_option,
      	m68k_sched_md_init_global): Likewise.
      	* config/mcore/mcore.c (mcore_mark_dllexport,
      	mcore_mark_dllimport, mcore_unique_section): Likewise.
      	* config/mips/mips.c (mips_block_move_straight,
      	mips16_rewrite_pool_refs, mips_sim_wait_regs_2,
      	mips_sim_record_set): Likewise.
      	* config/mmix/mmix.c (mmix_init_machine_status,
      	mmix_encode_section_info): Likewise.
      	* config/pa/pa.c (pa_init_machine_status, hppa_encode_label):
      	Likewise.
      	* config/rs6000/rs6000.c (rs6000_init_machine_status,
      	print_operand_address, output_toc, redefine_groups,
      	rs6000_elf_encode_section_info, machopic_output_stub): Likewise.
      	* config/s390/s390.c (s390_init_machine_status): Likewise.
      	* config/score/score.c (score_block_move_straight,
      	score_block_move_loop_body): Likewise.
      	* config/sparc/sparc.c (sparc_init_machine_status): Likewise.
      	* config/xtensa/xtensa.c (xtensa_init_machine_status): Likewise.
      	* emit-rtl.c (find_auto_inc): Likewise.
      	* gcc.c (translate_options, process_command): Likewise.
      	* reorg.c (dbr_schedule): Likewise.
      	* sdbout.c (sdbout_start_source_file, sdbout_init): Likewise.
      	* xcoffout.c (xcoffout_declare_function): Likewise.
      
      From-SVN: r137191
      Kaveh R. Ghazi committed
  25. 26 Jun, 2008 1 commit
    • cse.c (approx_reg_cost_1, cse_insn): Fix -Wc++-compat and/or -Wcast-qual warnings. · 7cbb2a85
      	* cse.c (approx_reg_cost_1, cse_insn): Fix -Wc++-compat and/or
      	-Wcast-qual warnings.
      	* gcc.c (process_command): Likewise.
      	* genattrtab.c (oballoc): Use XOBNEW.
      	(oballocvec): Define.
      	(attr_hash_add_rtx, attr_hash_add_string, attr_string,
      	get_attr_value, fill_attr, make_length_attrs, gen_attr, gen_insn,
      	gen_delay, find_attr, gen_insn_reserv, gen_bypass_1): Fix
      	-Wc++-compat and/or -Wcast-qual warnings.
      	* genautomata.c (XCREATENODE, XCREATENODEVEC, XCREATENODEVAR,
      	XCOPYNODE, XCOPYNODEVEC, XCOPYNODEVAR): New.
      	(gen_cpu_unit, gen_query_cpu_unit, gen_bypass, gen_excl_set,
      	gen_presence_absence_set, gen_automaton, gen_regexp_el,
      	gen_regexp_repeat, gen_regexp_allof, gen_regexp_oneof,
      	gen_regexp_sequence, gen_reserv, gen_insn_reserv, process_excls,
      	add_excls, process_presence_absence_names,
      	process_presence_absence_patterns, add_presence_absence,
      	process_regexp, add_advance_cycle_insn_decl, get_free_alt_state,
      	get_free_state, add_arc, get_free_automata_list_el,
      	form_reserv_sets_list, copy_insn_regexp, transform_1, transform_2,
      	transform_3, cache_presence, create_ainsns, create_automata,
      	create_state_ainsn_table, dfa_insn_code_enlarge,
      	output_trans_func, output_min_issue_delay_func,
      	output_dead_lock_func, output_reset_func,
      	output_get_cpu_unit_code_func, output_dfa_start_func,
      	expand_automata): Likewise.
      	* genextract.c (gen_insn): Likewise.
      	* gengtype-lex.l: Likewise.
      	* gengtype.c (read_input_list, adjust_field_type,
      	process_gc_options): Likewise.
      	* genoutput.c (note_constraint): Likewise.
      	* genpreds.c (mangle, add_constraint): Likewise.
      	* genrecog.c (process_define_predicate, new_decision,
      	add_to_sequence): Likewise.
      	* gensupport.c (record_insn_name): Likewise.
      
      From-SVN: r137135
      Kaveh R. Ghazi committed
  26. 20 Jun, 2008 1 commit
    • collect2.c (main, [...]): Fix for -Wc++-compat. · e1e4cdc4
      	* collect2.c (main, add_to_list): Fix for -Wc++-compat.
      	* gcc.c (translate_options, init_spec, store_arg, read_specs,
      	add_to_obstack, file_at_path, find_a_file, execute,
      	add_preprocessor_option, add_assembler_option, add_linker_option,
      	process_command, insert_wrapper, do_option_spec, do_self_spec,
      	spec_path, do_spec_1, is_directory, main, used_arg,
      	getenv_spec_function): Likewise.
      	* tlink.c (symbol_hash_lookup, file_hash_lookup,
      	demangled_hash_lookup, symbol_push, file_push, frob_extension):
      	Likewise.
      	
      java:
      	* class.c (ident_subst, mangled_classname, unmangle_classname,
      	gen_indirect_dispatch_tables, add_method_1,
      	build_fieldref_cache_entry, make_local_function_alias,
      	layout_class, java_treetreehash_find, java_treetreehash_new,
      	split_qualified_name): Fix for -Wc++-compat.
      	* constants.c (set_constant_entry, cpool_for_class): Likewise.
      	* decl.c (make_binding_level, java_dup_lang_specific_decl,
      	start_java_method): Likewise.
      	* except.c (prepare_eh_table_type): Likewise.
      	* expr.c (type_assertion_hash, note_instructions): Likewise.
      	* java-tree.h (MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC,
      	MAYBE_CREATE_TYPE_TYPE_LANG_SPECIFIC): Likewise.
      	* jcf-io.c (jcf_filbuf_from_stdio, opendir_in_zip, find_class):
      	Likewise.
      	* jcf-parse.c (reverse, java_read_sourcefilenames,
      	annotation_grow, rewrite_reflection_indexes, java_parse_file,
      	process_zip_dir): Likewise.
      	* jcf-path.c (add_entry, add_path, jcf_path_init,
      	jcf_path_extdirs_arg): Likewise.
      	* jcf-reader.c (jcf_parse_constant_pool): Likewise.
      	* jvgenmain.c (do_mangle_classname): Likewise.
      	* lang.c (put_decl_string): Likewise.
      	* verify-impl.c (make_state_copy, make_state, add_new_state):
      	Likewise.
      
      objc:
      	* objc-act.c (setup_string_decl, objc_build_string_object,
      	hash_interface, eq_interface, objc_begin_try_stmt,
      	encode_method_prototype, build_ivar_list_initializer,
      	objc_build_encode_expr): Fix for -Wc++-compat.
      
      From-SVN: r136980
      Kaveh R. Ghazi committed
  27. 06 Jun, 2008 1 commit
    • cgraph.c: Fix typos in comments. · fa10beec
      gcc/
      	* cgraph.c: Fix typos in comments.
      	(cgraph_availability_names): Fix string typo.
      	* fold-const.c: Fix typos in comments.
      	(fold_binary): Fix typo in warning.
      	* genautomata.c: Fix typos in comments.
      	(check_presence_pattern_sets): Fix typo in local variable.
      	(output_description): Fix typo in output.
      	* ggc-zone.c (ggc_pch_finish): Fix typo in error message.
      	* hwint.h: Likewise.
      	* matrix-reorg.c (check_allocation_function): Likewise.
      	* omega.c (smooth_weird_equations): Likewise.
      	* auto-inc-dec.c: Fix typos in comments.
      	* bb-reorder.c: Likewise.
      	* builtins.c: Likewise.
      	* c-common.c: Likewise.
      	* c-cppbuiltin.c: Likewise.
      	* c-parser.c: Likewise.
      	* c-pretty-print.c: Likewise.
      	* cfgcleanup.c: Likewise.
      	* cfgexpand.c: Likewise.
      	* cfghooks.c: Likewise.
      	* cfglayout.c: Likewise.
      	* cfgloopmanip.c: Likewise.
      	* cgraphunit.c: Likewise.
      	* coverage.c: Likewise.
      	* dbxout.c: Likewise.
      	* df-byte-scan.c: Likewise.
      	* df-core.c: Likewise.
      	* df-problems.c: Likewise.
      	* df-scan.c: Likewise.
      	* dfp.c: Likewise.
      	* dominance.c: Likewise.
      	* domwalk.c: Likewise.
      	* dse.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* emit-rtl.c: Likewise.
      	* et-forest.c: Likewise.
      	* function.c: Likewise.
      	* function.h: Likewise.
      	* gcc.c: Likewise.
      	* gcov-io.c: Likewise.
      	* gcov.c: Likewise.
      	* gcse.c: Likewise.
      	* genattrtab.c: Likewise.
      	* ggc-page.c: Likewise.
      	* gimplify.c: Likewise.
      	* gthr-lynx.h: Likewise.
      	* haifa-sched.c: Likewise.
      	* ipa-cp.c: Likewise.
      	* ipa-inline.c: Likewise.
      	* ipa-prop.h: Likewise.
      	* ipa-pure-const.c: Likewise.
      	* ipa-struct-reorg.c: Likewise.
      	* ipa-struct-reorg.h: Likewise.
      	* ipa-type-escape.c: Likewise.
      	* ipa.c: Likewise.
      	* loop-doloop.c: Likewise.
      	* mips-tfile.c: Likewise.
      	* mkmap-flat.awk: Likewise.
      	* mkmap-symver.awk: Likewise.
      	* modulo-sched.c: Likewise.
      	* omp-low.c: Likewise.
      	* optabs.c: Likewise.
      	* optabs.h: Likewise.
      	* opts.c: Likewise.
      	* passes.c: Likewise.
      	* postreload-gcse.c: Likewise.
      	* postreload.c: Likewise.
      	* predict.c: Likewise.
      	* pretty-print.h: Likewise.
      	* profile.c: Likewise.
      	* protoize.c: Likewise.
      	* ra-conflict.c: Likewise.
      	* real.c: Likewise.
      	* recog.c: Likewise.
      	* regclass.c: Likewise.
      	* regs.h: Likewise.
      	* reload.c: Likewise.
      	* rtl-error.c: Likewise.
      	* rtlanal.c: Likewise.
      	* scan.h: Likewise.
      	* sched-rgn.c: Likewise.
      	* see.c: Likewise.
      	* stmt.c: Likewise.
      	* target.h: Likewise.
      	* tree-dfa.c: Likewise.
      	* tree-eh.c: Likewise.
      	* tree-flow-inline.h: Likewise.
      	* tree-inline.c: Likewise.
      	* tree-into-ssa.c: Likewise.
      	* tree-loop-distribution.c: Likewise.
      	* tree-nested.c: Likewise.
      	* tree-parloops.c: Likewise.
      	* tree-pass.h: Likewise.
      	* tree-pretty-print.c: Likewise.
      	* tree-profile.c: Likewise.
      	* tree-scalar-evolution.c: Likewise.
      	* tree-sra.c: Likewise.
      	* tree-ssa-alias-warnings.c: Likewise.
      	* tree-ssa-ccp.c: Likewise.
      	* tree-ssa-coalesce.c: Likewise.
      	* tree-ssa-dom.c: Likewise.
      	* tree-ssa-dse.c: Likewise.
      	* tree-ssa-forwprop.c: Likewise.
      	* tree-ssa-live.c: Likewise.
      	* tree-ssa-live.h: Likewise.
      	* tree-ssa-loop-im.c: Likewise.
      	* tree-ssa-loop-ivopts.c: Likewise.
      	* tree-ssa-loop-niter.c: Likewise.
      	* tree-ssa-loop-prefetch.c: Likewise.
      	* tree-ssa-phiopt.c: Likewise.
      	* tree-ssa-phiprop.c: Likewise.
      	* tree-ssa-sccvn.c: Likewise.
      	* tree-ssa-ter.c: Likewise.
      	* tree-ssa-threadupdate.c: Likewise.
      	* tree-ssa.c: Likewise.
      	* tree-vect-analyze.c: Likewise.
      	* tree-vect-transform.c: Likewise.
      	* tree-vectorizer.c: Likewise.
      	* tree-vn.c: Likewise.
      	* tree-vrp.c: Likewise.
      	* tree.c: Likewise.
      	* tree.def: Likewise.
      	* tree.h: Likewise.
      	* unwind-dw2-fde.c: Likewise.
      	* unwind.inc: Likewise.
      	* value-prof.c: Likewise.
      	* vmsdbgout.c: Likewise.
      
      From-SVN: r136425
      Ralf Wildenhues committed
  28. 30 Apr, 2008 1 commit
    • gcc.c (wrapper_string): New variable. · fe7df9c4
      2008-04-30  Seongbae Park  <seongbae.park@gmail.com>
      
      	* gcc.c (wrapper_string): New variable.
      	(insert_wrapper): New function.
      	(execute): New option -wrapper.
      	* doc/invoke.texi (Overall Options): New driver option -wrapper.
      
      From-SVN: r134832
      Seongbae Park committed
  29. 06 Apr, 2008 1 commit
  30. 02 Mar, 2008 1 commit
    • re PR driver/35420 (--version copyright date vs. 2008) · 0e5997c0
      	PR driver/35420
      	* 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.
      
      	* jcf-dump.c (version): Update copyright notice dates.
      
      	* gfortranspec.c (lang_specific_driver): Update copyright notice
      	dates.
      
      	* mf-runtime.c (__mf_usage): Update copyright notice dates.
      
      	* gnu/gcj/convert/Convert.java (version): Update copyright notice
      	dates.
      	* gnu/gcj/tools/gcj_dbtool/Main.java (main): Likewise.
      
      	* gnu/java/rmi/registry/RegistryImpl.java (version): Update
      	copyright notice dates.
      	* tools/gnu/classpath/tools/orbd/Main.java (run): Likewise.
      
      From-SVN: r132823
      Jakub Jelinek committed
  31. 24 Jan, 2008 1 commit
    • re PR driver/34904 (-march=native doesn't work with multiple input files) · 3371362c
      2008-01-24  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR driver/34904
      	* gcc.c (SWITCH_OK): Removed.
      	(SWITCH_LIVE): Changed to bit.
      	(SWITCH_FALSE): Likewise.
      	(SWITCH_IGNORE): Likewise.
      	(switchstr): Change live_cond to unsigned int.
      	(process_command): Replace SWITCH_OK with 0.
      	(do_self_spec): Likewise.
      	(set_collect_gcc_options): Check the SWITCH_IGNORE bit.
      	(give_switch): Likewise.
      	(used_arg): Likewise.
      	(do_spec_1): Set the SWITCH_IGNORE bit.
      	(check_live_switch): Check both SWITCH_LIVE and SWITCH_FALSE
      	bits.  Set the SWITCH_LIVE bit.
      
      From-SVN: r131802
      H.J. Lu committed
  32. 16 Jan, 2008 1 commit
  33. 16 Nov, 2007 1 commit
  34. 01 Nov, 2007 1 commit
  35. 13 Sep, 2007 1 commit
  36. 09 Sep, 2007 1 commit
  37. 03 Sep, 2007 2 commits
    • system.h (CONST_CAST2, [...]): New macros for type-specific casts. · b1d5455a
      	* system.h (CONST_CAST2, CONST_CAST_TREE, CONST_CAST_RTX,
      	CONST_CAST_BB): New macros for type-specific casts.
      	(CONST_CAST): Add a TYPE parameter and define it in terms of
      	CONST_CAST2.
      
      	* c-decl.c (c_make_fname_decl): Supply a TYPE for CONST_CAST.
      	* c-lex.c (cb_ident, lex_string): Likewise,
      	* c-typeck.c (free_all_tagged_tu_seen_up_to): Likewise,
      	* config/i386/i386.c (ix86_function_regparm,
      	ix86_function_sseregparm): Use CONST_CAST_TREE.
      	* config/mmix/mmix.c (mmix_encode_section_info): Supply a TYPE for
      	CONST_CAST.
      	* gcc.c (set_spec, read_specs, for_each_path, execute, do_spec_1,
      	give_switch, set_multilib_dir): Likewise,
      	* gengtype-parse.c (string_seq, typedef_name): Likewise,
      	* gimple-low.c (block_may_fallthru): Use CONST_CAST_TREE.
      	* jump.c (reversed_comparison_code_parts): Use CONST_CAST_RTX.
      	* passes.c (execute_one_pass): Supply a TYPE for CONST_CAST.
      	* prefix.c (update_path): Likewise,
      	* pretty-print.c (pp_base_destroy_prefix): Likewise,
      	* rtlanal.c (keep_with_call_p): Use CONST_CAST_RTX.
      	* tree-cfg.c (tree_can_merge_blocks_p,
      	tree_block_ends_with_condjump_p): Use CONST_CAST_BB.
      	* tree-eh.c (lookup_stmt_eh_region_fn): USe CONST_CAST_TREE.
      	* tree.c (build_string): Supply a TYPE for CONST_CAST.
      	(attribute_list_contained): Use CONST_CAST_TREE.
      
      cp:
      	* call.c (name_as_c_string): Supply a TYPE for CONST_CAST.
      	* decl.c (cp_make_fname_decl): Likewise,
      	* parser.c (cp_parser_string_literal): Likewise,
      	* tree.c (pod_type_p, zero_init_p): Use CONST_CAST_TREE.
      	* typeck.c (cp_type_quals, cp_type_readonly, cp_has_mutable_p):
      	Likewise,
      
      fortran:
      	* gfortranspec.c (lang_specific_driver): Use CONST_CAST2.
      	* options.c (gfc_post_options): Supply a TYPE for CONST_CAST.
      	* parse.c (parse_omp_structured_block): Likewise,
      	* st.c (gfc_free_statement): Likewise,
      
      java:
      	* jcf-parse.c (read_class, java_parse_file): Supply a TYPE for
      	CONST_CAST.
      	* jcf.h (JCF_FINISH): Likewise.
      
      From-SVN: r128051
      Kaveh R. Ghazi committed
    • gcc.c (xputenv): New function. · 47d33318
      	* gcc.c (xputenv): New function.
      	(putenv_from_prefixes): Use xputenv instead of putenv.
      	(process_command): Use xputenv instead of putenv.
      	(set_collect_gcc_options): Use xputenv instead of putenv.
      	(main): Use xputenv instead of putenv.
      
      From-SVN: r128046
      Francois-Xavier Coudert committed