1. 29 Jul, 2009 11 commits
    • lib1funcs.asm (clear_cache): Use ARM_FUNC_START and do_push/do_pop. · 0244b03f
      2009-07-29  Paul Brook  <paul@codesourcery.com>
      
      	gcc/
      	* config/arm/lib1funcs.asm (clear_cache): Use ARM_FUNC_START and
      	do_push/do_pop.
      
      From-SVN: r150207
      Paul Brook committed
    • sem_ch3.ads, [...] (Add_Internal_Interface_Entities): Routine moved from the… · 3ff38f33
      sem_ch3.ads, [...] (Add_Internal_Interface_Entities): Routine moved from the expander to the semantic analyzer to allow the...
      
      2009-07-29  Javier Miranda  <miranda@adacore.com>
      
      	* sem_ch3.ads, sem_ch3.adb (Add_Internal_Interface_Entities): Routine
      	moved from the expander to the semantic analyzer to allow the
      	generation of these internal entities when compiling with no code
      	generation. Required by ASIS.
      	* sem.adb (Analyze): Add processing for N_Freeze_Entity nodes.
      	* sem_ch13.ads, sem_ch13.adb (Analyze_Freeze_Entity): New subprogram.
      	* exp_ch3.adb (Add_Internal_Interface_Entities): Moved to sem_ch3
      	(Expand_Freeze_Record_Type): Remove call to
      	Add_Internal_Interface_Entities because this routine is now called at
      	early stage --when the freezing node is analyzed.
      
      From-SVN: r150205
      Javier Miranda committed
    • [multiple changes] · a73734f5
      2009-07-29  Robert Dewar  <dewar@adacore.com>
      
      	* exp_atag.ads, exp_atag.adb, s-tasini.adb, s-soflin.ads,
      	exp_disp.adb, g-socket.adb: Minor reformatting
      
      2009-07-29  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch7.adb (New_Private_Type): Create class-wide type after other
      	attributes have been established, so that they are all inherited by the
      	class-wide type.
      	* sem_cat.adb (Validate_Remote_Access_Object_Type_Declaration): Handle
      	properly named subtypes of class-wide types.
      
      From-SVN: r150201
      Arnaud Charlet committed
    • [multiple changes] · 53b10ce9
      2009-07-29  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch6.adb (Check_Overriding_Indicator): Handle properly overriding
      	indicators on user-defined operators.
      
      2009-07-29  Vadim Godunko  <godunko@adacore.com>
      
      	* g-socket.adb (Receive_Vector): Add comment.
      
      From-SVN: r150200
      Arnaud Charlet committed
    • frontend.adb (Frontend): Code cleanup. · d06b3b1d
      2009-07-29  Javier Miranda  <miranda@adacore.com>
      
      	* frontend.adb (Frontend): Code cleanup.
      	* exp_atag.ads, exp_atag.adb (Build_Get_Predefined_Prim_Op_Address):
      	Rewriten as a procedure because it a new out-mode parameters to
      	keep up-to-date the controlling tag node in the caller.
      	(Build_Get_Prim_Op_Address): Rewriten as a procedure because it has a
      	new out-mode parameter to keep up-to-date the controlling tag node in
      	the caller.
      	* exp_ch7.adb, sem_ch5.adb, exp_util.adb, sem_util.adb, exp_ch4.adb,
      	exp_ch6.adb, sem_ch4.adb, exp_ch3.adb: Add new dependency on new
      	package Sem_SCIL.
      	* sem_aux.ads, sem_aux.adb (First_Non_SCIL_Node): Removed. Routine
      	available in new package Sem_SCIL.
      	(Next_Non_SCIL_Node): Ditto.
      	* exp_disp.adb (Adjust_SCIL_Node): Removed. Routine available in new
      	package Sem_SCIL.
      	(Expand_Dispatching_Call): Update call to modified Exp_Atags routines
      	plus complete decoration of SCIL dispatching node.
      	(Find_SCIL_Node): Removed. Routine available in new package Sem_SCIL.
      	* exp_disp.ads (Adjust_SCIL_Node): Removed. Routine available in new
      	package Sem_SCIL.
      	(Find_SCIL_Node): Removed. Routine available in new package Sem_SCIL.
      	* exp_ch3.adb (Build_Init_Procedure): Fix comment.
      	* sem_scil.ads, sem_scil.adb: New files.
      	* gcc-interface/Make-lang.in (GNAT_ADA_OBJS): Addition of sem_scil.o.
      	Update dependencies.
      
      From-SVN: r150199
      Javier Miranda committed
    • re PR target/40577 (ICE on valid code: in extract_insn) · bc4eac6d
      	PR target/40577
      	* config/alpha/alpha.c (alpha_expand_unaligned_store): Convert src
      	to DImode when generating insq_le insn.
      
      From-SVN: r150198
      Uros Bizjak committed
    • dwarf2out.c (DWARF2_INDIRECT_STRING_SUPPORT_MISSING_ON_TARGET): New macro set… · 6f1595d3
      dwarf2out.c (DWARF2_INDIRECT_STRING_SUPPORT_MISSING_ON_TARGET): New macro set for VMS_DEBUGGGING_INFO.
      
      
      	* dwarf2out.c (DWARF2_INDIRECT_STRING_SUPPORT_MISSING_ON_TARGET):
      	New macro set for VMS_DEBUGGGING_INFO.
      	(AT_string_form): Use it.
      
      From-SVN: r150196
      Douglas B Rupp committed
    • configure.xml: Consistent placement of ABI-changing options, clarify --enable-clocale. · 8a259105
      2009-07-28  Benjamin Kosnik  <bkoz@redhat.com>
                  Tyler Earman  <rem.intellegare@gmail.com>
      
              * doc/xml/manual/configure.xml: Consistent placement of
              ABI-changing options, clarify --enable-clocale.
      
      
      Co-Authored-By: Tyler Earman <rem.intellegare@gmail.com>
      
      From-SVN: r150195
      Benjamin Kosnik committed
    • (mep_encode_section_info): Remove it from here. · 3fb0a660
      From-SVN: r150194
      DJ Delorie committed
    • mep.c (vtext_section): New. · 820ca276
      * config/mep/mep.c (vtext_section): New.
      (vftext_section): New.
      (ftext_section): New.
      (mep_select_section): Add support for functions.
      (mep_unique_section): Likewise.
      (mep_asm_init_sections): Likewise.
      
      From-SVN: r150193
      DJ Delorie committed
    • Daily bump. · b54e4d7e
      From-SVN: r150192
      GCC Administrator committed
  2. 28 Jul, 2009 26 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
    • [multiple changes] · 056b0f6f
      2009-07-28  Sergey Rybin  <rybin@adacore.com>
      
      	* gnat_ugn.texi: Add section about gnatcheck rule exemption.
      
      2009-07-28  Vadim Godunko  <godunko@adacore.com>
      
      	* s-oscons-tmplt.c: Define _XOPEN_SOURCE on Linux, otherwise IOV_MAX is
      	not defined by limits.h.
      
      	* g-socket.adb (Receive_Vector): Use minimum length from user's vector
      	length and maximum supported length of data vector.
      
      2009-07-28  Gary Dismukes  <dismukes@adacore.com>
      
      	* usage.adb: Inhibit printing gcc-specific switches for AAMP target.
      	* make.adb: Call Get_Target_Parameters before calling Usage so that
      	VM_Target and AAMP_On_Target will be set.
      
      From-SVN: r150147
      Arnaud Charlet committed
    • [multiple changes] · 5391897d
      2009-07-28  Olivier Hainque  <hainque@adacore.com>
      
      	* g-ssinty.ads: Remove, pointless and just confusing at this stage.
      	* gnat_rm.texi: Remove documentation.
      	* g-sse.ads: Minor reorg along the way.
      	* gcc-interface/Makefile.in: Remove processing for g-ssinty.
      	* g-ssvety.ads: Minor comment updates.
      
      2009-07-28  Sergey Rybin  <rybin@adacore.com>
      
      	* gnat_ugn.texi: gnatcheck 'Format of the Report File' section - update
      	for the new format of the report file.
      
      From-SVN: r150146
      Arnaud Charlet committed
    • [multiple changes] · ecb955bc
      2009-07-28  Sergey Rybin  <rybin@adacore.com>
      
      	* gnat_ugn.texi: gnatcheck Deeply_Nested_Inlining rule: Update doc.
      
      2009-07-28  Pascal Obry  <obry@adacore.com>
      
      	* g-expect.adb: Record standard handles only on Windows.
      
      From-SVN: r150145
      Arnaud Charlet committed
    • avx-vtestpd-1.c: Add -DNEED_IEEE754_DOUBLE. · 549fd9e4
      2009-07-28  Jan Beulich  <jbeulich@novell.com>
      
      	* gcc.target/i386/avx-vtestpd-1.c: Add -DNEED_IEEE754_DOUBLE.
      	* gcc.target/i386/avx-vtestpd-2.c: Likewise.
      	* gcc.target/i386/avx-vtestpd-256-1.c: Likewise.
      	* gcc.target/i386/avx-vtestpd-256-2.c: Likewise.
      	* gcc.target/i386/avx-vtestpd-256-3.c: Likewise.
      	* gcc.target/i386/avx-vtestpd-3.c: Likewise.
      	* gcc.target/i386/avx-vtestps-1.c: Add -DNEED_IEEE754_FLOAT.
      	* gcc.target/i386/avx-vtestps-2.c: Likewise.
      	* gcc.target/i386/avx-vtestps-256-1.c: Likewise.
      	* gcc.target/i386/avx-vtestps-256-2.c: Likewise.
      	* gcc.target/i386/avx-vtestps-256-3.c: Likewise.
      	* gcc.target/i386/avx-vtestps-3.c: Likewise.
      	* gcc.target/i386/m128-check.h (union ieee754_float):  Put into
      	#ifdef NEED_IEEE754_FLOAT conditional.
      	(union ieee754_double):  Put into #ifdef NEED_IEEE754_DOUBLE
      	conditional.
      
      From-SVN: r150142
      Jan Beulich committed
    • bitfield2.C: Add -mno-ms-bitfields for i?86-*-netware. · e561703d
      2009-07-28  Jan Beulich  <jbeulich@novell.com>
      
      	* g++.dg/ext/bitfield2.C: Add -mno-ms-bitfields for
      	i?86-*-netware.
      	* g++.dg/ext/bitfield3.C: Likewise.
      	* g++.dg/ext/bitfield4.C: Likewise.
      	* g++.dg/ext/bitfield5.C: Likewise.
      	* gcc.dg/bitfld-15.c: Likewise.
      	* gcc.dg/bitfld-16.c: Likewise.
      	* gcc.dg/bitfld-17.c: Likewise.
      	* gcc.dg/bitfld-18.c: Likewise.
      	* g++.old-deja/g++.jason/thunk2.C: Remove dg-bogus.
      	* gcc.dg/20010912-1.c: Likewise.
      	* gcc.dg/20021018-1.c: Likewise.
      	* gcc.dg/20030213-1.c: Likewise.
      	* gcc.dg/20030225-1.c: Likewise.
      	* gcc.dg/20030708-1.c: Likewise.
      	* gcc.dg/20050321-2.c: Likewise.
      	* gcc.dg/cdce1.c: Don't pass -lm for *-*-netware*.
      	* gcc.dg/cdce2.c: Likewise.
      	* gcc.target/i386/pr37248-2.c: Don't test on default_packet
      	targets.
      	* gcc.target/i386/pr37248-3.c: Likewise.
      
      From-SVN: r150141
      Jan Beulich committed
    • Makefile.in: Regenerate. · 5268acda
      libstdc++-v3/
      	* python/Makefile.in: Regenerate.
      
      From-SVN: r150140
      Ralf Wildenhues committed
    • Daily bump. · 3845b0a0
      From-SVN: r150139
      GCC Administrator committed
  3. 27 Jul, 2009 3 commits