1. 28 May, 2008 22 commits
    • sem_ch3.adb (Derive_Progenitor_Subprograms): Add documentation. · 9800ef59
      2008-05-28  Javier Miranda  <miranda@adacore.com>
      
      	* sem_ch3.adb (Derive_Progenitor_Subprograms): Add documentation.
      
      From-SVN: r136104
      Javier Miranda committed
    • re PR libgcj/35020 (Class.getSimpleName() differs from Sun Java) · 71292a05
      2008-05-28  Andrew Haley  <aph@redhat.com>
      
      	* java/lang/Class.java (getSimpleName): Use getEnclosingClass().	
      	* testsuite/libjava.lang/PR35020.java: New cases.
      	* testsuite/libjava.lang/PR35020.out: New cases.
      
      From-SVN: r136103
      Andrew Haley committed
    • re PR tree-optimization/36339 (not call clobbering variable for non common offset) · 38154e4f
      2008-05-28  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/36339
      	* tree-ssa-alias.c (set_initial_properties): Move pt_anything
      	and clobbering code out of the loop.
      
      From-SVN: r136100
      Richard Guenther committed
    • constraints.md ('b', [...]): New constraint letters defined. · 963fc8d0
      2008-05-28  Andreas Krebbel  <krebbel1@de.ibm.com>
      
      	* config/s390/constraints.md ('b', 'C', 'D', 'e'): New constraint
      	letters defined.
      
      	* config/s390/s390.c (s390_compare_and_branch_condition_mask,
      	s390_contiguous_bitmask_p, s390_symref_operand_p,
      	s390_check_symref_alignment, s390_reload_larl_operand,
      	s390_reload_symref_address): New functions.
      	(s390_branch_condition_mnemonic): Support compare and branch
      	instructions.
      	(s390_mem_constraint): Avoid symrefs to accepted by the 'T'
      	and 'W' constraints.
      	(s390_secondary_reload): Add secondary reloads for unaligned
      	symbol refs or symbol refs to floating point or QI/TI mode
      	integer values.
      	(legitimate_address_p): Accept symbol references as addresses.
      	(s390_expand_insv): Use rotate and insert selected bits
      	instruction for insv when building for z10.
      	(print_operand_address): Handle symbol ref addresses.
      	(print_operand): Output modifier 'c' added for signed byte
      	values.
      	(s390_encode_section_info): Mark symbol refs with
      	SYMBOL_FLAG_NOT_NATURALLY_ALIGNED if appropriate.
      
      	* config/s390/s390.md (SIL,RRS,RIS): New instruction formats added.
      	(length attribute): RRF, RRR have 4 byte length.
      	(FPALL, INTALL): New mode iterators added.
      	(*tstdi_sign, *cmpdi_ccs_sign, *cmpsi_ccs_sign,
      	*cmp<mode>_ccs, *cmpdi_ccu_zero, *cmpdi_ccu, *cmpsi_ccu, *cmphi_ccu,
      	*movdi_64, *movsi_zarch, *movhi, movmem<mode>, *movmem_short,
      	*extendsidi2, *extendhidi2_extimm, *extendhisi2_extimm,
      	*zero_extendsidi2, adddi3, *adddi3_31z, *adddi3_31, addsi3,
      	*add<mode>3, *add<mode>3_carry1_cc, *add<mode>3_carry2_cc,
      	*add<mode>3_cc, *add<mode>3_imm_cc, *muldi3_sign, muldi3,
      	*mulsi3_sign, mulsi3, mulsidi3): Patterns enhanced with z10
      	instructions.
      	(*cmphi_ccs_z10, *cmpdi_ccs_signhi_rl, *cmpsi_ccu_zerohi_rlsi,
      	*cmp<GPR:mode>_ccu_zerohi_rldi, *cmp_and_br_signed_<mode>,
      	*cmp_and_br_unsigned_<mode>, reload<INTALL:mode><P:mode>_tomem_z10,
      	reload<INTALL:mode><P:mode>_toreg_z10,
      	reload<FPALL:mode><P:mode>_tomem_z10,
      	reload<FPALL:mode><P:mode>_toreg_z10,
      	reload<P:mode>_larl_odd_addend_z10, *execute_rl, *insv<mode>_z10,
      	*insv<mode>_z10_noshift, *insv<mode>_or_z10_noshift,
      	*zero_extendhi<mode>2_z10, *cmp_and_trap_signed_int<mode>,
      	*cmp_and_trap_unsigned_int<mode>, prefetch): New pattern or expander
      	definition.
      	(movmem, clrmem, cmpmem): New splitters added.
      
      	* config/s390/predicates.md (larl_operand): Use
      	SYMBOL_REF_FLAGS (op) & SYMBOL_FLAG_ALIGN1 replaced with
      	SYMBOL_REF_ALIGN1_P.
      	(s390_signed_integer_comparison,
      	s390_unsigned_integer_comparison): New predicates.
      
      	* config/s390/s390-protos.h (s390_check_symref_alignment,
      	s390_contiguous_bitmask_p, s390_reload_larl_operand,
      	s390_reload_symref_address,
      	s390_compare_and_branch_condition_mask): Prototypes added.
      
      	* config/s390/s390.h (TARGET_MEM_CONSTRAINT,
      	SYMBOL_REF_ALIGN1_P, SYMBOL_FLAG_NOT_NATURALLY_ALIGNED,
      	SYMBOL_REF_NOT_NATURALLY_ALIGNED_P): Macro definition added.
      
      From-SVN: r136098
      Andreas Krebbel committed
    • s390.c (z10_cost): New cost function for z10. · 93538e8e
      2008-05-28  Andreas Krebbel  <krebbel1@de.ibm.com>
      
      	* config/s390/s390.c (z10_cost): New cost function for z10.
      	(s390_handle_arch_option, override_options): Support
      	-march=z10 switch.
      	(s390_issue_rate): Adjust issue rate for z10.
      	* config/s390/s390.h (processor_type): Add PROCESSOR_2097_Z10.
      	(processor_flags): Add PF_Z10.
      	(TARGET_CPU_Z10, TARGET_Z10): New macro definitions.
      	* config/s390/s390.md (cpu, cpu_facility attributes): Add z10.
      	* gcc/config.gcc: Add z10.
      
      From-SVN: r136097
      Andreas Krebbel committed
    • re PR tree-optimization/36291 (GCC is slow and memory-hungry building sipQtGuipart.cpp) · 540f6bda
      2008-05-28  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/36291
      	* tree-flow. h (struct gimple_df): Remove var_anns member.
      	* tree-flow-inline.h (gimple_var_anns): Remove.
      	(var_ann): Simplify.
      	* tree-dfa.c (create_var_ann): Simplify.
      	(remove_referenced_var): Clear alias info from var_anns of globals.
      	* tree-ssa.c (init_tree_ssa): Do not allocate var_anns.
      	(delete_tree_ssa): Clear alias info from var_anns of globals.
      	Do not free var_anns.
      	(var_ann_eq): Remove.
      	(var_ann_hash): Likewise.
      
      From-SVN: r136095
      Richard Guenther committed
    • Resync. · 00ea9517
      From-SVN: r136091
      Robert Dewar committed
    • * exp_util.ads: Minor reformatting. · b970b571
      From-SVN: r136090
      Arnaud Charlet committed
    • * exp_util.adb: Minor reformatting · dc7c0c4d
      From-SVN: r136089
      Arnaud Charlet committed
    • 2008-05-28 Robert Dewar <dewar@adacore.com> · 3294a391
      	* restrict.adb:
      	(Check_Restriction): violation of restriction No_Finalization is
      	treated as a serious error to stop expansion
      
      From-SVN: r136088
      Robert Dewar committed
    • restrict.ads: Add missing restrictions, and properly label all GNAT defined ones · 5b2217f8
      2008-05-28  Robert Dewar  <dewar@adacore.com>
      
      	* restrict.ads:
      	Add missing restrictions, and properly label all GNAT defined ones
      	
      	* rtsfind.ads:
      	Add entry for Ada_Real_Time.Timing_Events.Timing_Event
      	Add entry for Ada.Task_Termination.Set_Specific_Handler
      	Add entry for Ada.Task_Termination.Specific_Handler
      	
      	* s-rident.ads:
      	Add missing restrictions and properly mark all gnat defined ones
      	
      	* sem_ch3.adb:
      	(Analyze_Object_Declaration): Check No_Local_Timing_Events restriction
      	
      	* sem_res.adb:
      	(Resolve_Call): Check violation of No_Specific_Termination_Handlers
      
      	* gnat_rm.texi: Add missing restrictions, and properly label all
      	GNAT defined ones
      
      From-SVN: r136087
      Robert Dewar committed
    • Make-lang.in: Remove gprmake. · 0b795892
      	* Make-lang.in: Remove gprmake.
      
      	* gprmake.adb, makegpr.ads, makegpr.adb: Removed.
      
      From-SVN: r136084
      Arnaud Charlet committed
    • old_errors.adb, [...]: Adjust. · aa94ab94
      	* gnat.dg/old_errors.adb, gnat.dg/deep_old.adb: Adjust.
      	* gnat.dg/fixce.adb: New test.
      	* gnat.dg/frunaligned*.ad[sb]: New test.
      
      From-SVN: r136082
      Arnaud Charlet committed
    • Resync. · 5840819a
      From-SVN: r136081
      Arnaud Charlet committed
    • 2008-05-28 Robert Dewar <dewar@adacore.com> · ebd01830
      	* exp_ch5.adb:
      	(Expand_Simple_Function_Return): Copy unaligned result into temporary
      
      From-SVN: r136080
      Robert Dewar committed
    • exp_fixd.adb (Build_Multiply): Correct one-off error in computing size · 63bdc3ea
      2008-05-28  Robert Dewar  <dewar@adacore.com>
      
      	* exp_fixd.adb (Build_Multiply): Correct one-off error in computing
      	size
      
      From-SVN: r136079
      Robert Dewar committed
    • gnat_rm.texi: Add note on Old giving warning when applied to constant · 71a555b3
      2008-05-28  Robert Dewar  <dewar@adacore.com>
      
      	* gnat_rm.texi: Add note on Old giving warning when applied to constant
      
      	* sem_attr.adb (Analyze_Attribute, case Old): Give warning if prefix is
      	a constant
      
      From-SVN: r136078
      Robert Dewar committed
    • sem_ch3.adb (Diagnose_Interface): Cleanup error messages involving improper progenitor names... · 6765b310
      2008-05-28  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch3.adb (Diagnose_Interface): Cleanup error messages involving
      	improper progenitor names, and avoid cascaded errors.
      
      From-SVN: r136077
      Ed Schonberg committed
    • iface_eq_test.ads, [...]: New test. · 449be9fa
      	* gnat.dg/specs/iface_eq_test.ads,
      	gnat.dg/specs/iface_eq_test-child.ads: New test.
      	* gnat.dg/specs/self_class.ads: New test.
      
      From-SVN: r136073
      Arnaud Charlet committed
    • sem_ch3.adb (Derive_Progenitor_Primitives): Add missing support for user-defined… · 8c3dd7a8
      sem_ch3.adb (Derive_Progenitor_Primitives): Add missing support for user-defined predefined primitives.
      
      2008-05-28  Javier Miranda  <miranda@adacore.com>
      
      	* sem_ch3.adb (Derive_Progenitor_Primitives): Add missing support
      	for user-defined predefined primitives.
      	
      	* sem_util.adb (Matches_Prefixed_View_Profile): Ditto.
      	(Find_Overridden_Synchronized_Primitive): Ditto.
      
      	* sem_ch6.adb (Check_Synchronized_Overriding): Ditto.
      
      From-SVN: r136072
      Javier Miranda committed
    • mips.c (mips_cpu_info_table): Add loongson2e and loongson2f entries. · 33db2060
      2008-05-28  Mark Shinwell  <shinwell@codesourcery.com>
      
      	* config/mips/mips.c (mips_cpu_info_table): Add loongson2e
      	and loongson2f entries.
      	(mips_rtx_cost_data): Add entries for Loongson-2E/2F.
      	* config/mips/mips.h (processor_type): Add Loongson-2E
      	and Loongson-2F entries.
      	(TARGET_LOONGSON_2E, TARGET_LOONGSON_2F, TARGET_LOONGSON_2EF): New.
      	(MIPS_ISA_LEVEL_SPEC): Handle Loongson-2E/2F.
      	* config/mips/mips.md (define_attr cpu): Add loongson2e and loongson2f.
      	* doc/invoke.texi (MIPS Options): Document loongson2e
      	and loongson2f processor names.
      
      From-SVN: r136071
      Mark Shinwell committed
    • Daily bump. · 3dce86b9
      From-SVN: r136064
      GCC Administrator committed
  2. 27 May, 2008 18 commits