1. 06 Dec, 2005 1 commit
  2. 28 Jul, 2005 1 commit
    • hubicka's avatar
      · ed4294da
      hubicka authored
      	* Makefile.in (rtl-profile.o): Kill all traces of it.
      	* common.opt (fspeculative-prefetching, ftree-based-profiling): Kill.
      	* coverage.h (rtl_coverage_counter_ref): Kill.
      	* opts.c (flag_speculative_prefetching_set): Kill.
      	(flag_loop_optimize_set): New.
      	(common_handle_option): Disable loop optimizer when profiling;
      	do not handle speculative prefetching.
      	* passes.c (init_optimization_passes): Replace pass_profiling combo
      	by branch_prob pass.
      	* profile.c (compute_value_histograms): Update for simplified value
      	profiles.
      	(rtl_register_profile_hooks): Kill.
      	(pass_profiling): Kill.
      	(rest_of_handle_branch_prob): Do not profile.
      	* toplev.c (process_options): Remove speculative prefetching.
      	* toplev.h (flag_tree_based_profiling): Kill.
      	* tree-profile.c (prepare_instrumented_value,
      	tree_gen_interval_profiler, tree_gen_pow2_profiler,
      	tree_gen_one_value_profiler, do_tree_profiling): Update for
      	simplified datastructures.
      	* value-prof.c: Add comment that speculative prefetching was dropped;
      	update rest of file for simplified datastructures.
      	(NOPREFETCH_RANGE_MIN, NOPREFETCH_RANGE_MAX,
      	rtl_divmod_values_to_profile, insn_prefetch_values_to_profile,
      	find_mem_reference_1, find_mem_reference_2, find_mem_reference,
      	rtl_values_to_profile, rtl_divmod_fixed_value, rtl_mod_pow2,
      	rtl_mod_subtract, gen_speculative_prefetch,
      	rtl_divmod_fixed_value_transform, rtl_mod_pow2_value_transform,
      	rtl_mod_subtract_transform, speculative_prefetching_transform): Kill.
      	(gate_handle_value_profile_transformations,
      	rest_of_handle_value_profile_transformations,
      	pass_value_profile_transformations): Kill.
      	* value-prof.h (histogram_value_t): Remove IL based unions.
      	(rtl_register_value_prof_hooks, rtl_register_profile_hooks,
      	rtl_profile_hooks): Remove hooks.
      
      	* invoke.texi (-ftree-based-profiling, -fspeculative-prefetching): Kill.
      
      	* inliner-1.c: Do not dump everything.
      	* tree-prof.exp: Do not pass -ftree-based-profiling.
      	* bprob.exp: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102522 138bc75d-0d04-0410-961f-82ee72b054a4
      ed4294da
  3. 19 Jul, 2005 1 commit
    • zadeck's avatar
      2005-07-19 Danny Berlin <dberlin@dberlin.org> · f3976a36
      zadeck authored
      	    Kenneth Zadeck <zadeck@naturalbridge.com>
      
      	* Makefile.in: Removed tree-promote-statics.c
      	* tree-promote-statics.c: Removed.
      	* common.opt: Removed flag-promote-statics.
      	* opts.c: Ditto.
      	* passes.c: Removed tree-promote-statics pass.
      	* tree-pass.h: Ditto.
      	* timevar.def: Removed TV_PROMOTE_STATICS.
      
      
      2005-07-19  Danny Berlin <dberlin@dberlin.org>
      	    Kenneth Zadeck <zadeck@naturalbridge.com>
      
      	* gcc.dg/tree-ssa/sra-2.c: Changed back to -O1 and added xfail.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102165 138bc75d-0d04-0410-961f-82ee72b054a4
      f3976a36
  4. 16 Jul, 2005 1 commit
    • zadeck's avatar
      2005-07-16 Danny Berlin <dberlin@dberlin.org> · f7d118a9
      zadeck authored
      	    Kenneth Zadeck <zadeck@naturalbridge.com>
      
      	* Makefile.in: Added rules for ipa-pure-const.c, ipa-reference.c,
      	ipa-reference.h, ipa-utils.c, ipa-utils.h, ipa-type-escape.c,
      	ipa-type-escape.h, tree-promote-statics.c
      	* ipa-pure-const.c, ipa-reference.c, ipa-reference.h, ipa-utils.c,
      	ipa-utils.h, ipa-type-escape.c, ipa-type-escape.h,
      	tree-promote-statics.c: new files.
      	* alias.c: (nonlocal_mentioned_p_1, nonlocal_mentioned_p,
      	nonlocal_referenced_p_1, nonlocal_referenced_p, nonlocal_set_p_1,
      	int nonlocal_set_p, mark_constant_function): Deleted.
      	(rest_of_handle_cfg): Removed call to mark_constant_function.
              (nonoverlapping_component_refs_p): Added calls to support
      	type based aliasing.
              * tree-ssa-alias.c (may_alias_p,
      	compute_flow_insensitive_aliasing): Ditto.
      	* calls.c (flags_from_decl_or_type): Removed reference to
      	cgraph_rtl_info.
      	(flags_from_decl_or_type): Support ECF_POINTER_NO_CAPTURE attribute.
      	* c-common.c (handle_pointer_no_capture_attribute): New function
      	and added pointer_no_capture attribute.
            	* c-typeck.c (convert_arguments): Make builtins tolerant of having
      	too many arguments.  This is necessary for Spec 2000.
      	* cgraph.h (const_function, pure_function): Removed.
      	* common.opt: Added "fipa-pure-const", "fipa-reference",
      	"fipa-type-escape", and "ftree-promote-static".
      	* opts.c: Ditto.
      	* passes.c: Added ipa and tree-promote-statics passes.
      	* timevar.def: Added TV_IPA_PURE_CONST, TV_IPA_REFERENCE,
      	TV_IPA_TYPE_ESCAPE, and TV_PROMOTE_STATICS.
      	* tree.h: Support ECF_POINTER_NO_CAPTURE attribute.
      	* tree-dfa.c (referenced_var_lookup_if_exists): New function.
      	* tree-flow.h: Added exposed sra calls and addition of
      	reference_vars_info field for FUNCTION_DECLS.
      	* tree-pass.h: Added passes.
      	* tree-sra.c: (sra_init_cache): New function.
      	(sra_insert_before, sra_insert_after) Made public.
      	(type_can_be_decomposed_p): Renamed from type_can_be_decomposed_p
      	and made public.
      	* tree-ssa-alias.c (dump_alias_stats): Added stats for type based
      	aliasing. (may_alias_p): Added code to use type escape analysis to
      	improve alias sets.
      	* tree-ssa-operands.c (add_call_clobber_ops): Added parameter and
      	code to prune clobbers of static variables based on information
      	produced in ipa-reference pass.  Changed call clobbering so that
      	statics are not marked as clobbered if the call does not clobber
      	them.
      
      
      2005-07-16  Danny Berlin <dberlin@dberlin.org>
      	    Kenneth Zadeck <zadeck@naturalbridge.com>
      
      	* gcc.dg/tree-ssa/ssa-dce-2.c: Changed dg-options to run at -O2
      	since pure const detection cannot run at -O1 in c compiler.
      	* gcc.dg/tree-ssa/20030714-1.c Changed scanning patterns because we
      	can now optimize this case properly.
      	* gcc.dg/tree-ssa/sra-2.c: Changed to -O3 and removed xfail
      	because we now pass.
      	* gcc.dg/vect/vect-92.c: Removed out of bounds array access.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102098 138bc75d-0d04-0410-961f-82ee72b054a4
      f7d118a9
  5. 06 Jul, 2005 1 commit
  6. 05 Jul, 2005 1 commit
    • bonzini's avatar
      2005-07-05 Paolo Bonzini <bonzini@gnu.org> · 77fce4cd
      bonzini authored
      	* Makefile.in: Adjust dependencies.
      	* tree-pass.h: Add new passes and passes formerly in tree-optimize.c.
      	* basic-block.h (duplicate_computed_gotos): Remove, it is now static.
      	* alias.c (rest_of_handle_cfg, pass_cfg): New.
      	* bb-reorder.c (duplicate_computed_gotos): Make it static.
      	* cfgexpand.c (tree_expand_cfg): Add code formerly at the beginning of
      	rest_of_compilation.
      
      	* bb-reorder.c (gate_duplicate_computed_gotos,
      	pass_duplicate_computed_gotos, gate_handle_reorder_blocks,
      	rest_of_handle_reorder_blocks, pass_reorder_blocks,
      	gate_handle_partition_blocks, rest_of_handle_partition_blocks,
      	pass_partition_blocks): New.
      	* bt-load.c (gate_handle_branch_target_load_optimize,
      	rest_of_handle_branch_target_load_optimize,
      	pass_branch_target_load_optimize): New.
      	* cfgcleanup.c (rest_of_handle_jump, pass_jump, rest_of_handle_jump2,
      	pass_jump2): New.
      	* cfglayout.c (pass_insn_locators_initialize): New.
      	* cfgrtl.c (pass_free_cfg): New.
      	* combine.c (gate_handle_combine, rest_of_handle_combine,
      	pass_combine): New.
      	* cse.c (gate_handle_cse, rest_of_handle_cse, pass_cse,
      	gate_handle_cse2, rest_of_handle_cse2, pass_cse2): New.
      	* emit-rtl.c (pass_unshare_all_rtl, pass_remove_unnecessary_notes): New.
      	* except.c (pass_set_nothrow_function_flags,
      	pass_convert_to_eh_region_ranges, gate_handle_eh, rest_of_handle_eh,
      	pass_rtl_eh): New.
      	* final.c (pass_compute_alignments, rest_of_handle_final, pass_final,
      	rest_of_handle_shorten_branches, pass_shorten_branches,
      	rest_of_clean_state, pass_clean_state): New.
      	* flow.c (pass_recompute_reg_usage, gate_remove_death_notes,
      	rest_of_handle_remove_death_notes, pass_remove_death_notes,
      	rest_of_handle_life, pass_life, rest_of_handle_flow2,
      	pass_flow2): New.
      	* function.c (pass_instantiate_virtual_regs, pass_init_function,
      	rest_of_handle_check_leaf_regs, pass_leaf_regs): New.
      	* gcse.c (gate_handle_jump_bypass, rest_of_handle_jump_bypass,
      	pass_jump_bypass, gate_handle_gcse, rest_of_handle_gcse,
      	pass_gcse): New.
      	* global.c (rest_of_handle_global_alloc, pass_global_alloc): New.
      	* ifcvt.c (gate_handle_if_conversion, rest_of_handle_if_conversion,
      	pass_rtl_ifcvt, gate_handle_if_after_combine,
      	rest_of_handle_if_after_combine, pass_if_after_combine,
      	gate_handle_if_after_reload, rest_of_handle_if_after_reload,
      	pass_if_after_reload): New.
      	* integrate.c (pass_initial_value_sets): New.
      	* jump.c (pass_cleanup_barriers, purge_line_number_notes,
      	pass_purge_lineno_notes): New.
      	* mode-switching.c (rest_of_handle_mode_switching,
      	pass_mode_switching): New.
      	* local-alloc.c (rest_of_handle_local_alloc, pass_local_alloc): New.
      	* loop-init.c (gate_handle_loop2, rest_of_handle_loop2,
      	pass_loop2): New.
      	* loop.c (gate_handle_loop_optimize, rest_of_handle_loop_optimize,
      	pass_loop_optimize): New.
      	* modulo-sched.c (gate_handle_sms, rest_of_handle_sms,
      	pass_sms): New.
      	* postreload-gcse.c (gate_handle_gcse2, rest_of_handle_gcse2,
      	pass_gcse2): New.
      	* postreload.c (gate_handle_postreload, rest_of_handle_postreload,
      	pass_postreload_cse): New.
      	* profile.c (gate_handle_profiling, pass_profiling,
      	rest_of_handle_branch_prob, pass_branch_prob): New.
      	* recog.c (pass pass_split_for_shorten_branches, gate_do_final_split,
      	pass_split_before_regstack, gate_handle_split_before_regstack,
      	gate_handle_peephole2, rest_of_handle_peephole2, pass_peephole2,
      	rest_of_handle_split_all_insns, pass_split_all_insns): New.
      	* reg-stack.c (gate_handle_stack_regs, rest_of_handle_stack_regs,
      	pass_stack_regs): New.
      	* regmove.c (gate_handle_regmove, rest_of_handle_regmove, pass_regmove,
      	gate_handle_stack_adjustments, rest_of_handle_stack_adjustments,
      	pass_stack_adjustments): New.
      	* regrename.c (gate_handle_regrename, rest_of_handle_regrename,
      	pass_regrename): New.
      	* reorg.c (gate_handle_delay_slots, rest_of_handle_delay_slots,
      	pass_delay_slots, gate_handle_machine_reorg,
      	rest_of_handle_machine_reorg, pass_machine_reorg): New.
      	* rtl.h (extern void purge_line_number_notes): New.
      	* sched-rgn.c (gate_handle_sched, rest_of_handle_sched,
      	gate_handle_sched2, rest_of_handle_sched2, pass_sched,
      	pass_sched2): New.
      	* tracer.c (gate_handle_tracer, rest_of_handle_tracer,
      	pass_tracer): New.
      	* value-prof.c (gate_handle_value_profile_transformations,
      	rest_of_handle_value_profile_transformations,
      	pass_value_profile_transformations): New.
      	* var-tracking.c (gate_handle_var_tracking,
      	pass_variable_tracking): New.
      	* web.c (gate_handle_web, rest_of_handle_web, pass_web): New.
      
      	* passes.c (open_dump_file, close_dump_file, rest_of_handle_final,
      	rest_of_handle_delay_slots, rest_of_handle_stack_regs,
      	rest_of_handle_variable_tracking, rest_of_handle_machine_reorg,
      	rest_of_handle_old_regalloc, rest_of_handle_regrename,
      	rest_of_handle_reorder_blocks, rest_of_handle_partition_blocks,
      	rest_of_handle_sms, rest_of_handle_sched, rest_of_handle_sched2,
      	rest_of_handle_gcse2, rest_of_handle_regmove,
      	rest_of_handle_tracer, rest_of_handle_if_conversion,
      	rest_of_handle_if_after_combine, rest_of_handle_if_after_reload,
      	rest_of_handle_web, rest_of_handle_branch_prob,
      	rest_of_handle_value_profile_transformations, rest_of_handle_cfg,
      	rest_of_handle_jump_bypass, rest_of_handle_combine,
      	rest_of_handle_life, rest_of_handle_cse, rest_of_handle_cse2,
      	rest_of_handle_gcse, rest_of_handle_loop_optimize,
      	rest_of_handle_loop2, rest_of_handle_branch_target_load_optimize,
      	rest_of_handle_mode_switching, rest_of_handle_jump,
      	rest_of_handle_eh, rest_of_handle_stack_adjustments,
      	rest_of_handle_flow2, rest_of_handle_jump2,
      	rest_of_handle_peephole2, rest_of_handle_postreload,
      	rest_of_handle_shorten_branches, rest_of_clean_state,
      	rest_of_compilation): Remove.
      
      	* cgraphunit.c (ipa_passes): Moved from tree-optimize.c.
      	* passes.c (dump_flags, in_gimple_form, all_passes,
      	all_ipa_passes, all_lowering_passes, register_one_dump_file,
      	register_dump_files, next_pass_1, last_verified, execute_todo,
      	execute_one_pass, execute_pass_list, execute_ipa_pass_list): Moved
      	from tree-optimize.c.
      	(init_optimization_passes): Moved from tree-optimize.c,
      	adding the RTL optimizations.
      	* tree-dump.h (dump_info_p, dump_flag): Moved from tree.h.
      	* tree-optimize.c (dump_flags, in_gimple_form, all_passes,
      	all_ipa_passes, all_lowering_passes, register_one_dump_file,
      	register_dump_files, next_pass_1, last_verified, execute_todo,
      	execute_one_pass, execute_pass_list, execute_ipa_pass_list,
      	init_tree_optimization_passes, ipa_passes): Delete.
      	* tree-pass.h (enum tree_dump_index): Moved from tree.h, removing
      	the RTL dumps.
      	(TDF_*, get_dump_file_name, dump_enabled_p, dump_initialized_p,
      	dump_begin, dump_end, dump_node, dump_switch_p, dump_flag_name): Moved
      	from tree.h.
      	(ipa_passes): Remove.
      	(all_passes, all_ipa_passes, all_lowering_passes): Now extern.
      	* tree.h (enum tree_dump_index, TDF_*, get_dump_file_name,
      	dump_enabled_p, dump_initialized_p, dump_begin, dump_end, dump_node,
      	dump_switch_p, dump_flag_name): Moved to tree-pass.h.
      	(dump_info_p, dump_flag): Moved to tree-dump.h.
      
      	* Makefile.in: Adjust dependencies for tree-pretty-print.c,
      	cgraph.c, opts.c.
      	* passes.c (finish_optimization_passes): Use dump_begin
      	and dump_end, TDI_end.
      	(gate_rest_of_compilation): New.
      	(pass_rest_of_compilation): Use it.
      	(gate_postreload, pass_postreload): New.
      	* toplev.c (general_init): Rename init_tree_optimization_passes.
      	* toplev.h (init_tree_optimization_passes): Rename to
      	init_optimizations_passes.
      	* tree-dump.c (dump_flag): Make static.
      	(dump_files): Remove RTL dumps.
      	* tree-optimize.c (pass_all_optimizations, pass_early_local_passes,
      	pass_cleanup_cfg, pass_free_cfg_annotations,
      	pass_cleanup_cfg_post_optimizing, pass_free_datastructures,
      	pass_init_datastructures, pass_fixup_cfg): Make non-static.
      	* tree-pretty-print.c: Include tree-pass.h.
      	* cgraph.c: Include tree-dump.h.
      
      cp:
      2005-07-05  Paolo Bonzini  <bonzini@gnu.org>
      
      	* Makefile.in (class.o, decl2.o): Adjust dependencies.
      	* class.c: Include tree-dump.h.
      	* decl2.c: Include tree-dump.h.
      
      java:
      2005-07-05  Paolo Bonzini  <bonzini@gnu.org>
      
      	* Makefile.in (parse.o): Adjust dependencies.
      	* parse.y: Include tree-dump.h.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101627 138bc75d-0d04-0410-961f-82ee72b054a4
      77fce4cd
  7. 02 Jul, 2005 1 commit
    • jsm28's avatar
      * c.opt, common.opt, config/bfin/bfin.opt, config/pa/pa.opt, · 3284a242
      jsm28 authored
      	config/rs6000/rs6000.opt, params.def: Remove "." from end of help
      	texts.
      	* config/avr/avr.c: Do not use '`' as left quote.
      	* config/rs6000/rs6000.c, config/s390/s390.c, opts.c, tree.c:
      	Remove "." from end of diagnostics.  Make diagnostics start with
      	lowercase letter.
      
      cp:
      	* name-lookup.c, parser.c: Use %q, %< and %> to quote in
      	diagnostics.
      
      fortran:
      	* lang.opt: Remove "." from end of help texts.
      
      objc:
      	* objc-act.c: Use %q to quote in diagnostics.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101533 138bc75d-0d04-0410-961f-82ee72b054a4
      3284a242
  8. 28 Jun, 2005 1 commit
    • pbrook's avatar
      2005-06-28 Paul Brook <paul@codesourcery.com> · 1774763d
      pbrook authored
      gcc/
      	* Makefile.in: Set and use UNWIND_H.  Install as unwind.h.
      	* c-decl.c (finish_decl): Call default_init_unwind_resume_libfunc.
      	* except.c (add_ehspec_entry): Generate arm eabi filter lists.
      	(assign_filter_values): Ditto.
      	(output_ttype): New function.
      	(output_function_exception_table): Use output_ttype.  Generate arm
      	eabi filter lists.
      	(default_init_unwind_resume_libfunc): New function.
      	* except.h (default_init_unwind_resume_libfunc): Add prototype.
      	* optabs.c (init_optabs): Don't set unwind_resume_libfunc.
      	* opts.c (decode_options): Use targetm.unwind_tables_default.
      	* target-def.h (TARGET_ASM_TTYPE): Provide and use definition.
      	(TARGET_ARM_EABI_UNWINDER, TARGET_UNWIND_TABLES_DEFAULT): Ditto.
      	* target.h (struct gcc_target): Add asm.ttype, unwind_tables_default
      	and arm_eabi_unwinder.
      	* unwind-c.c: Support Arm EABI unwinder.
      	* unwind.h: Rename ...
      	* unwind-generic.h: ... To this.
      	* doc/tm.texi (TARGET_ASM_TTYPE, TARGET_ARM_EABI_UNWINDER): Document.
      	(TARGET_UNWID_TABLES_DEFAULT): Document.
      
      	* config/arm/arm-protos.h (arm_output_fn_unwind): Add prototype.
      	* config/arm/arm.c (arm_unwind_emit, arm_output_ttype): New functions.
      	(TARGET_UNWIND_EMIT, TARGET_ASM_TTYPE, TARGET_ARM_EABI_UNWINDER):
      	Define.
      	(thumb_pushpop, thumb_output_function_prologue): Output unwinding
      	directives.
      	(arm_unwind_emit_stm, arm_unwind_emit_set): New functions.
      	* config/arm/arm.h (MUST_USE_SJLJ_EXCEPTIONS): Only define when
      	!TARGET_UNWIND_INFO.
      	(ARM_OUTPUT_FN_UNWIND, ARM_EABI_UNWIND_TABLES): Define.
      	* config/arm/bpabi.h (TARGET_UNWIND_INFO): Define.
      	* config/arm/elf.h (ASM_DECLARE_FUNCTION_NAME,
      	ASM_DECLARE_FUNCTION_SIZE): Use ARM_OUTPUT_FN_UNWIND.
      	* config/arm/lib1funcs.asm: Include libunwind.S.
      	* config/arm/libgcc-bpabi.ver: Add unwinding routines.
      	* config/arm/libunwind.S: New file.
      	* config/arm/pr-support.c: New file.
      	* config/arm/t-bpabi (LIB1ASMFUNCS): Add _unwind.
      	(UNWIND_H, LIB2ADDEH, LIB2ADDEHDEP): Set.
      	* config/arm/t-symbian (UNWIND_H, LIB2ADDEH, LIB2ADDEHDEP): Set.
      	* config/arm/unwind-arm.c: New file.
      	* config/arm/unwind-arm.h: New file.
      	* config/i386/t-netware (USER_H): Remove unwind.h.
      	* config/ia64/ia64.h (TARGET_UNWIND_TABLES_DEFAULT): Define.
      
      gcc/cp/
      	* Make-lang.in (cp/except.o): Depend on $(TARGET_H)
      	* except.c: Include target.h.
      	(init_exception_processing): Initialize unwind_resume_libfunc.
      	* doc/tm.texi: Document TARGET_ASM_TTYPE
      gcc/ada/
      	* misc.c (gnat_init_gcc_eh): Call default_init_unwind_resume_libfunc.
      gcc/java/
      	* decl.c (java_init_decl_processing): Call
      	default_init_unwind_resume_libfunc.
      gcc/objc/
      	* objc-act.c (objc_init_exceptions): Call
      	default_init_unwind_resume_libfunc.
      libstdc++/
      	* acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Check for
      	__cxa_end_cleanup.
      	* libsupc++/Makefile.am (sources): Add eh_call.c and eh_arm.c.
      	* libsupc++/eh_arm.cc: New file.
      	* libsupc++/eh_call.cc: New file.
      	* libsupc++/eh_catch.cc (__cxa_get_exception_ptr): Use
      	__gxx_caught_object.
      	(__cxa_begin_catch): Ditto. Use __is_gxx_exception_class. Call
      	_Unwind_Complete when using the ARM EABI.
      	(__cxa_end_catch): Use __is_gxx_exception_class.
      	* libsupc++/eh_personality.cc: Define NO_SIZE_OF_ENCODED_VALUE when
      	using the ARM EABI.
      	(save_caught_exception, restore_caught_exception): New functions.
      	(_throw_typet): New typedef.
      	(get_ttype_entry, get_adjusted_ptr, check_exception_spec): Add ARM
      	EABI implementations.
      	(PERSONALITY_FUNCTION): Use new functions.  Addd support for ARM EABI
      	unwinding libary.
      	(__cxa_unexpected): Disable when using the ARM EABI.
      	* libsupc++/eh_throw.cc (__cxa_throw): Use __GXX_INIT_EXCEPTION_CLASS.
      	(__cxa_rethrow): Use __is_gxx_exception_class.  Call
      	_Unwind_RaiseException when using the ARM EABI.
      	* libsupc++/unwind-cxx.h (struct __cxa_exception): Add fields for ARM
      	EABI semantics.
      	(struct __cxa_eh_globals): Ditto.
      	(__cxa_call_terminate): Add prototype.
      	(__cxa_type_match, __cxa_begin_cleanup, __cxa_end_cleanup): Add
      	prototypes.
      	(__get_exception_header_from_obj, __get_exception_header_from_ue):
      	Move earlier in file.
      	(__is_gxx_exception_class, __GXX_INIT_EXCEPTION_CLASS,
      	__gxx_caught_object): New functions.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* libmath/Makefile.in: Regenerate.
      	* libsupc++/Makefile.in: Regenerate.
      	* po/Makefile.in: Regenerate.
      	* src/Makefie.in: Regenerate.
      	* testsuite/makefile.in: Regenerate.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101385 138bc75d-0d04-0410-961f-82ee72b054a4
      1774763d
  9. 25 Jun, 2005 1 commit
  10. 24 Jun, 2005 1 commit
  11. 01 Jun, 2005 2 commits
    • rsandifo's avatar
      * system.h (TARGET_OPTIONS, TARGET_SWITCHES): Poison. · 6c3bc3be
      rsandifo authored
      	* opts.h (print_filtered_help): Delete.
      	* opts.c (handle_option, decode_options): Remove calls to
      	set_target_switch.
      	(print_target_help): New function.
      	(common_option, print_help): Call print_target_help instead of
      	display_target_options.
      	(print_filtered_help): Make static.
      	* toplev.h (display_target_options, set_target_switch): Delete.
      	* toplev.c (target_switches, target_options, display_target_options)
      	(set_target_switch): Delete.
      	(print_switch_values): Remove handling of TARGET_SWITCHES and
      	TARGET_OPTIONS.
      	(default_get_pch_validity): Likewise.  Only treat target_flags
      	specially if targetm.check_pch_target_flags is nonnull.
      	(pch_option_mismatch): New function.
      	(default_pch_valid_p): Use it.  Remove handling of TARGET_SWITCHES
      	and TARGET_OPTIONS.  Only treat target_flags specially if
      	targetm.check_pch_target_flags is nonnull.
      	* config/ia64/ia64.c (ia64_override_options): Don't mention
      	TARGET_OPTIONS in comment.
      	* config/m68k/m68k-none.h (CC1_SPEC): Likewise.
      	* doc/invoke.texi: Remove a reference to TARGET_SWITCHES.
      	* doc/tm.texi (TARGET_DEFAULT_TARGET_FLAGS): Don't mention the
      	interaction with TARGET_SWITCHES.
      	(TARGET_@var{featurename}, TARGET_SWITCHES, TARGET_OPTIONS): Delete.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100432 138bc75d-0d04-0410-961f-82ee72b054a4
      6c3bc3be
    • rsandifo's avatar
      * opts.h (cl_option_state): New structure. · 7abcc497
      rsandifo authored
      	(get_option_state): Declare.
      	* opts.c (get_option_state): New function.
      	* toplev.c (option_affects_pch_p): New function.
      	(default_get_pch_validity): Store the state of all options for which
      	option_affects_pch_p returns true.
      	(default_pch_valid_p): Check the state of those options here.
      	Only check target_flags separately if targetm.check_pch_target_Flags
      	is nonnull or if TARGET_SWITCHES is defined.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100430 138bc75d-0d04-0410-961f-82ee72b054a4
      7abcc497
  12. 29 May, 2005 1 commit
  13. 26 May, 2005 1 commit
    • rsandifo's avatar
      * opt-functions.awk (var_type): New function. · 0fe44c73
      rsandifo authored
      	(var_set): Use CLVC_STRING if var_type returns "const char *".
      	* opth-gen.awk: Use var_type to find out the types of variables.
      	Don't print comments above each "extern" definition.
      	* optc-gen.awk: Use var_type in the same way.
      	* opts.h (cl_var_cond): Rename to...
      	(cl_var_type): ...this.  Add CLVC_STRING.
      	(cl_option): Make "flag_var" a "void *" pointer.  Replace "var_cond"
      	with "var_type".
      	* opts.c (handle_option, option_enabled): Update after above name
      	change.  Cast flag_var before using it.  Handle CLVC_STRING.
      
      	* config/alpha/alpha.h (alpha_tls_size): Delete.
      	* config/alpha/alpha.c (alpha_tls_size, alpha_cpu_string)
      	(alpha_tune_string, alpha_tp_string, alpha_fprm_string)
      	(alpha_fptm_string, alpha_mlat_string): Delete.
      	(alpha_handle_option): Don't set the above variables here.  Use the
      	integer argument to check the validity of -mtls-size=.
      	* config/alpha/alpha.opt (mcpu=, mtune=, mfp-rounding-mode=)
      	(mfp-trap-mode=, mtrap-precision=, mmemory-latency=): Add Var()s.
      	(mtls-size=): Likewise.  Convert to a UInteger and initialize the
      	variable to 32.
      
      	* config/arc/arc.c (arc_cpu_string, arc_text_string)
      	(arc_data_string, arc_rodata_string): Delete.
      	(arc_handle_option): Don't set the above variables here.
      	* config/arc/arc.opt (mcpu=, mtext=, mdata=, mrodata=): Add Var()s
      	and initialize them.
      
      	* config/arm/arm.c (target_fpu_name, target_fpe_name)
      	(target_float_abi_name, target_abi_name, structure_size_string)
      	(arm_pic_register_string): Delete.
      	(arm_handle_option): Don't set the above variables here, except
      	in the handling of -mhard-float and -msoft-float.
      	* config/arm/arm.opt (mabi=, mfloat-abi=, mfp=, mfpe=, mfpu=)
      	(mpic-register=, mstructure-size-boundary=): Add Var()s.
      
      	* config/avr/avr.c (avr_init_stack, avr_mcu_name, TARGET_HANDLE_OPTION)
      	(avr_handle_option): Delete.
      	* config/avr/avr.opt (mmcu=, minit-stack=): Add Var()s and initialize
      	them.
      
      	* config/bfin/bfin.c (bfin_library_id): Delete.
      	(bfin_handle_option): Don't set it.
      	* config/bfin/bfin.opt (mshared-library-id=): Add Var().
      
      	* config/c4x/c4x.h (c4x_rpts_cycles): Delete.
      	* config/c4x/c4x.c (c4x_rpts_cycles): Delete.
      	(c4x_handle_option): Don't set c4x_rpts_cycles here.
      	* config/c4x/c4x.opt (mrpts=): Add Var().
      
      	* config/cris/aout.h (CRIS_SUBTARGET_HANDLE_OPTION): Don't set
      	cris_elinux_stacksize_str here.
      	* config/cris/aout.opt (melinux-stacksize=): Add Var().
      	* config/cris/cris.h (cris_max_stackframe_str, cris_cpu_str)
      	(cris_tune_str, cris_elinux_stacksize_str): Delete.
      	* config/cris/cris.c (cris_max_stackframe_str, cris_cpu_str)
      	(cris_tune_str, cris_elinux_stacksize_str): Delete.
      	(cris_handle_option): Don't set the above variables here.
      	* config/cris/cris.opt (mcpu=, march=, mtune=, mmax-stackframe=)
      	(max-stackframe=): Add Var()s.
      
      	* config/i386/i386.h (ix86_tune_string, ix86_arch_string): Delete.
      	* config/i386/i386.c (ix86_cmodel_string, ix86_asm_string)
      	(ix86_tls_dialect_string, ix86_tune_string, ix86_arch_string)
      	(ix86_fpmath_string, ix86_regparm_string, ix86_align_loops_string)
      	(ix86_align_jumps_string, ix86_preferred_stack_boundary_string)
      	(ix86_branch_cost_string, ix86_align_funcs_string): Delete.
      	(ix86_handle_option): Don't set the above variables here.
      	* config/i386/i386.opt (malign-functions=, malign-jumps=)
      	(malign-loops=, march=, masm=, mbranch-cost=, mcmodel=, mfpmath=)
      	(mpreferred-stack-boundary=, mregparm=, mtls-dialect=, mtune=): Add
      	Var()s.
      
      	* config/ia64/ia64.h (ia64_tls_size): Delete.
      	* config/ia64/ia64.c (ia64_tls_size): Delete.
      	(ia64_handle_option): Treat -mtls-size= as a UInteger option,
      	reading the integer argument from the "value" parameter.  Don't
      	set ia64_tls_size here.
      	* config/ia64/ia64.opt (mtls-size=): Turn into a UInteger option.
      	Add Var() and Init().
      
      	* config/m32r/m32r.h (m32r_cache_flush_func): Delete.
      	(m32r_cache_flush_trap): Delete.
      	* config/m32r/m32r.c (m32r_cache_flush_func): Delete.
      	(m32r_cache_flush_trap): Delete.
      	(m32r_handle_option): Don't set the above variables when handling
      	-mflush-func= and -mflush-trap=.
      	* config/m32r/m32r.opt (-mflush-func=, -mflush-trap=): Add Var()s
      	and Init()s.
      
      	* config/mips/mips.h (mips_cache_flush_func): Delete.
      	* config/mips/mips.c (mips_arch_string, mips_tune_string)
      	(mips_cache_flush_func): Delete.
      	(mips_handle_option): Don't set the above variables when handling
      	-march=, -mtune= and -mflush-func=.
      	* config/mips/mips.opt (march=, mflush-func=, mtune=): Add Var()s.
      
      	* config/s390/s390.c (s390_arch_string): Delete.
      	(s390_handle_option): Don't set it here.
      	* config/s390/s390.opt (march=): Add Var().
      
      	* config/sparc/sparc.h (sparc_cmodel_string): Delete.
      	* config/sparc/sparc.c (sparc_cmodel_string): Delete.
      	(sparc_handle_option): Don't set it here.
      	* config/sparc/sparc.opt (mcmodel=): Add Var().
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100185 138bc75d-0d04-0410-961f-82ee72b054a4
      0fe44c73
  14. 25 May, 2005 1 commit
    • dj's avatar
      * c-common.c (unsigned_conversion_warning): Move warning control · 8b6866af
      dj authored
      from if() to warning(OPT_*).
      (c_common_truthvalue_conversion): Likewise.
      (c_do_switch_warnings): Likewise.
      * c-decl.c (diagnose_mismatched_decls): Likewise.
      (diagnose_mismatched_decls): Likewise.
      (define_label): Likewise.
      (grokdeclarator): Likewise.
      * c-format.c (check_format_info): Likewise.
      * c-lex.c (interpret_integer): Likwise.
      (lex_string): Likewise.
      * c-opts.c (c_common_post_options): Likewise.
      * c-parser.c (c_parser_unary_expression): Likewise.
      * c-pragma.c (handle_pragma_redefine_extname): Likewise.
      (handle_pragma_extern_prefix): Likewise.
      * c-typeck.c (build_binary_op): Likewise.
      * gcse.c (is_too_expensive): Likewise.
      * opts.c (decode_options): Likewise.
      * stor-layout.c (place_field): Likewise.
      * tree-cfg.c (remove_bb): Likewise.
      
      * c.opt (-Wreturn-type): Add Var(warn_return_type).
      * flags.h (warn_return_type): Remove.
      * toplev.c (warn_return_type): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100135 138bc75d-0d04-0410-961f-82ee72b054a4
      8b6866af
  15. 16 May, 2005 1 commit
  16. 04 May, 2005 1 commit
    • dj's avatar
      * common.opt (fdiagnostics-show-option): No variable is needed. · b0932b2f
      dj authored
      * diagnostic.h (diagnostic_context): Add show_option_requested flag.
      * diagnostic.c (diagnostic_initialize): Initialize show_option_requested.
      (diagnostic_report_diagnostic): Test for enabled diagnostics here.
      Save and restore original message format.  Use flag in context
      instead of global.
      (warning): Don't test for enabled warnings here.
      * opts.c (common_handle_option): Handle -fdiagnostics-show-option
      here.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99204 138bc75d-0d04-0410-961f-82ee72b054a4
      b0932b2f
  17. 03 May, 2005 1 commit
    • dj's avatar
      * c-decl.c (store_parm_decls_oldstyle): Let diagnostic machinery · efb9d9ee
      dj authored
      decide if the warning will be printed.
      * calls.c (expand_call): Likewise.
      * function.c (init-function_start): Likewise.
      
      * common.opt (-fdiagnostics-show-option): New.
      * opts.c (option_enabled): Accept the option index instead of a
      pointer to the option descriptor.
      * opts.h (option_enabled): Likewise.
      * toplev.c (print_switch_values): Pass option index, not option
      descriptor.
      * diagnostic.h (diagnostic_info): Add option_index.
      * diagnostic.c: Include opts.h.
      (diagnostic_set_info): Initialize option_index.
      (diagnostic_report_diagnostic): Amend option name if appropriate.
      (warning): Check to see if the specified warning is enabled.
      Store option index.
      * doc/invoke.texi (-fdiagnostics-show-options): Document.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99169 138bc75d-0d04-0410-961f-82ee72b054a4
      efb9d9ee
  18. 27 Apr, 2005 1 commit
    • ctice's avatar
      Correct fixes for various hot/cold partitioning concerns. · 4d0e931f
      ctice authored
      2005-04-27  Caroline Tice  <ctice@apple.com>
      
              * bb-reorder.c (find_rarely_executed_basic_blocks_and_crossing_edges):
              Remove targetm.have_named_sections test.
              (fix_edges_for_rarely_executed_code): Likewise.
              (insert_section_boundary_note): Likewise.
              (reorder_basic_blocks): Check partitioning flag before calling
              verify_hot_cold_block_grouping.
              * dbxout.c (dbxout_function_end): Get hot/cold section labels from
              the function struct rather than global variables.
              * dwarf2out.c (COLD_TEXT_SECTION_LABEL): New macro.
              (COLD_END_LABEL): Likewise
              (cold_text_section_label): New static global variable.
              (cold_end_label): Likewise.
              (dwarf2out_switch_text_section): Get hot/cold section labels from
              the function struct rather than global variables; test to make sure
              cfun is defined.
              (output_aranges): Use cold_text_section_label and cold_end_label;
              check partitioning flag before putting out delta.
              (output_ranges): Remove incorrect code attempting to use
              hot/cold labels.
              (output_line_info): Get cold section label from function struct; test
              to make sure cfun is defined.
              (add_location_or_const_value_attribute): Likewise.
              (dwarf2out_var_location): Likewise.
              (dwarf2out_init): Generate cold_text_section_label and cold_end_label;
              write out cold_text_section_label if partition flag is set.
              (dwarf2out_finish): Write out cold_end_label if partition flag is set;
              * function.h (struct function): Add new fields to point to hot/cold
              section labels: hot_section_label, cold_section_label,
              hot_section_end_label and cold_section_end_label; also add new field
              for cold text section name, unlikely_text_section_name.
              * opts.c (decode_options): Turn off partitioning flag if
              !targetm.have_named_sections.
              * output.h (hot_section_label): Remove.
              (hot_section_end_label): Remove.
              (cold_section_end_label): Remove.
              (unlikely_section_label): Remove.
              (unlikely_text_section_name): Remove.
              * passes.c (rest_of_handle_final):  Remove extra blank line.
              * varasm.c (unlikely_section_label): Remove.
              (hot_section_label): Remove.
              (hot_section_end_label): Remove.
              (cold_section_end_label): Remove.
              (unlikely_text_section_name):  Remove.
              (initialize_cold_section_name): Modify to call
              targetm.strip_name_encoding; to store cold section name in current
              function struct, if it exists; and to only use the decl_section_name
              if flag_named_sections is true.
              (unlikely_text_section): Modify to get section name out of current
              function struct, if there is one; otherwise build it from
              UNLIKELY_EXECUTED_TEXT_SECTION_NAME.
              (in_unlikely_text_section): Likewise.
              (named_section): Modify to get/put cold section name in current function
              struct, if there is one.
              (function_section):  Change 'bool unlikely' to 'int reloc'; check
              targetm.have_named_sections before calling named_section.
              (current_function_section): Likewise.
              (assemble_start_function): Modify to get/put unlikely_text_section_name
              in current function struct; modify to get hot/cold section labels
              from function struct; initialize labels using
              ASM_GENERATE_INTERNAL_LABEL;
              test partitioning flag before writing out hot section label.
              (assemble_end_function): Test partitioning flag before writing out
              hot/cold section labels.
              (default_section_type_flags_1):  Get cold text section name from
              function struct if there is one; Set flags correctly for
              cold text section if there is not a current function struct.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98885 138bc75d-0d04-0410-961f-82ee72b054a4
      4d0e931f
  19. 23 Apr, 2005 1 commit
    • dj's avatar
      * diagnostic.c (warning): Accept parameter to classify warning option. · c3ceba8e
      dj authored
      (warning0): New, for when a pointer to an error() like function is needed.
      * errors.c (warning): Likewise.
      * errors.h (warning, warning0): Adjust prototypes.
      * toplev.h (warning, warning0): Likewise.
      
      * attribs.c, builtins.c, c-common.c, c-decl.c, c-format.c,
      c-gimplify.c, c-lex.c, c-objc-common.c, c-opts.c, c-parser.c,
      c-pragma.c, c-typeck.c, calls.c, cgraph.c, coverage.c, emit-rtl.c,
      fold-const.c, fortran/trans-decl.c, function.c, gcse.c,
      genautomata.c, haifa-sched.c, opts.c, passes.c, regclass.c,
      reload1.c, stmt.c, stor-layout.c, toplev.c, tree-cfg.c,
      tree-dump.c, tree-inline.c, tree-mudflap.c, tree-optimize.c,
      tree-ssa.c, tree.c, varasm.c: Adjust warning() callers.
      
      * config/alpha/alpha.c, config/arc/arc.c, config/arm/arm.c,
      config/avr/avr.c, config/bfin/bfin.c, config/c4x/c4x-c.c,
      config/c4x/c4x.c, config/cris/cris.c, config/darwin-c.c,
      config/darwin.c, config/darwin.h, config/h8300/h8300.c,
      config/i386/cygming.h, config/i386/djgpp...
      c3ceba8e
  20. 21 Apr, 2005 1 commit
    • nathan's avatar
      * lambda.h (lambda_vector_min_nz): Likewise. · 1fa3a8f6
      nathan authored
      	* langhooks.h (struct lang_hooks_for_types,
      	struct lang_hooks): Likewise.
      	* output.h (assemble_integer, this_is_asm_operands): Likewise.
      	* tree.h: Likewise.
      	* vec.h: Likewise.
      	* tree-flow-inline.h (relink_imm_use): Use gcc_assert.
      
      	* optabs.c (prepare_cmp_insn, emit_cmp_and_jump_insns): Reword
      	comments to avoid 'abort'.  Use gcc_assert as necessary.
      	* opts.c (common_handle_option): Likewise.
      	* pretty-print.c (pp_base_format_text): Likewise.
      	* print-rtl.c (print_rtx): Likewise.
      	* read-rtl.c (read_rtx_filename, read_rtx_1): Likewise.
      	* regmove.c (try_auto_increment): Likewise.
      	* reload.c (find_valid_class, find_reloads_toplev,
      	find_equiv_reg): Likewise.
      	* reload1.c (reload, forget_old_reloads_1, function_invariant_p,
      	merge_assigned_reloads): Likewise.
      	* tree-inline.c (inline_forbidden_p_1,
      	estimate_num_insns_1): Likewise.
      	* tree-optimize.c (execute_todo): Likewise.
      	* tree-outof-ssa.c (eliminate_phi): Likewise.
      	* tree-ssa-alias.c (add_pointed_to_expr): Likewise.
      	* tree-ssa-ccp.c (maybe_fold_stmt_indirect): Likewise.
      	* tree-ssa-operands.c (parse_ssa_operands,
      	get_indirect_ref_operands, create_ssa_artficial_load_stmt): Likewise.
      	* tree-ssa-pre.c (find_or_generate_expression): Likewise.
      	* tree-ssanames.c (release_ssa_name): Likewise.
      	* tree.c (int_bit_position, int_byte_position, tree_low_cst,
      	walk_tree): Likewise.
      
      	* tree-ssa-operands.c (verify_abort): Fold into ..
      	(verify_imm_links): ... here.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98519 138bc75d-0d04-0410-961f-82ee72b054a4
      1fa3a8f6
  21. 12 Apr, 2005 1 commit
  22. 09 Apr, 2005 2 commits
    • ctice's avatar
      Fix problems with labels with hot/cold partitioning. · 32fb59ab
      ctice authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97928 138bc75d-0d04-0410-961f-82ee72b054a4
      32fb59ab
    • dnovillo's avatar
      · 88dbf20f
      dnovillo authored
      	Merge from tree-cleanup-branch: VRP, store CCP, store
      	    copy-prop, incremental SSA updating of FUD chains and
      	    newly exposed symbols.
      
      	* Makefile.in (tree-ssa-copy.o): Depend on tree-ssa-propagate.h.
      	(OBJS-common): Add tree-vrp.o.
      	(tree-vrp.o): New rule.
      	* basic-block.h (nearest_common_dominator_for_set): Declare.
      	* common.opt (ftree-store-ccp): New flag.
      	(ftree-copy-prop): New flag.
      	(ftree-vrp): New flag.
      	(ftree-store-copy-prop): New flag.
      	* dominance.c (nearest_common_dominator_for_set): New.
      	* domwalk.c (walk_dominator_tree): Only traverse
      	statements in blocks marked in walk_data->interesting_blocks.
      	* domwalk.h (struct dom_walk_data): Add field interesting_blocks.
      	* fold-const.c (fold): Handle ASSERT_EXPR.
      	* opts.c (decode_options): Set flag_tree_copy_prop at -O1.
      	Set flag_tree_store_ccp, flag_tree_store_copy_prop and
      	flag_tree_vrp at -O2.
      	* timevar.def (TV_TREE_VRP): Define.
      	(TV_TREE_COPY_PROP): Define.
      	(TV_TREE_STORE_COPY_PROP): Define.
      	(TV_TREE_SSA_INCREMENTAL): Define.
      	(TV_TREE_STORE_CCP): Define.
      	* tree-cfg.c (tree_can_merge_blocks_p): Remove reference
      	to kill_redundant_phi_nodes from comment.
      	(verify_expr): Handle ASSERT_EXPR.
      	* tree-dfa.c (mark_new_vars_to_rename): Remove second
      	argument.  Update all users.
      	(mark_call_clobbered_vars_to_rename): Remove.  Update all
      	users.
      	* tree-flow-inline.h (unmodifiable_var_p): New.
      	* tree-flow.h (enum value_range_type): Declare.
      	(struct value_range_def): Declare.
      	(value_range): Declare.
      	(remove_all_phi_nodes_for): Remove.  Update all users.
      	(find_phi_node_for): Declare.
      	(add_type_alias): Declare.
      	(count_uses_and_derefs): Declare.
      	(kill_redundant_phi_nodes): Remove.
      	(rewrite_into_ssa): Remove.
      	(rewrite_def_def_chains): Remove.
      	(update_ssa, register_new_name_mapping, create_new_def_for,
      	need_ssa_update_p, name_registered_for_update_p,
      	release_ssa_name_after_update_ssa, dump_repl_tbl,
      	debug_repl_tbl, dump_names_replaced_by,
      	debug_names_replaced_by, mark_sym_for_renaming,
      	mark_set_for_renaming, get_current_def, set_current_def,
      	get_value_range, dump_value_range, debug_value_range,
      	dump_all_value_ranges, debug_all_value_ranges,
      	expr_computes_nonzero, loop_depth_of_name,
      	unmodifiable_var_p): Declare.
      	* tree-gimple.c (is_gimple_formal_tmp_rhs): Handle
      	ASSERT_EXPR.
      	* tree-into-ssa.c (block_defs_stack): Update comment.
      	(old_ssa_names, new_ssa_names, old_virtual_ssa_names,
      	syms_to_rename, names_to_release, repl_tbl,
      	need_to_initialize_update_ssa_p, need_to_update_vops_p,
      	need_to_replace_names_p): New locals.
      	(NAME_SETS_GROWTH_FACTOR): Define.
      	(struct repl_map_d): Declare.
      	(struct mark_def_sites_global_data): Add field
      	interesting_blocks.
      	(enum rewrite_mode): Declare.
      	(REGISTER_DEFS_IN_THIS_STMT): Define.
      	(compute_global_livein): Use last_basic_block instead of
      	n_basic_blocks.
      	(set_def_block): Remove last argument.  Update all callers.
      	(prepare_use_operand_for_rename): Remove.  Update all callers.
      	(prepare_def_operand_for_rename): Remove.  Update all callers.
      	(symbol_marked_for_renaming): New.
      	(is_old_name): New.
      	(is_new_name): New.
      	(repl_map_hash): New.
      	(repl_map_eq): New.
      	(repl_map_free): New.
      	(names_replaced_by): New.
      	(add_to_repl_tbl): New.
      	(add_new_name_mapping): New.
      	(mark_def_sites): Assume that all the operands in the
      	statement are in normal form.
      	(find_idf): Assert that the block in the stack is valid.
      	(get_default_def_for): New.
      	(insert_phi_nodes_for): Add new argument 'update_p'.
      	Add documentation.
      	If update_p is true, add a new mapping between the LHS of
      	each new PHI and the name that it replaces.
      	(insert_phi_nodes_1): Only call find_idf if needed.
      	(get_reaching_def): Call get_default_def_for.
      	(rewrite_operand): Remove.
      	(rewrite_stmt): Do nothing if REGISTER_DEFS_IN_THIS_STMT
      	and REWRITE_THIS_STMT are false.
      	Assume that all the operands in the statement are in
      	normal form.
      	(rewrite_add_phi_arguments): Don't use PHI_REWRITTEN.
      	(rewrite_virtual_phi_arguments): Remove.
      	(invalidate_name_tags): Remove.
      	(register_new_update_single, register_new_update_set,
      	rewrite_update_init_block, replace_use,
      	rewrite_update_fini_block, rewrite_update_stmt,
      	rewrite_update_phi_arguments): New.
      	rewrite_blocks): Remove argument 'fix_virtual_phis'.
      	Add arguments 'entry', 'what' and 'blocks'.
      	Initialize the dominator walker according to 'what' and
      	'blocks'.
      	Start the dominator walk at 'entry'.
      	(mark_def_site_blocks): Add argument 'interesting_blocks'.
      	Use it to configure the dominator walker.
      	(rewrite_into_ssa): Remove argument 'all'.
      	Make internal.
      	(rewrite_all_into_ssa): Remove.
      	(rewrite_def_def_chains): Remove.
      	(mark_def_interesting, mark_use_interesting,
      	prepare_phi_args_for_update, prepare_block_for_update,
      	prepare_def_site_for, prepare_def_sites,
      	dump_names_replaced_by, debug_names_replaced_by,
      	dump_repl_tbl, debug_repl_tbl, init_update_ssa,
      	delete_update_ssa, create_new_def_for,
      	register_new_name_mapping, mark_sym_for_renaming,
      	mark_set_for_renaming, need_ssa_update_p,
      	name_registered_for_update_p, ssa_names_to_replace,
      	release_ssa_name_after_update_ssa,
      	insert_updated_phi_nodes_for, update_ssa): New.
      	* tree-loop-linear.c (linear_transform_loops): Call
      	update_ssa instead of rewrite_into_ssa.
      	* tree-optimize.c (vars_to_rename): Remove.
      	Update all users.
      	(init_tree_optimization_passes): Replace
      	pass_redundant_phi with pass_copy_prop.
      	Add pass_vrp.
      	Replace pass_ccp with pass_store_ccp.
      	Add pass_store_copy_prop after pass_store_ccp.
      	(execute_todo): If the TODO_ flags don't include updating
      	the SSA form, assert that it does not need to be updated.
      	Call update_ssa instead of rewrite_into_ssa and
      	rewrite_def_def_chains.
      	If TODO_verify_loops is set, call verify_loop_closed_ssa.
      	(tree_rest_of_compilation):
      	* tree-pass.h (TODO_dump_func, TODO_ggc_collect,
      	TODO_verify_ssa, TODO_verify_flow, TODO_verify_stmts,
      	TODO_cleanup_cfg): Renumber.
      	(TODO_verify_loops, TODO_update_ssa,
      	TODO_update_ssa_no_phi, TODO_update_ssa_full_phi,
      	TODO_update_ssa_only_virtuals): Define.
      	(pass_copy_prop, pass_store_ccp, pass_store_copy_prop, pass_vrp):
      	Declare.
      	* tree-phinodes.c (make_phi_node): Update documentation.
      	(remove_all_phi_nodes_for): Remove.
      	(find_phi_node_for): New.
      	* tree-pretty-print.c (dump_generic_node): Handle ASSERT_EXPR.
      	* tree-scalar-evolution.c (follow_ssa_edge_in_rhs): Likewise.
      	(interpret_rhs_modify_expr): Likewise.
      	* tree-sra.c (decide_instantiations): Mark all symbols in
      	SRA_CANDIDATES for renaming.
      	(mark_all_v_defs_1): Rename from mark_all_v_defs.
      	(mark_all_v_defs): New function.  Update all users to call it
      	with the whole list of scalarized statements, not just the
      	first one.
      	* tree-ssa-alias.c (count_ptr_derefs): Make extern.
      	(compute_flow_insensitive_aliasing): If the tag is
      	unmodifiable and the variable isn't or vice-versa, don't
      	make them alias of each other.
      	(setup_pointers_and_addressables): If the type tag for
      	VAR is about to change, mark the old one for renaming.
      	(add_type_alias): New.
      	* tree-ssa-ccp.c: Document SSA-CCP and STORE-CCP.
      	(ccp_lattice_t): Rename from latticevalue.
      	(value): Remove.  Update all users.
      	(const_val): New local variable.
      	(do_store_ccp): New local variable.
      	(dump_lattice_value): Handle UNINITIALIZED.
      	(debug_lattice_value): New.
      	(get_default_value): Re-write.
      	(set_lattice_value): Re-write.
      	(def_to_varying): Remove.  Update all users.
      	(likely_value): Return VARYING for statements that make
      	stores when STORE_CCP is false.
      	Return VARYING for any statement other than MODIFY_EXPR,
      	COND_EXPR and SWITCH_EXPR.
      	(ccp_initialize): Re-write.
      	(replace_uses_in, replace_vuse_in, substitute_and_fold):
      	Move to tree-ssa-propagate.c.
      	(ccp_lattice_meet): Handle memory stores when
      	DO_STORE_CCP is true.
      	(ccp_visit_phi_node): Likewise.
      	(ccp_fold): Likewise.
      	(evaluate_stmt): Likewise.
      	(visit_assignment): Likewise.
      	(ccp_visit_stmt): Likewise.
      	(execute_ssa_ccp): Add argument 'store_ccp'.  Copy it
      	into DO_STORE_CCP.
      	(do_ssa_ccp): New.
      	(pass_ccp): Use it.
      	(do_ssa_store_ccp): New.
      	(gate_store_ccp): New.
      	(pass_store_ccp): Declare.
      	* tree-ssa-copy.c: Include tree-ssa-propagate.h.
      	(may_propagate_copy): Reformat.
      	Don't abort if ORIG is a virtual and DEST isn't.
      	If NEW does not have alias information but DEST does,
      	copy it.
      	(copy_of, cached_last_copy_of, do_store_copy_prop, enum
      	copy_prop_kind, which_copy_prop): Declare.
      	(stmt_may_generate_copy, get_copy_of_val,
      	get_last_copy_of, set_copy_of_val, dump_copy_of,
      	copy_prop_visit_assignment, copy_prop_visit_cond_stmt,
      	copy_prop_visit_stmt, copy_prop_visit_phi_node,
      	init_copy_prop, fini_copy_prop, execute_copy_prop,
      	gate_copy_prop, do_copy_prop, gate_store_copy_prop,
      	store_copy_prop): New.
      	(pass_copy_prop, pass_store_copy_prop): Declare.
      	* tree-ssa-dom.c (struct opt_stats_d): Add fields
      	'num_const_prop' and 'num_copy_prop'.
      	(cprop_operand): Update them.
      	(dump_dominator_optimization_stats): Dump them.
      	(tree_ssa_dominator_optimize): Call update_ssa instead of
      	rewrite_into_ssa.
      	(loop_depth_of_name): Declare extern.
      	(simplify_cond_and_lookup_avail_expr): Guard against NULL
      	values for LOW or HIGH.
      	(cprop_into_successor_phis): Only propagate if NEW != ORIG.
      	(record_equivalences_from_stmt): Call expr_computes_nonzero.
      	(cprop_operand): Only propagate if VAL != OP.
      	* tree-ssa-dse.c (dse_optimize_stmt): Mark symbols in removed
      	statement for renaming.
      	* tree-ssa-loop-im.c (move_computations): Call update_ssa.
      	* tree-ssa-loop-ivopts.c (rewrite_address_base): Call
      	add_type_alias if necessary.
      	Call mark_new_vars_to_rename.
      	(tree_ssa_iv_optimize): If new symbols need to be renamed,
      	mark every statement updated, call update_ssa and
      	rewrite_into_loop_closed_ssa.
      	* tree-ssa-loop-manip.c (add_exit_phis): Do not remove DEF_BB
      	from LIVEIN if VAR is a virtual.
      	* tree-ssa-loop.c (tree_loop_optimizer_init): Call update_ssa.
      	* tree-ssa-operands.c (get_expr_operands): Handle ASSERT_EXPR.
      	(get_call_expr_operands): Reformat statement.
      	(add_stmt_operand): Don't create V_MAY_DEFs for read-only
      	symbols.
      	* tree-ssa-propagate.c (ssa_prop_init): Initialize
      	SSA_NAME_VALUE for every name.
      	(first_vdef, stmt_makes_single_load, stmt_makes_single_store,
      	get_value_loaded_by): New.
      	(replace_uses_in, replace_vuses_in, replace_phi_args_in,
      	substitute_and_fold): Move from tree-ssa-ccp.c.
      	* tree-ssa-propagate.h (struct prop_value_d, prop_value_t,
      	first_vdef, stmt_makes_single_load, stmt_makes_single_store,
      	get_value_loaded_by, replace_uses_in, substitute_and_fold):
      	Declare.
      	* tree-ssa.c (verify_use): Fix error message.
      	(propagate_into_addr, replace_immediate_uses, get_eq_name,
      	check_phi_redundancy, kill_redundant_phi_nodes,
      	pass_redundant_phi): Remove.  Update all users.
      	* tree-vect-transform.c (vect_create_data_ref_ptr): Call
      	add_type_alias, if necessary.
      	* tree-vectorizer.h (struct _stmt_vect_info): Update
      	documentation for field 'memtag'.
      	* tree-vrp.c: New file.
      	* tree.def (ASSERT_EXPR): Define.
      	* tree.h (ASSERT_EXPR_VAR): Define.
      	(ASSERT_EXPR_COND): Define.
      	(SSA_NAME_VALUE_RANGE): Define.
      	(struct tree_ssa_name): Add field 'value_range'.
      	(PHI_REWRITTEN): Remove.
      	(struct tree_phi_node): Remove field 'rewritten'.
      	* doc/invoke.texi (-fdump-tree-storeccp, -ftree-copy-prop,
      	-ftree-store-copy-prop): Document.
      	* doc/tree-ssa.texi: Remove broken link to McCAT's compiler.
      	Document usage of update_ssa.
      
      testsuite/ChangeLog
      
      	* g++.dg/tree-ssa/pr18178.C: New test.
      	* gcc.c-torture/execute/20030216-1.x: Ignore at -O1.
      	* gcc.c-torture/execute/20041019-1.c: New test.
      	* gcc.dg/tree-ssa/20041008-1.c: New test.
      	* gcc.dg/tree-ssa/ssa-ccp-12.c: New test.
      	* gcc.dg/tree-ssa/20030731-2.c: Update to use -fdump-tree-store_ccp.
      	* gcc.dg/tree-ssa/20030917-1.c: Likewise.
      	* gcc.dg/tree-ssa/20030917-3.c: Likewise.
      	* gcc.dg/tree-ssa/20040721-1.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-ccp-1.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-ccp-2.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-ccp-3.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-ccp-7.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-ccp-9.c: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97884 138bc75d-0d04-0410-961f-82ee72b054a4
      88dbf20f
  23. 31 Mar, 2005 1 commit
  24. 18 Mar, 2005 1 commit
  25. 14 Mar, 2005 1 commit
    • rsandifo's avatar
      * config.gcc (extra_options): New variable for listing option files. · ff05e09e
      rsandifo authored
      	Add ${cpu_type}/${cpu_type}.opt to it if that file exists.
      	* configure.ac (extra_opt_files): New AC_SUBST variable.
      	(tm_file_list, tm_include_list): Include options.h first.
      	* configure: Regenerate.
      	* Makefile.in (extra_opt_files, ALL_OPT_FILES): New variables.
      	(s-options): Use $(ALL_OPT_FILES) instead of $(lang_opt_files)
      	(s-options-h): New rule.
      	(options.h): Depend on it.
      	(TEXI_GCCINT_FILES): Add options.texi.
      	* hooks.h (hook_bool_size_t_constcharptr_int_true): Declare.
      	* hooks.c (hook_bool_size_t_constcharptr_int_true): New function.
      	* target.h (gcc_target): Add default_target_flags and handle_option.
      	* target-def.h (TARGET_DEFAULT_TARGET_FLAGS)
      	(TARGET_HANDLE_OPTION): New macros.
      	(TARGET_INITIALIZER): Include them.
      	* opt-functions.awk (opt_args, nth_arg): New functions.
      	(switch_flags): Handle the "Target" flag.
      	(var_args): Delete.
      	(var_name): Use opt_args and nth_arg.
      	(var_set, var_ref): Likewise.  Handle "Mask" and "InverseMask".
      	* opth-gen.awk: Declare target_flags.  Declare MASK_* and TARGET_*
      	macros for the "Mask" and "InverseMask" options.
      	* opts.h (cl_var_cond): New enum.
      	(cl_option): Replace the "has_set_value" and "set_value" fields with
      	"var_cond" and "var_value".
      	(CL_TARGET): New macro.
      	(option_enabled, print_filtered_help): Declare.
      	(decode_options): Move definition.
      	* opts.c (handle_option): Search for the original option before
      	removing any "no-" prefix.  Handle CL_TARGET.  Adjust for the new
      	var_cond and var_value fields.  Use targetm.handle_option to handle
      	target options.
      	(decode_options): Set target_flags to targetm.default_target_flags.
      	(print_filtered_help): Make global.  Handle CL_TARGET.
      	(option_enabled): New function.
      	* toplev.c (target_switches): Guard with #ifdef TARGET_SWITCHES.
      	(display_target_options, set_target_switch, print_switch_values)
      	(default_pch_valid_p): Guard uses of target_switches with
      	#ifdef TARGET_SWITCHES.  Also...
      	(display_target_options): Display the CL_TARGET entries in cl_options.
      	(set_target_option): Don't complain about the "" option when
      	TARGET_SWITCHES is undefined.
      	(print_switch_values): Use option_enabled.
      	(default_pch_valid_p): Check cl_options[] when looking for something
      	that has changed the value of target_flags.
      	* c.opt: Remove documentation from top of file.
      	* doc/gccint.texi: Add an "Options" chapter.  Include options.texi.
      	* doc/sourecebuild.texi: Refer to the new options documentation
      	instead of c.opt.  Document machine-specific .opt files.
      	* doc/tm.texi (target_flags): Say that this variable is declared
      	by options.h.
      	(TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Document.
      	(TARGET_SWITCHES, TARGET_OPTIONS): Refer to the option files as
      	an alternative.
      	* doc/options.texi: New file.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96448 138bc75d-0d04-0410-961f-82ee72b054a4
      ff05e09e
  26. 13 Mar, 2005 1 commit
    • dberlin's avatar
      In gcc/ada/ · 2be14d8b
      dberlin authored
      2005-03-12  Daniel Berlin <dberlin@dberlin.org>
      
      	* misc.c (gnat_post_options): Turn off structural
      	aliasing for now.
      In gcc/
      2005-03-12  Daniel Berlin  <dberlin@dberlin.org>
      
      	* tree-flow-inline.h (ref_contains_array_ref): New function.
      	(lookup_subvars_for_var): Ditto.
      	(get_subvars_for_var): Ditto.
      	(var_can_have_subvars): Ditto.
      
      	* tree-flow.h (mem_tag_kind): Add STRUCT_FIELD.
      	(struct subvar): New type.
      
      	* tree-dfa.c (okay_component_ref_for_subvars): New function.
      
      	* tree-optimize.c (init_tree_optimization_passes): Call
      	pass_create_structure_vars.
      
      	* tree-ssa-alias.c: Include vec.h.
      	(init_alias_info): Don't auto-clear call clobbered on struct-field
      	tags.
      	(compute_flow_insensitive_aliasing): Handle subvars.
      	(group_aliases): Handle STRUCT_FIELD aliases.
      	(setup_pointers_and_addressables): Ditto.
      	Don't mark variables non-addressable if they still have
      	addressable subvars.
      	Also mark subvars addressable when the real variable is marked
      	addressable.
      	(add_pointed_to_var): Try to prune the pointed-to set by only
      	pointing to subvars when possible.
      	Otherwise, make sure we set addresses_needed and pt_vars to
      	properly include subvars.
      	(bitpos_of_field): New function.
      	(push_fields_onto_fieldstack): Ditto.
      	(get_or_create_used_part_for): Ditto.
      	(create_overlap_variables_for): Ditto.
      	(find_used_portions): Ditto.
      	(create_structure_vars): Ditto.
      	(pass_create_structure_vars): New structure.
      
      	* tree-ssa-operands.c (finalize_ssa_v_must_defs): Remove assert.
      	(get_expr_operands): Handle subvars.  Also try to turn
      	COMPONENT_REF accesses into must-defs now that we can accurately
      	portray it.
      	(note_addressable): Try to only mark as addressable those subvars
      	we know a COMPONENT_REF touches.
      	(overlap_subvar): New function.
      
      	* tree-vect-analyze.c (vect_object_analysis): Add new parameter.
      	Handle subvar storing.
      	(vect_address_analysis): Update caller of vect_object_analysis.
      
      	* tree-vect-transform.c (vect_create_data_ref_ptr): Copy subvars.
      
      	* tree-vectorizer.h (struct _stmt_vec_info): Add subvars member.
      	(STMT_VINFO_SUBVARS): New macro.
      
      	* common.opts: add flag_tree_salias.
      
      	* opts.c (decode_options): flag_tree_salias defaults to on.
      
      	* doc/invoke.texi: Document fdump-tree-svars and -ftree-salias.
      
      	* doc/tree-ssa.texi: Document structural alias analysis.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96362 138bc75d-0d04-0410-961f-82ee72b054a4
      2be14d8b
  27. 01 Mar, 2005 1 commit
    • dberlin's avatar
      2005-03-01 Daniel Berlin <dberlin@dberlin.org> · 5e733b02
      dberlin authored
      	* Makefile.in (tree-ssa-sink.o): New.
      	(OBJS-common): Add tree-ssa-sink.o.
      	* common.opt: Add -ftree-sink
      	* opts.c (decode_options): flag_tree_sink is set at O1 or higher.
      	* timevar.def (TV_TREE_SINK): new timevar.
      	* tree-flow.h (is_hidden_global_store): Prototype.
      	* tree-optimize.c (init_tree_optimization_passes): Add
      	pass_sink_code.
      	* tree-pass.h (pass_sink_code): New.
      	* tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Move checking
      	for non-obvious global store store to is_hidden_global_store, and
      	call that new function.
      	* tree-ssa-sink.c: New file.
      	* doc/invoke.texi: Document -fdump-tree-sink and -ftree-sink.
      	* doc/passes.texi: Document forward store motion.
      	* testsuite/gcc.dg/tree-ssa/ssa-sink-1.c: New test
      	* testsuite/gcc.dg/tree-ssa/ssa-sink-2.c: New test
      	* testsuite/gcc.dg/tree-ssa/ssa-sink-3.c: New test
      	* testsuite/gcc.dg/tree-ssa/ssa-sink-4.c: New test
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95750 138bc75d-0d04-0410-961f-82ee72b054a4
      5e733b02
  28. 24 Feb, 2005 1 commit
    • rth's avatar
      PR middle-end/18902 · 45b9d334
      rth authored
              * c-opts.c (c_common_post_options): Set flag_complex_method to 2
              for c99.
              * common.opt (fcx-limited-range): New.
              * opts.c (set_fast_math_flags): Set flag_cx_limited_range.
              * toplev.c (flag_complex_method): Initialize to 1.
              (process_options): Set flag_complex_method to 0 if
              flag_cx_limited_range.
              * doc/invoke.texi (-fcx-limited-range): New.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95493 138bc75d-0d04-0410-961f-82ee72b054a4
      45b9d334
  29. 07 Feb, 2005 1 commit
    • dorit's avatar
      * doc/invoke.texi (ftree-vectorizer-verbose): New. · 459e8543
      dorit authored
              * opts.c (OPT_ftree_vectorizer_verbose_): New case for switch.
              * common.opt (ftree-vectorizer-verbose): New Flag for the vectorizer
              was added.
              * tree.h (vect_set_verbosity_level): New extern function declaration
              added.
              * tree-vectorizer.h (verbosity_levels): New enum type.
              * tree-vectorizer.c (vect_debug_stats): Function removed.
              (vect_debug_details): Likewise.
              (vect_verbosity_level): Global variable was defined and initialized.
              (vect_dump): Global variable definition.
              (vect_print_dump_info): New function.
              (vect_set_dump_settings): New function.
              (vect_set_verbosity_level): New function.
              (vectorize_loops): Add call to vect_set_dump_settings.
      
              (slpeel_make_loop_iterate_ntimes): Dump condition was changed.
              (slpeel_tree_duplicate_loop_to_edge_cfg): Likewise.
              (slpeel_tree_peel_loop_to_edge): Likewise.
      
              (vect_analyze_offset_expr): Call to vect_print_dump_info with
              appropriate verbosity level instead of call to vect_debug_details
              or vect_debug_stats.
              (vect_get_base_and_offset):
              (vect_create_addr_base_for_vector_ref):
              (get_vectype_for_scalar_type):
              (vect_create_data_ref_ptr):
              (vect_init_vector):
              (vect_get_vec_def_for_operand):
              (vect_finish_stmt_generation):
              (vectorizable_assignment):
              (vectorizable_operation):
              (vectorizable_store):
              (vectorizable_load):
              (vect_transform_stmt):
              (vect_update_ivs_after_vectorizer):
              (vect_do_peeling_for_loop_bound):
              (vect_update_inits_of_drs):
              (vect_do_peeling_for_alignment):
              (vect_transform_loop):
              (vect_is_simple_use):
              (vect_analyze_operations):
              (vect_is_simple_iv_evolution):
              (vect_analyze_scalar_cycles):
              (vect_analyze_data_ref_dependence):
              (vect_analyze_data_ref_dependences):
              (vect_compute_data_ref_alignment):
              (vect_enhance_data_refs_alignment):
              (vect_analyze_data_refs_alignment):
              (vect_analyze_data_ref_access):
              (vect_analyze_data_ref_accesses):
              (vect_analyze_pointer_ref_access):
              (vect_get_memtag_and_dr):
              (vect_analyze_data_refs):
              (vect_mark_relevant):
              (vect_stmt_relevant_p):
              (vect_mark_stmts_to_be_vectorized):
              (vect_can_advance_ivs_p):
              (vect_get_loop_niters):
              (vect_analyze_loop_form):
              (vect_analyze_loop):
              (vectorize_loops): Likewise.
      
              (vect_do_peeling_for_loop_bound): Dump format slightly changed.
              (vect_update_inits_of_drs):
              (vect_do_peeling_for_alignment):
              (vect_transform_loop):
              (vect_analyze_operations):
              (vect_analyze_scalar_cycles):
              (vect_analyze_data_ref_dependences):
              (vect_analyze_data_refs_alignment):
              (vect_analyze_data_ref_accesses):
              (vect_analyze_data_refs):
              (vect_mark_stmts_to_be_vectorized):
              (vect_get_loop_niters):
              (vect_analyze_loop_form):
              (vect_analyze_loop): Likewise.
              (vect_mark_stmts_to_be_vectorized): Add call to print_generic_expr.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94697 138bc75d-0d04-0410-961f-82ee72b054a4
      459e8543
  30. 27 Jan, 2005 2 commits
  31. 29 Nov, 2004 2 commits
  32. 18 Nov, 2004 1 commit
  33. 09 Nov, 2004 1 commit
    • jsm28's avatar
      * builtins.c, c-common.c, c-decl.c, c-format.c, c-format.h, · 1e5fcbe2
      jsm28 authored
      	c-parse.in, c-pch.c, c-pragma.c, collect2.c, final.c, gcc.c,
      	gcov.c, opts.c, pretty-print.h, protoize.c, reg-stack.c, rtl.c,
      	tlink.c, config/alpha/alpha.c, config/arc/arc.c, config/arm/arm.c,
      	config/avr/avr.c, config/c4x/c4x.c, config/darwin.c,
      	config/frv/frv.c, config/h8300/h8300.c, config/i386/i386.c,
      	config/i386/winnt.c, config/ia64/ia64.c, config/ip2k/ip2k.c,
      	config/iq2000/iq2000.c, config/m32r/m32r.c,
      	config/m68hc11/m68hc11.c, config/m68k/m68k.c, config/m68k/m68k.h,
      	config/mcore/mcore.c, config/mips/mips.c, config/mmix/mmix.c,
      	config/ns32k/ns32k.c, config/rs6000/host-darwin.c,
      	config/rs6000/rs6000.c, config/s390/s390.c, config/sh/sh.c,
      	config/sh/symbian.c, config/stormy16/stormy16.c,
      	config/v850/v850.c: Avoid "`" as left quote, using "'" or %q, %<
      	and %> as appropriate.  Use %' as apostrophe in diagnostics where
      	applicable.  Use %< and %> in place of '' quotes where applicable.
      	Use %qs in place of %<%s%>.  Consistently quote __builtin function
      	names.
      
      ada:
      	* misc.c (gnat_handle_option): Use %< and %> for quoting in
      	warning message.
      
      cp:
      	* call.c, class.c, decl.c, decl2.c, error.c, mangle.c, parser.c,
      	pt.c, search.c, semantics.c, typeck.c: Use %q, %< and %> for
      	quoting in diagnostics.
      	* parser.c (cp_parser_sizeof_operand): Use '' instead of `' for
      	quoting in printf format.
      	* decl.c (duplicate_decls, start_decl): Use %qD instead of
      	unquoted %D.
      
      objc:
      	* objc-act.c: Use %q, %< and %> for quoting in diagnostics.
      
      testsuite:
      	* gcc.dg/builtin-prefetch-1.c: Adjust expected messages.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90337 138bc75d-0d04-0410-961f-82ee72b054a4
      1e5fcbe2
  34. 29 Oct, 2004 1 commit
  35. 28 Oct, 2004 1 commit
  36. 27 Oct, 2004 1 commit