1. 29 Jul, 2009 21 commits
  2. 28 Jul, 2009 19 commits
    • maxlocval_2.f90: Add -mieee for alpha*-*-* and sh*-*-* targets. · c3be9b37
      	* gfortran.dg/maxlocval_2.f90: Add -mieee for alpha*-*-* and
      	sh*-*-* targets.  Skip on spu-*-* targets.
      	* gfortran.dg/maxlocval_4.f90: Likewise.
      	* gfortran.dg/minlocval_1.f90: Likewise.
      	* gfortran.dg/minlocval_4.f90: Likewise.
      
      From-SVN: r150189
      Kaz Kojima committed
    • tree.h (TREE_DEPRECATED): Document it is used for types too. · e2121f17
      2009-07-28  Paolo Bonzini  <bonzinI@gnu.org>
      
      	* tree.h (TREE_DEPRECATED): Document it is used for types too.
      	(TYPE_VECTOR_OPAQUE): Use default_def_flag
      
      From-SVN: r150181
      Paolo Bonzini committed
    • dwarf2out.c (output_file_names): Test new macro DWARF2_DIR_SHOULD_END_WITH_SEPARATOR. · dde08f9b
      
      	* dwarf2out.c (output_file_names): Test new macro
      	DWARF2_DIR_SHOULD_END_WITH_SEPARATOR.
      	(add_comp_dir_attribute): Likewise.
      
      From-SVN: r150173
      Douglas B Rupp committed
    • mingw-w64.h (LINK_SPEC): Add separating space between commands. · 032502c2
      2009-07-28  Kai Tietz  <kai.tietz@onevision.com>
      
      	* config/i386/mingw-w64.h (LINK_SPEC): Add
      	separating space between commands.
      
      From-SVN: r150170
      Kai Tietz committed
    • re PR tree-optimization/40759 (segfault in useless_type_conversion_p) · b29c2ffd
      
      	PR tree-optimization/40759
      	* tree-ssa-dce.c (mark_virtual_phi_result_for_renaming): Mark all uses
      	for renaming.
      
      From-SVN: r150168
      Jan Hubicka committed
    • natGCInfo.cc (nomem_handler): Use oomDumpName as dump file name base. · 2cf7e0f0
      	* gnu/gcj/util/natGCInfo.cc (nomem_handler): Use oomDumpName as
      	dump file name base.
      
      From-SVN: r150166
      David Daney committed
    • re PR fortran/40878 (!$omp collapse(m) with non-constant m should give error) · 394a5b34
      	PR fortran/40878
      	* openmp.c (gfc_match_omp_clauses): Use gfc_error_now instead of
      	gfc_error to diagnose invalid COLLAPSE arguments.
      
      	* gfortran.dg/gomp/pr40878-1.f90: New test.
      	* gfortran.dg/gomp/pr40878-2.f90: New test.
      
      From-SVN: r150165
      Jakub Jelinek committed
    • re PR testsuite/40891 (Revision 150143 failed gcc.dg/cdce[12].c) · fa4d0418
      	PR testsuite/40891
      	* gcc.dg/cdce1.c: Adjust note line number.
      	* gcc.dg/cdce2.c: Likewise.
      
      From-SVN: r150163
      Jakub Jelinek committed
    • adaint.h, [...]: Minor reformatting & code reorganization · 8d12c865
      2009-07-28  Robert Dewar  <dewar@adacore.com>
      
      	* adaint.h, einfo.ads, prj.adb, sem_util.adb, makeutl.ads,
      	makeutl.adb: Minor reformatting & code reorganization
      	* sem_ch3.adb: Minor reformatting.
      	Fix spelling error (constraint for constrain) in error msg.
      
      From-SVN: r150162
      Robert Dewar committed
    • Fix for PR40616: missing java.io.PrintStream constructors. · 74efe9f0
      2009-07-27  Andrew John Hughes  <ahughes@redhat.com>
      
      	PR libgcj/40616
      	* java/io/PrintStream.class: Regenerated.
      	* java/io/PrintStream.h: Updated.
      	* java/io/PrintStream.java:
      	(PrintStream(File)): Ported from GNU Classpath
      	version.
      	(PrintStream(File, String)): Likewise.
      	(PrintStream(String)): Likewise.
      	(PrintStream(String, String)): Likewise.
      
      From-SVN: r150161
      Andrew John Hughes committed
    • make.adb, [...] (Project_Tree): Duplicates the global variable that also exists in makeutl.ads... · 38990220
      2009-07-28  Emmanuel Briot  <briot@adacore.com>
      
      	* make.adb, makeutl.adb, makeutl.ads (Project_Tree): Duplicates the
      	global variable that also exists in makeutl.ads, and that some routines
      	in that package use already.
      	(Check): Moved part of the code to makeutl.adb for better sharing with
      	gprbuild.
      
      From-SVN: r150157
      Emmanuel Briot committed
    • MAINTAINERS (Write After Approval): Update my e-mail address. · f563194d
      2009-07-28  Rask Ingemann Lambertsen <ccc94453@vip.cybercity.dk>
      
      	* MAINTAINERS (Write After Approval): Update my e-mail address.
      
      From-SVN: r150156
      Rask Ingemann Lambertsen committed
    • re PR fortran/40882 ([F03] infinite recursion in gfc_get_derived_type with PPC… · c4984ab2
      re PR fortran/40882 ([F03] infinite recursion in gfc_get_derived_type with PPC returning derived type)
      
      2009-07-28  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/40882
      	* trans-types.c (gfc_get_ppc_type): For derived types, directly use the
      	backend_decl, instead of calling gfc_typenode_for_spec, to avoid
      	infinte loop.
      	(gfc_get_derived_type): Correctly handle PPCs returning derived types,
      	avoiding infinite recursion.
      
      
      2009-07-28  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/40882
      	* gfortran.dg/proc_ptr_comp_13.f90: New.
      
      From-SVN: r150154
      Janus Weil committed
    • * gcc-interface/Make-lang.in: Update dependencies. · fe8b685c
      From-SVN: r150153
      Arnaud Charlet committed
    • [multiple changes] · f7e71125
      2009-07-28  Emmanuel Briot  <briot@adacore.com>
      
      	* prj.adb, prj.ads (Compute_All_Imported_Projects): Make sure the
      	importing project does not end up in the list, in the case of extending
      	projects.
      	* make.adb, makeutl.adb, makeutl.ads (File_Not_A_Source_Of): Moved to
      	makeutl.ads, for better sharing with gprbuild.
      
      2009-07-28  Arnaud Charlet  <charlet@adacore.com>
      
      	* gnat_ugn.texi: Fix typo.
      
      2009-07-28  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch3.adb (Build_Derived_Concurrent_Type): Handle properly a
      	derivation that renames some discriminants and constrain others.
      	* exp_ch9.adb (Build_Protected_Subprogram_Call): If the type of the
      	prefix is a derived untagged type, convert to the root type to conform
      	to the signature of the protected operations.
      
      2009-07-28  Robert Dewar  <dewar@adacore.com>
      
      	* sinfo.ads: Update comments.
      	* exp_attr.adb: Minor reformatting
      
      From-SVN: r150152
      Arnaud Charlet committed
    • [multiple changes] · 55603e5e
      2009-07-28  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_aggr.adb (Get_Value): A named association in a record aggregate
      	should be treated as a modification of the named component, not as a
      	reference.
      
      2009-07-28  Quentin Ochem  <ochem@adacore.com>
      
      	* prj-tree.ads, prj-tree.adb (Free): Minor editing.
      	* prj.ads, prj.adb (Image): Ditto.
      
      From-SVN: r150151
      Arnaud Charlet committed
    • [multiple changes] · e657b693
      2009-07-28  Arnaud Charlet  <charlet@adacore.com>
      
      	* frontend.adb: Minor reformatting.
      	(Frontend): Only call Check_SCIL_Nodes if assertions are enabled,
      	for efficiency.
      
      2009-07-28  Bob Duff  <duff@adacore.com>
      
      	* exp_attr.adb (Expand_Access_To_Protected_Op): Use 'Access instead of
      	'Address to get a pointer to the protected body wrapper.
      
      From-SVN: r150150
      Arnaud Charlet committed
    • gnat1drv.adb (Adjust_Global_Switches): Disable generation of SCIL nodes if we… · 327503f1
      gnat1drv.adb (Adjust_Global_Switches): Disable generation of SCIL nodes if we are not generating code.
      
      2009-07-28  Javier Miranda  <miranda@adacore.com>
      
      	* gnat1drv.adb (Adjust_Global_Switches): Disable generation of SCIL
      	nodes if we are not generating code.
      	* frontend.adb (Check_SCIL_Node): New subprogram. Used to check
      	attribute SCIL_Related_Node of SCIL dispatching nodes.
      	(Check_SCIL_Nodes): New instantiation of Traverse_Proc.
      	* sinfo.ads (Is_SCIL_Node,Set_Is_SCIL_Node): Removed
      	(SCIL_Nkind,Set_SCIL_Nkind): Removed.
      	(SCIL_Entity): Update documentation.
      	(SCIL_Related_Node): Update documentation.
      	(SCIL_Controlling_Tag): New attribute.
      	(SCIL_Target_Prim): Update documentation.
      	(N_Null_Statement): Remove attributes associated with SCIL nodes.
      	(N_SCIL_Dispatch_Table_Object_Init): New node.
      	(N_SCIL_Dispatch_Table_Tag_Init): New node.
      	(N_SCIL_Dispatching_Call): New node.
      	(N_SCIL_Tag_Init): New node.
      	* sinfo.adb (Is_SCIL_Node,Set_Is_SCIL_Node): Removed
      	(SCIL_Nkind,Set_SCIL_Nkind): Removed.
      	(SCIL_Controlling_Tag/Set_SCIL_Controlling_Tag): New subprogram.
      	(SCIL_Entity,Set_SCIL_Entity): Applicable only to SCIL nodes.
      	(SCIL_Related_Node,Set_SCIL_Related_Node): Applicable only to SCIL nodes
      	(SCIL_Target_Prim,Set_SCIL_Target_Prim): Applicable only to
      	N_SCIL_Dispatching_Call nodes.
      	* sem.adb (Analyze): No need to analyze SCIL nodes.
      	* sem_aux.ads, sem_aux.adb (First_Non_SCIL_Node): New subprogram
      	(Next_Non_SCIL_Node): New subprogram
      	* sem_ch4.adb (Analyze_Type_Conversion): Adjust relocated SCIL
      	dispatching nodes.
      	* sem_ch5.adb (Analyze_Iteration_Scheme): Adjust relocated SCIL
      	dispatching node.
      	* sem_util.adb (Insert_Explicit_Dereference): Adjust relocated SCIL
      	dispatching node.
      	* exp_ch3.adb (Build_Array_Init_Proc): Skip SCIL nodes when processing
      	null statement nodes.
      	(Build_Init_Procedure): Generate new SCIL node.
      	* exp_ch4.adb (Expand_N_And_Then): Adjust relocated SCIL dispatching
      	node.
      	* exp_ch6.adb (Is_Null_Procedure): Skip SCIL nodes. Required because
      	they are currently implemented as special N_Null_Statement nodes.
      	* exp_ch7.adb (Wrap_Transient_Statement): If the relocated node is a
      	procedure call then check if some SCIL node references it and needs
      	readjustment.
      	* exp_disp.ads (SCIL_Node_Kind): Removed.
      	(Adjust_SCIL_Node): New subprogram.
      	(Find_SCIL_Node): New subprogram.
      	(Get_SCIL_Node_Kind): Removed.
      	(New_SCIL_Node): Removed.
      	* exp_disp.adb (Adjust_SCIL_Node): New subprogram
      	(Expand_Dispatching_Call): Generate new SCIL dispatching node including
      	decoration of its new controlling_tag attribute.
      	(Get_SCIL_Node_Kind): Removed.
      	(Find_SCIL_Node): New subprogram.
      	(Make_Secondary_DT): Generate new SCIL nodes.
      	(Make_Tags): Generate new SCIL nodes.
      	(New_SCIL_Node): Removed.
      	* exp_util.adb (Insert_Actions): Handle SCIL nodes.
      	(Remove_Side_Effects): Check if relocated nodes require readjustment
      	of some SCIL dispatching node.
      	* gcc-interface/trans.c (gnat_to_gnu): Do nothing with new SCIL nodes.
      
      From-SVN: r150149
      Javier Miranda committed
    • prj-nmsc.adb, [...]: Minor reformatting · b125fe15
      2009-07-28  Robert Dewar  <dewar@adacore.com>
      
      	* prj-nmsc.adb, g-expect.adb, prj.ads: Minor reformatting
      
      From-SVN: r150148
      Robert Dewar committed