1. 21 Oct, 2010 19 commits
    • einfo.ads, einfo.adb: Add handling of predicates. · 4818e7b9
      2010-10-21  Robert Dewar  <dewar@adacore.com>
      
      	* einfo.ads, einfo.adb: Add handling of predicates.
      	Rework handling of invariants.
      	* exp_ch3.adb, exp_ch4.adb, exp_util.adb, sem_ch6.adb: Minor changes to
      	handing of invariants.
      	* par-prag.adb: Add dummy entry for pragma Predicate
      	* sem_ch13.adb (Analyze_Aspect_Specifications): Add processing for
      	Predicate aspects.
      	* sem_prag.adb: Add implementation of pragma Predicate.
      	* snames.ads-tmpl: Add entries for pragma Predicate.
      
      2010-10-21  Robert Dewar  <dewar@adacore.com>
      
      	* elists.adb: Minor reformatting.
      
      From-SVN: r165764
      Robert Dewar committed
    • einfo.ads, einfo.adb: Add handling of predicates. · fd0ff1cf
      2010-10-21  Robert Dewar  <dewar@adacore.com>
      
      	* einfo.ads, einfo.adb: Add handling of predicates.
      	Rework handling of invariants.
      	* exp_ch3.adb, exp_ch4.adb, exp_util.adb, sem_ch6.adb: Minor changes to
      	handing of invariants.
      	* par-prag.adb: Add dummy entry for pragma Predicate
      	* sem_ch13.adb (Analyze_Aspect_Specifications): Add processing for
      	Predicate aspects.
      	* sem_prag.adb: Add implementation of pragma Predicate.
      	* snames.ads-tmpl: Add entries for pragma Predicate.
      
      2010-10-21  Robert Dewar  <dewar@adacore.com>
      
      	* elists.adb: Minor reformatting.
      
      From-SVN: r165763
      Robert Dewar committed
    • [multiple changes] · 04cbd48e
      2010-10-21  Geert Bosch  <bosch@adacore.com>
      
      	* urealp.adb (UR_Write): Write hexadecimal constants with exponent 1 as
      	decimal constants, and write any others using the exponent notation.
      	Minor reformatting throughout
      	(Store_Ureal_Normalized): New function (minor code reorganization)
      
      2010-10-21  Robert Dewar  <dewar@adacore.com>
      
      	* einfo.ads, xeinfo.adb: Minor reformatting.
      	* s-stalib.ads: Minor comment fixes.
      
      From-SVN: r165762
      Arnaud Charlet committed
    • [multiple changes] · 7fc53871
      2010-10-21  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch6.adb (Enter_Overloaded_Entity): Refine warning message about
      	hiding, to remove noise warnings about hiding predefined operators.
      
      2010-10-21  Emmanuel Briot  <briot@adacore.com>
      
      	* g-comlin.adb (Add_Switch): Fix handling of switches with no separator
      	when the parameter has length 1.
      
      2010-10-21  Jose Ruiz  <ruiz@adacore.com>
      
      	* sem_prag.adb (Set_Ravenscar_Profile): Enforce the restrictions of no
      	dependence on Ada.Execution_Time.Timers,
      	Ada.Execution_Time.Group_Budget, and
      	System.Multiprocessors.Dispatching_Domains which are part of the
      	Ravenscar Profile.
      	* impunit.adb (Non_Imp_File_Names_05): Add the file "a-etgrbu" to the
      	list of Ada 2005 files for package Ada.Execution_Time.Group_Budgets.
      	(Non_Imp_File_Names_12): Add the file "s-mudido" to the list of Ada 2012
      	files for package System.Mutiprocessors.Dispatching_Domains.
      
      2010-10-21  Tristan Gingold  <gingold@adacore.com>
      
      	* ug_words, vms_data.ads: Define the VMS qualifier for -gnateE.
      
      2010-10-21  Thomas Quinot  <quinot@adacore.com>
      
      	* sem_ch3.ads (Process_Discriminants): Clarify cases where this is
      	called for a completion.
      
      2010-10-21  Geert Bosch  <bosch@adacore.com>
      
      	* uintp.ads: Expand image buffer to have enough room for 128-bit values
      	* urealp.ads (UR_Write): Write constants in base 16 in hexadecimal
      	notation; either as fixed point literal or in canonical radix 16
      	floating point form.
      
      From-SVN: r165761
      Arnaud Charlet committed
    • a-cgaaso.ads, [...]: Minor reformatting · 3b42c566
      2010-10-21  Robert Dewar  <dewar@adacore.com>
      
      	* a-cgaaso.ads, a-tags.ads, exp_ch3.adb, exp_attr.adb, exp_ch4.adb,
      	exp_ch3.ads, exp_ch7.adb, exp_ch9.adb, exp_disp.adb, exp_disp.ads,
      	exp_dist.adb, exp_util.adb, layout.adb, lib-xref.adb, lib.ads,
      	prep.adb, prj-strt.adb, s-ststop.adb, s-taskin.ads, s-tataat.ads,
      	sem_aggr.adb, sem_attr.adb, sem_ch12.adb, sem_ch3.adb, sem_ch4.adb,
      	sem_ch4.ads, sem_ch5.adb, sem_res.adb, sem_util.adb, einfo.adb,
      	g-sothco.ads, make.adb: Minor reformatting
      
      From-SVN: r165760
      Robert Dewar committed
    • [multiple changes] · deeb1604
      2010-10-21  Vincent Celier  <celier@adacore.com>
      
      	* vms_data.ads: Add new qualifiers /SRC_INFO= and
      	/UNCHECKED_SHARED_LIB_IMPORTS for GNAT COMPILE.
      	Correct qualifier /SRC_INFO= for GNAT MAKE
      
      2010-10-21  Ed Schonberg  <schonberg@adacore.com>
      
      	* exp_aggr.adb (Flatten): An association for a subtype may be an
      	expanded name.
      	(Safe_Left_Hand_Side): An unchecked conversion is part of a safe
      	left-hand side if the expression is.
      	(Is_Safe_Index): new predicate
      	* exp_ch3.adb (Expand_Freeze_Enumeration_Type): Indicate that the
      	generated Rep_To_Pos function is a Pure_Function.
      
      2010-10-21  Robert Dewar  <dewar@adacore.com>
      
      	* gnat_rm.texi: Document Invariant pragma.
      
      From-SVN: r165759
      Arnaud Charlet committed
    • [multiple changes] · 51625339
      2010-10-21  Javier Miranda  <miranda@adacore.com>
      
      	* exp_ch5.adb: Update comment.
      
      2010-10-21  Robert Dewar  <dewar@adacore.com>
      
      	* sem_ch13.adb (Build_Invariant_Procedure): Remove commented out code
      	for interfaces, since invariants are not allowed on interfaces in any
      	case.
      
      From-SVN: r165758
      Arnaud Charlet committed
    • [multiple changes] · 25e29378
      2010-10-21  Javier Miranda  <miranda@adacore.com>
      
      	* sem_attr.adb (Resolve_Attribute): After replacing the range attribute
      	node with a range expression ensure that its evaluation will not have
      	side effects.
      	* exp_ch5.adb (Expand_Assign_Array): Propagate the Parent to the
      	unchecked conversion node generated to handle assignment of private
      	types. Required to allow climbing the subtree if Insert_Action is
      	invoked later.
      
      2010-10-21  Robert Dewar  <dewar@adacore.com>
      
      	* par-ch3.adb (P_Interface_Type_Definition): Allow for possibility of
      	aspect clause presence terminating the type definition.
      
      From-SVN: r165757
      Arnaud Charlet committed
    • [multiple changes] · 90c63b09
      2010-10-21  Robert Dewar  <dewar@adacore.com>
      
      	* exp_ch4.adb, exp_intr.adb, par-ch4.adb, scn.adb, sem_ch4.adb,
      	sem_res.adb, sem_util.adb, sinfo.ads, a-except-2005.adb: Minor
      	reformatting.
      	* snames.ads-tmpl: Add note on Name_Some (not a reserved keyword).
      
      2010-10-21  Geert Bosch  <bosch@adacore.com>
      
      	* ttypef.ads: Further cleanup of Safe_XXX float attributes.
      
      From-SVN: r165756
      Arnaud Charlet committed
    • re PR fortran/46067 ([F03] invalid procedure pointer assignment not detected) · acee8486
      2010-10-21  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/46067
      	* interface.c (gfc_compare_interfaces): Switch arguments of type
      	comparison (important for polymorphic variables).
      
      
      2010-10-21  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/46067
      	* gfortran.dg/dummy_procedure_4.f90: New.
      	* gfortran.dg/proc_ptr_30.f90: New.
      
      From-SVN: r165755
      Janus Weil committed
    • s390.md (*xordi3_cc): Mark xgrk as z196 only. · 5490de28
      2010-10-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	* config/s390/s390.md (*xordi3_cc): Mark xgrk as z196 only.
      
      From-SVN: r165754
      Andreas Krebbel committed
    • vms-crtl.h (CRTL_NAMES): Add new translations. · 1347d65c
      2010-10-21  Tristan Gingold  <gingold@adacore.com>
      
      	* config/vms/vms-crtl.h (CRTL_NAMES): Add new translations.
      	* config/vms/vms-crtl-64.h (CRTL_NAMES): Ditto.
      
      From-SVN: r165753
      Tristan Gingold committed
    • vms-unwind.h (alpha_vms_fallback_frame_state): Set signal_frame. · 1f5576a8
      2010-10-21  Tristan Gingold  <gingold@adacore.com>
      
      	* config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state): Set
      	signal_frame.
      	* config/alpha/alpha.c (alpha_function_arg): Adjust call.
      
      From-SVN: r165752
      Tristan Gingold committed
    • vms64.h (TARGET_DEFAULT): Add MASK_FUSED_MADD. · 168e58f2
      2010-10-21  Tristan Gingold  <gingold@adacore.com>
      
      	* config/ia64/vms64.h (TARGET_DEFAULT): Add MASK_FUSED_MADD.
      	* config/ia64/vms.h (TARGET_DEFAULT): Ditto.
      
      From-SVN: r165751
      Tristan Gingold committed
    • re PR fortran/46100 ([Fortran 2008] Non-variable pointer expression as actual… · 9b565d65
      re PR fortran/46100 ([Fortran 2008] Non-variable pointer expression as actual argument to INTENT(OUT) non-pointer dummy)
      
      2010-10-21  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/46100
              * expr.c (gfc_check_vardef_context): Treat pointer functions
              as variables.
      
      2010-10-21  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/46100
              * gfortran.dg/ptr-func-1.f90: New.
              * gfortran.dg/ptr-func-2.f90: New.
      
      From-SVN: r165749
      Tobias Burnus committed
    • basic-block.h (find_fallthru_edge): Define. · 0fd4b31d
      	* basic-block.h (find_fallthru_edge): Define.
      	* cfgcleanup.c (merge_blocks_move): Use it.
      	(try_crossjump_bb): Likewise.
      	* cfglayout.c (fixup_reorder_chains): Likewise.
      	(fixup_fallthru_exit_predecessor): Likewise.
      	* cfgrtl.c (rtl_split_edge): Likewise.
      	(rtl_verify_flow_info): Likewise.
      	* function.c (thread_prologue_and_epilogue_insns): Likewise.
      	* gimple-pretty-print.c (dump_implicit_edges): Likewise.
      	* ifcvt.c (block_fallthru): Likewise.
      	* reload1.c (fixup_abnormal_edges): Likewise.
      	* sched-ebb.c (being_schedule_ready): Likewise.
      	(schedule_ebb): Likwise.
      	* sched-rgn.c (find_single_block_region): Likewise.
      	* sel-sched-ir.c (bb_ends_ebb_p): Likewise.
      	* tree-complex.c (expand_complex_move): Likewise.
      	* sched-int.h (find_fallthru_edge): Rename to...
      	(find_fallthru_edge_from): ...this.
      	* haifa-sched.c (find_fallthru_edge): Rename to...
      	(find_fallthru_edge_from): ...this.  Use new find_fallthru_edge.
      	(init_before_recovery): Call find_fallthru_edge_from.
      	* sel-sched-ir.c (merge_fences): Likewise.
      	* sel-sched.c (in_fallthru_bb_p): Likewise.
      	(move_cond_jump): Likewise.
      
      From-SVN: r165748
      Nathan Froyd committed
    • pdp11.md (various): Fix conditions on a number of insn to check for target 11/40 or higher. · b56f8e7c
      * config/pdp11/pdp11.md (various): Fix conditions on a number of
      insn to check for target 11/40 or higher.
      
      From-SVN: r165747
      Paul Koning committed
    • re PR fortran/46079 (ABI for empty stop statement broken) · cea59ace
      2010-10-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/46079
      	* runtime/stop.c (stop_numeric_f08): New function.
      	(stop_numeric): Restore	to previous behavior.
      	* gfortran.map: Add symbol _gfortran_stop_numeric_f08.
      
      2010-10-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/46079
      	* trans_stmt.c (gfc_trans_stop): Fix whitespace.  Build a call to new
      	F08 numeric stop function.
      	* trans.h: Add declaration for gfor_fndecl_stop_numeric_f08.
      	* trans-decl.c (gfc_build_builtin_function_decls): Build declaration
      	for stop_numeric_f08.
      
      From-SVN: r165746
      Jerry DeLisle committed
    • Daily bump. · 7cc2a03d
      From-SVN: r165745
      GCC Administrator committed
  2. 20 Oct, 2010 21 commits