1. 16 Apr, 2010 29 commits
  2. 15 Apr, 2010 11 commits
    • re PR target/43741 (sh-elf ICEs for libstdc++-v3/src/ios_init.cc with -m2a) · 7140f0f9
      	PR target/43471
      	* config/sh/sh.c (sh_legitimize_reload_address): Use
      	MAYBE_BASE_REGISTER_RTX_P instead of BASE_REGISTER_RTX_P.
      	Remove a unneeded check for offset_base.
      
      From-SVN: r158393
      Kaz Kojima committed
    • re PR fortran/30073 (Array out of bounds gives name of RHS array not LHS array) · e3e529d1
          PR fortran/30073
          * trans-array.c (gfc_trans_array_bound_check): Eliminate a redundant
          block of code.  Set name to the variable associated with the descriptor.
      
      From-SVN: r158392
      Steven G. Kargl committed
    • cuintp.c (UI_To_gnu): Fix long line. · 58c8f770
      	* gcc-interface/cuintp.c (UI_To_gnu): Fix long line.
      	* gcc-interface/gigi.h (MARK_VISITED): Skip objects of constant class.
      	(process_attributes): Delete.
      	(post_error_ne_num): Change parameter name.
      	* gcc-interface/decl.c (gnat_to_gnu_entity): Do not force debug info
      	with -g3.  Remove a couple of obsolete lines.  Minor tweaks.
      	If type annotating mode, operate on trees to compute the adjustment to
      	the sizes of tagged types.  Fix long line.
      	(cannot_be_superflat_p): Tweak head comment.
      	(annotate_value): Fold local constant.
      	(set_rm_size): Fix long line.
      	* gcc-interface/trans.c (Identifier_to_gnu): Rework comments.
      	(Attribute_to_gnu): Fix long line.
      	<Attr_Size>: Remove useless assertion.
      	Reorder statements.  Use size_binop routine.
      	(Loop_Statement_to_gnu): Use build5 in lieu of build_nt.
      	Create local variables for the label and the test.  Tweak comments.
      	(Subprogram_Body_to_gnu): Reset cfun to NULL.
      	(Compilation_Unit_to_gnu): Use the Sloc of the Unit node.
      	(process_inlined_subprograms): Integrate into...
      	(Compilation_Unit_to_gnu): ...this.
      	(gnat_to_gnu): Fix long line.
      	(post_error_ne_num): Change parameter name.
      	* gcc-interface/utils.c (process_attributes): Static-ify.
      	<ATTR_MACHINE_ATTRIBUTE>: Set input_location before proceeding.
      	(create_type_decl): Add comment.
      	(create_var_decl_1): Process the attributes after adding the VAR_DECL
      	to the current binding level.
      	(create_subprog_decl): Likewise for the FUNCTION_DECL.
      	(end_subprog_body): Do not reset cfun to NULL.
      	(build_vms_descriptor32): Fix long line.
      	(build_vms_descriptor): Likewise.
      	(handle_nonnull_attribute): Likewise.
      	(convert_vms_descriptor64): Likewise.
      	* gcc-interface/utils2.c (fill_vms_descriptor): Fix long line.
      	(gnat_protect_expr): Fix thinko.
      
      From-SVN: r158390
      Eric Botcazou committed
    • trans.c (gigi): Set DECL_IGNORED_P on EH functions. · 1fc24649
      	* gcc-interface/trans.c (gigi): Set DECL_IGNORED_P on EH functions.
      	(gnat_to_gnu) <N_Op_Eq>: Restore the value of input_location
      	before translating the top-level node.
      	(lvalue_required_p) <N_Function_Call>: Return 1 if !constant.
      	<N_Object_Declaration>: Likewise.
      	<N_Assignment_Statement>: Likewise.
      	<N_Unchecked_Type_Conversion>: Likewise.
      	(call_to_gnu): Remove kludge.
      	(gnat_to_gnu) <N_Return_Statement>: When not optimizing, force labels
      	associated with user returns to be preserved.
      	(gnat_to_gnu): Add special code to deal with boolean rvalues.
      	* gcc-interface/utils2.c (compare_arrays): Set input_location on all
      	comparisons.
      	(build_unary_op) <ADDR_EXPR>: Call build_fold_addr_expr.
      	<INDIRECT_REF>: Call build_fold_indirect_ref.
      
      From-SVN: r158388
      Eric Botcazou committed
    • Regenerate gcc/configure. · bafaef55
      2010-04-15  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* configure: Regenerated.
      
      From-SVN: r158386
      H.J. Lu committed
    • s390.c (s390_call_save_register_used): Switch back to HARD_REGNO_NREGS. · e8de8fea
      2010-04-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	* config/s390/s390.c (s390_call_save_register_used): Switch back
      	to HARD_REGNO_NREGS.
      
      From-SVN: r158384
      Andreas Krebbel committed
    • g-socket.adb: A target can have multiple missing errno's. · 8c709695
      2010-04-15  Joel Sherrill <joel.sherrill@oarcorp.com>
      
      	* g-socket.adb: A target can have multiple missing errno's.  This
      	will result in multiple errno's being defined as -1.  Because of this
      	we can not use a case but must use a series of if's to avoid 
      	a duplicate case error in GNAT.Sockets.Resolve_Error.
      
      From-SVN: r158382
      Joel Sherrill committed
    • gsocket.h: Run-time can no longer be built without network OS headers available. · d8a653c5
      2010-04-13  Joel Sherrill <joel.sherrill@oarcorp.com>
      
      	* gsocket.h: Run-time can no longer be built without network
      	OS headers available.  Changing RTEMS GNAT build procedure to
      	reflect this and letting run-time build use network .h files.
      
      From-SVN: r158381
      Joel Sherrill committed
    • alias.c (alias_set_subset_of): Handle alias-set zero child properly. · 038a39d1
      2010-04-15  Richard Guenther  <rguenther@suse.de>
      
      	* alias.c (alias_set_subset_of): Handle alias-set zero
      	child properly.
      
      From-SVN: r158380
      Richard Guenther committed
    • thumb2.md (thumb2_movsi_insn): Split ldr and str alternatives according to use… · 28907f9a
      thumb2.md (thumb2_movsi_insn): Split ldr and str alternatives according to use of high and low regs.
      
      	gcc/
      	* config/arm/thumb2.md (thumb2_movsi_insn): Split ldr and str
      	alternatives according to use of high and low regs.
      	* config/arm/vfp.md (thumb2_movsi_vfp): Likewise.
      	* config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Use high regs when
      	optimizing for size on Thumb-2.
      
      
      Co-Authored-By: Julian Brown <julian@codesourcery.com>
      
      From-SVN: r158378
      Mark Shinwell committed
    • config.gcc: Handle softfp as for Linux. · 3f56ef8b
      2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
      
      	gcc/
      	* config.gcc <i[34567]86-*-gnu*>: Handle softfp as for Linux.
      
      	libgcc/
      	* config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
      
      From-SVN: r158375
      Thomas Schwinge committed