1. 07 Aug, 2009 7 commits
    • [multiple changes] · 0a69df7c
      2009-08-07  Thomas Quinot  <quinot@adacore.com>
      
      	* targparm.adb: Minor reformatting
      	* sem.adb: Minor reformatting
      	* exp_ch4.adb (Expand_N_Conditional_Expression): Add comment.
      
      2009-08-07  Emmanuel Briot  <briot@adacore.com>
      
      	* prj-conf.adb: Remove duplicate directory separator in the output when
      	an object directory does not exist.
      
      2009-08-07  Robert Dewar  <dewar@adacore.com>
      
      	* exp_util.adb: Minor reformatting
      
      2009-08-07  Vincent Celier  <celier@adacore.com>
      
      	* mlib-prj.adb (Build_Library): Fixed bug in name of ALI file (wrong
      	length used).
      
      2009-08-07  Ed Schonberg  <schonberg@adacore.com>
      
      	* exp_ch9.adb (Expand_N_Protected_Type_Declaration): In Ravenscar mode,
      	detect non-static private components that will violate restriction
      	No_Implicit_Heap_Allocation.
      
      2009-08-07  Ben Brosgol  <brosgol@adacore.com>
      
      	* gnat_ugn.texi: Edited Rule Exemption section of gnatcheck chapter.
      
      From-SVN: r150562
      Arnaud Charlet committed
    • dwarf2out.c (output_fde): When doing hot/cold partitioning... · b84b6ee6
      	* dwarf2out.c (output_fde): When doing hot/cold partitioning, use
      	fde->dw_fde_begin as begin label instead of hot/cold label.
      	Use LLSDAC label instead of LLSDA for second section lsda.
      	(dwarf2out_do_cfi_startproc): Add SECOND argument.  Use LLSDAC
      	label instead of LLSDA if it is true.
      	(dwarf2out_begin_prologue, dwarf2out_switch_text_section): Adjust
      	callers.
      	* except.c (add_call_site, dw2_size_of_call_site_table): Add
      	SECTION argument.  Use it as index into crtl->eh.call_site_record
      	array.
      	(dw2_output_call_site_table): Likewise.  Add CS_FORMAT argument,
      	use it to determine how to print table entries instead of using
      	#ifdef HAVE_AS_LEB128.  For SECTION > 0 use hot resp. cold
      	label instead of normal begin label as base.
      	(sjlj_assign_call_site_values): Adjust add_call_site caller.
      	(convert_to_eh_region_ranges): When doing hot/cold partitioning,
      	ensure no EH range spans between sections and that landing pads
      	are always in the corresponding section.
      	(sjlj_size_of_call_site_table, sjlj_output_call_site_table): Adjust
      	for crtl->eh.call_site_record being an array rather than scalar.
      	(output_one_function_exception_table): New function, copied
      	from output_function_exception_table.  Adjust
      	dw2_size_of_call_site_table, dw2_output_call_site_table
      	callers.  For SECOND section use *C suffixed labels.
      	(output_function_exception_table): Call
      	output_one_function_exception_table and, when doing hot/cold
      	partitioning, also another time for the second section.
      	* opts.c: Include except.h.
      	(decode_options): Allow -freorder-blocks-and-partition with
      	exceptions, unless SJLJ or TARGET_UNWIND_INFO.
      	* Makefile.in (opts.o): Depend on $(EXCEPT_H).
      	* function.h (struct rtl_eh): Change call_site_record from
      	scalar into array of 2 elements.
      
      	* g++.dg/tree-prof/partition1.C: New test.
      
      From-SVN: r150560
      Jakub Jelinek committed
    • tree-ssa.c (useless_type_conversion_p_1): Only for types that require structural… · 60419cc8
      tree-ssa.c (useless_type_conversion_p_1): Only for types that require structural equality defer to the langhook.
      
      2009-08-07  Richard Guenther  <rguenther@suse.de>
      
      	* tree-ssa.c (useless_type_conversion_p_1): Only for types
      	that require structural equality defer to the langhook.
      
      From-SVN: r150559
      Richard Guenther committed
    • ipa-prop.h (enum jump_func_type): New value IPA_JF_ANCESTOR, changed comments. · 685b0d13
      2009-08-07  Martin Jambor  <mjambor@suse.cz>
      
      	* ipa-prop.h (enum jump_func_type): New value IPA_JF_ANCESTOR, changed
      	comments.
      	(struct ipa_pass_through_data): New type.
      	(struct ipa_ancestor_jf_data): New type.
      	(union jump_func_value): Removed field formal_id, added fields
      	pass_through and ancestor.
      	(struct ipa_param_call_note): Changed type of formal_id to int from
      	unsigned.
      	* ipa-prop.c (ipa_print_node_jump_functions): Print pass through with
      	operations jump functions and ancestor jump functions.
      	(compute_complex_pass_through): New function.
      	(compute_scalar_jump_functions): Call compute_complex_pass_through,
      	reflect changes in the jump function strucutre.
      	(update_jump_functions_after_inlining): Ignore complex pass-through
      	and ancestor jump functions.
      	* ipa-cp.c (ipcp_lattice_from_jfunc): Added support for ancestor and
      	polynomial pass-through with operation jump functions.
      
      From-SVN: r150554
      Martin Jambor committed
    • dwarf2out.c (output_fde): When doing hot/cold partitioning... · 17f6e37d
      	* dwarf2out.c (output_fde): When doing hot/cold partitioning, use
      	fde->dw_fde_begin as begin label instead of hot/cold label.
      	Use LLSDAC label instead of LLSDA for second section lsda.
      	(dwarf2out_do_cfi_startproc): Add SECOND argument.  Use LLSDAC
      	label instead of LLSDA if it is true.
      	(dwarf2out_begin_prologue, dwarf2out_switch_text_section): Adjust
      	callers.
      	* except.c (add_call_site, dw2_size_of_call_site_table): Add
      	SECTION argument.  Use it as index into crtl->eh.call_site_record
      	array.
      	(dw2_output_call_site_table): Likewise.  Add CS_FORMAT argument,
      	use it to determine how to print table entries instead of using
      	#ifdef HAVE_AS_LEB128.  For SECTION > 0 use hot resp. cold
      	label instead of normal begin label as base.
      	(sjlj_assign_call_site_values): Adjust add_call_site caller.
      	(convert_to_eh_region_ranges): When doing hot/cold partitioning,
      	ensure no EH range spans between sections and that landing pads
      	are always in the corresponding section.
      	(sjlj_size_of_call_site_table, sjlj_output_call_site_table): Adjust
      	for crtl->eh.call_site_record being an array rather than scalar.
      	(output_one_function_exception_table): New function, copied
      	from output_function_exception_table.  Adjust
      	dw2_size_of_call_site_table, dw2_output_call_site_table
      	callers.  For SECOND section use *C suffixed labels.
      	(output_function_exception_table): Call
      	output_one_function_exception_table and, when doing hot/cold
      	partitioning, also another time for the second section.
      	* opts.c: Include except.h.
      	(decode_options): Allow -freorder-blocks-and-partition with
      	exceptions, unless SJLJ or TARGET_UNWIND_INFO.
      	* Makefile.in (opts.o): Depend on $(EXCEPT_H).
      	* function.h (struct rtl_eh): Change call_site_record from
      	scalar into array of 2 elements.
      
      	* g++.dg/tree-prof/partition1.C: New test.
      
      From-SVN: r150553
      Jakub Jelinek committed
    • ipa-prop.c (count_formal_params_1): New function. · 3f84bf08
      2009-08-07  Martin Jambor  <mjambor@suse.cz>
      
      	* ipa-prop.c (count_formal_params_1): New function.
      	(ipa_get_vector_of_formal_parms): New function.
      	(get_vector_of_formal_parm_types): New function.
      	(ipa_modify_formal_parameters): New function.
      	(ipa_modify_call_arguments): New function.
      	(index_in_adjustments_multiple_times_p): New function.
      	(ipa_combine_adjustments): New function.
      	(ipa_dump_param_adjustments): New function.
      
      	* ipa-prop.h (struct ipa_parm_adjustment): New type.
      	(ipa_get_vector_of_formal_parms): Declare.
      	(ipa_modify_formal_parameters): Declare.
      	(ipa_modify_call_arguments): Declare.
      	(ipa_combine_adjustments): Declare.
      	(ipa_dump_param_adjustments): Declare.
      	(build_ref_for_offset): Declare.
      
      	* Makefile.in (tree-sra.o): Add ipa-prop.h to dependencies.
      
      	* tree-sra.c: Include ipa-prop.c.
      	(build_ref_for_offset): Make public.
      
      From-SVN: r150551
      Martin Jambor committed
    • Daily bump. · 26ba353e
      From-SVN: r150550
      GCC Administrator committed
  2. 06 Aug, 2009 23 commits
  3. 05 Aug, 2009 10 commits