1. 06 Aug, 2012 8 commits
    • [multiple changes] · a39a553e
      2012-08-06  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_mech.adb (Set_Mechanisms): OUT and IN OUT parameters are
      	now unconditionally passed by reference. IN parameters subject
      	to convention C_Pass_By_Copy are passed by copy, otherwise they
      	are passed by reference.
      
      2012-08-06  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch3.adb (Analyze_Object_Declaration): According to
      	AI95-0303, protected objects with interrupt handlers can be
      	declared in nested scopes. This is a binding interpretation,
      	and thus applies to all versions of the compiler.
      
      2012-08-06  Robert Dewar  <dewar@adacore.com>
      
      	* frontend.adb, exp_aggr.adb: Minor reformatting.
      
      2012-08-06  Thomas Quinot  <quinot@adacore.com>
      
      	* par-endh.adb: Minor reformatting.
      
      From-SVN: r190162
      Arnaud Charlet committed
    • [multiple changes] · 5eeeed5e
      2012-08-06  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* exp_ch7.adb (Process_Transient_Objects): Remove obsolete loop
      	processing related to array initialization. The expansion of
      	loops already contains a mechanism to detect controlled objects
      	generated by expansion and introduce a block around the loop
      	statements for finalization purposes.
      
      2012-08-06  Vincent Pucci  <pucci@adacore.com>
      
      	* sem_ch13.adb: Current scope must be within
      	or same as the scope of the entity while analysing aspect
      	specifications at freeze point.
      
      2012-08-06  Thomas Quinot  <quinot@adacore.com>
      
      	* par_sco.adb: Add note about dubious SCO for TERMINATE
      	alternative.
      	* sem_ch8.adb, exp_ch11.adb: Minor reformatting.
      
      2012-08-06  Ed Schonberg  <schonberg@adacore.com>
      
      	* exp_aggr.adb (Two_Dim_Packed_Array_Handled): New procedure to
      	transform an aggregate for a packed two-dimensional array into
      	a one-dimensional array of constant values, in order to avoid
      	the generation of component-by-component assignments.
      
      2012-08-06  Thomas Quinot  <quinot@adacore.com>
      
      	* frontend.adb: Do not attempt to process deferred configuration
      	pragmas if the main unit failed to load, to avoid cascaded
      	inconsistencies that can lead to a compiler crash.
      
      From-SVN: r190161
      Arnaud Charlet committed
    • [multiple changes] · b5ee491c
      2012-08-06  Vincent Pucci  <pucci@adacore.com>
      
      	* s-atopri.adb: Minor reformatting.
      
      2012-08-06  Arnaud Charlet  <charlet@adacore.com>
      
      	* gnat-style.texi: Clarify that all subprograms should be
      	documented. Minor rewording.
      
      From-SVN: r190160
      Arnaud Charlet committed
    • [multiple changes] · f2c992d9
      2012-08-06  Robert Dewar  <dewar@adacore.com>
      
      	* aspects.ads: Define Aspect_Id_Exclude_No_Aspect.
      	* par-ch13.adb, restrict.adb: Use Aspect_Id_Exclude_No_Aspect to
      	simplify code.
      
      2012-08-06  Yannick Moy  <moy@adacore.com>
      
      	* gnat-style.texi: Update style guide for declarations.
      
      2012-08-06  Yannick Moy  <moy@adacore.com>
      
      	* sem_attr.adb (Analyze_Attribute): In the case for 'Old,
      	skip a special expansion which is not needed in Alfa mode.
      
      2012-08-06  Yannick Moy  <moy@adacore.com>
      
      	* sem_ch5.adb (Analyze_Iterator_Specification): Do not perform
      	an expansion of the iterator in Alfa mode.
      
      From-SVN: r190159
      Arnaud Charlet committed
    • [multiple changes] · a01da44a
      2012-08-06  Robert Dewar  <dewar@adacore.com>
      
      	* s-oscons-tmplt.c, sem_ch9.adb, osint.adb: Minor reformatting.
      
      2012-08-06  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_ch5.adb (Analyze_Loop_Parameter_Specification): Remove obsolete
      	Alfa-specific guard. The code is a leftover from an early
      	implementation of iterators which is no longer in use.
      
      2012-08-06  Vincent Celier  <celier@adacore.com>
      
      	* par-ch13.adb (Get_Aspect_Specifications): Do not consider
      	No_Aspect when checking for a mispelled aspect.
      
      From-SVN: r190158
      Arnaud Charlet committed
    • [multiple changes] · 1bd84c71
      2012-08-06  Robert Dewar  <dewar@adacore.com>
      
      	* s-htable.adb: Minor reformatting.
      
      2012-08-06  Thomas Quinot  <quinot@adacore.com>
      
      	* s-oscons-tmplt.c, g-socket.adb (System.OS_Constants.Target_OS):
      	Suppress warnings so that we don't have to do it at each usage.
      
      From-SVN: r190157
      Arnaud Charlet committed
    • [multiple changes] · b3f96dc1
      2012-08-06  Vincent Pucci  <pucci@adacore.com>
      
      	* exp_ch9.adb (Build_Lock_Free_Unprotected_Subprogram_Body):
      	Use of Known_Static_Esize instead of  Known_Esize and
      	Known_Static_RM_Size instead of Known_RM_Size in order to
      	properly call UI_To_Int. Don't check the size of the component
      	type in case of generic.
      	* sem_ch9.adb (Allows_Lock_Free_Implementation):
      	Use of Known_Static_Esize instead of Known_Esize and
      	Known_Static_RM_Size instead of Known_RM_Size in order to properly
      	call UI_To_Int. Don't check the size of the component type in
      	case of generic.
      
      2012-08-06  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* checks.adb (Discrete_Range_Cond): Do not try to optimize on
      	the assumption that the type of an expression can always fit in
      	the target type of a conversion.
      
      From-SVN: r190156
      Arnaud Charlet committed
    • Daily bump. · d188799d
      From-SVN: r190154
      GCC Administrator committed
  2. 05 Aug, 2012 3 commits
  3. 04 Aug, 2012 8 commits
  4. 03 Aug, 2012 15 commits
  5. 02 Aug, 2012 6 commits
    • cfgexpand.c (expand_debug_locations): Encapsulate test for CONST_DOUBLE in macro. · 48175537
      2012-08-02  Kenneth Zadeck <zadeck@naturalbridge.com>
      
      	* cfgexpand.c (expand_debug_locations):  Encapsulate test for
      	CONST_DOUBLE in macro.
      	* combine.c (try_combine, gen_lowpart_for_combine): Ditto.
      	* cprop.c (implicit_set_cond_p): Ditto.
      	* cselib.c (rtx_equal_for_cselib_1): Ditto.
      	* expmed.c (expand_mult): Ditto.
      	* expr.c (convert_modes): Ditto.
      	* ira-costs.c (record_reg_classes): Ditto.
      	* ira-lives.c (single_reg_class): Ditto.
      	* optabs.c (expand_copysign_absneg, expand_copysign): Ditto.
      	* print-rtl.c (print_rtx): Ditto.
      	* recog.c (simplify_while_replacing, const_double_operand)
      	(asm_operand_ok, constrain_operands): Ditto.
      	* reg-stack.c (subst_stack_regs_pat): Ditto.
      	* reload.c (find_reloads, find_equiv_reg): Ditto.
      	* rtlanal.c (replace_rtx): Remove test.
      	* rtlanal.c (constant_pool_constant_p, split_double): Encapsulate test for
      	CONST_DOUBLE in macro.
      	* simplify-rtx.c (mode_signbit_p, avoid_constant_pool_reference)
      	(simplify_unary_operation_1, simplify_const_unary_operation)
      	(simplify_binary_operation_1, simplify_const_binary_operation)
      	(simplify_relational_operation_1)
      	(simplify_const_relational_operations)
      	(implify_subreg): Ditto.
      	* varasm.c (output_constant_pool_2): Ditto.
      	* rtl.h (CONST_DOUBLE_AS_INT_P, CONST_DOUBLE_AS_FLOAT_P): New
      	macros.
      	* rtl.def (CONST_DOUBLE):  Updated comments.
      
      From-SVN: r190105
      Kenneth Zadeck committed
    • re PR target/51931 (No support for MIPS16 long branches) · 36be1dee
      gcc/
      	PR target/51931
      	* config/mips/mips-protos.h (mips_strip_unspec_address): Declare.
      	* config/mips/mips.c (mips_strip_unspec_address): Make extern.
      	(mips16_rewrite_pool_constant): Make a copy of the pool constant
      	before adding to a PC-relative table.
      	(mips16_lay_out_constants): Add a SPLIT_P parameter.
      	(mips16_load_branch_target, mips16_split_long_branches): New functions.
      	(mips_reorg): Update call to mips16_lay_out_constants.
      	Call mips16_split_long_branches.
      	* config/mips/predicates.md (pc_or_label_operand): Delete.
      	* config/mips/mips.md (length): Add a calculation for MIPS16 branches.
      	Move the extended_mips16 handling further down.
      	(*branch_equality<mode>_mips16): Replace use pc_or_label_operand
      	with explicit label_ref and pc.  Follow the usual operand numbering.
      	(*branch_equality<mode>_mips16_inverted): New pattern.
      	(*jump_mips16): Add length attribute.
      	(indirect_jump_and_restore_<mode>): New pattern.
      	(consttable_int): Call mips_strip_unspec_address on the operand.
      
      gcc/testsuite/
      	PR target/51931
      	* gcc.c-torture/compile/20001226-1.c: Remove nomips16 attribute.
      	* g++.dg/opt/longbranch1.C: Likewise.
      
      From-SVN: r190104
      Richard Sandiford committed
    • recog.c (split_insn): Copy the original SET_SRC before using it as a note. · b5b071a5
      gcc/
      	* recog.c (split_insn): Copy the original SET_SRC before using
      	it as a note.
      
      From-SVN: r190102
      Richard Sandiford committed
    • reorg.c (dbr_schedule): Delete REG_BR_PRED loop. · 8e6ecdc0
      gcc/
      	* reorg.c (dbr_schedule): Delete REG_BR_PRED loop.
      
      From-SVN: r190101
      Richard Sandiford committed
    • re PR tree-optimization/53805 (combine_comparisons changes trapping behavior) · 77b5132f
      2012-08-02  Marc Glisse  <marc.glisse@inria.fr>
      
      	PR tree-optimization/53805
      	* gcc/fold-const.c (invert_tree_comparison): Invert ORDERED_EXPR and
      	UNORDERED_EXPR even for trapping floating point.
      	* gcc/testsuite/gcc.dg/fold-notunord.c: New testcase.
      
      From-SVN: r190100
      Marc Glisse committed
    • Add the bug number in the ChangeLog · c2381fb2
      From-SVN: r190099
      Mikael Morin committed