1. 07 Jul, 2005 21 commits
    • sem_ch8.adb (Find_Direct_Name): Handle properly the case of a generic package… · 4de287c4
      sem_ch8.adb (Find_Direct_Name): Handle properly the case of a generic package that contains local declarations...
      
      2005-07-07  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch8.adb (Find_Direct_Name): Handle properly the case of a
      	generic package that contains local declarations with the same name.
      	(Analyze_Object_Renaming): Check wrong renaming of incomplete type.
      
      From-SVN: r101698
      Ed Schonberg committed
    • par-load.adb (Load): If a child unit is loaded through a limited_with clause... · 28be29ce
      2005-07-07  Ed Schonberg  <schonberg@adacore.com>
      	    Javier Miranda  <miranda@adacore.com>
      
      	* par-load.adb (Load): If a child unit is loaded through a limited_with
      	clause, each parent must be loaded as a limited unit as well.
      
      	* sem_ch10.adb (Previous_Withed_Unit): Better name for
      	Check_Withed_Unit. Return true if there is a previous with_clause for
      	this unit, whether limited or not.
      	(Expand_Limited_With_Clause): Do not generate a limited_with_clause on
      	the current unit.
      	(Is_Visible_Through_Renamings): New local subprogram of install_limited
      	_withed_unit that checks if some package installed through normal with
      	clauses has a renaming declaration of package whose limited-view is
      	ready to be installed. This enforces the check of the rule 10.1.2 (21/2)
      	of the current Draft document for Ada 2005.
      	(Analyze_Context): Complete the list of compilation units that
      	are allowed to contain limited-with clauses. It also contains
      	checks that were previously done by Install_Limited_Context_Clauses.
      	This makes the code more clear and easy to maintain.
      	(Expand_Limited_With_Clause) It is now a local subprogram of
      	Install_Limited_Context_Clauses, and contains the code that adds
      	the implicit limited-with clauses for parents of child units.
      	This functionality was prevously done by Analyze_Context.
      
      	* sem_ch4.adb (Analyze_Selected_Component): Check wrong use of
      	incomplete type.
      
      	* sem_ch7.adb (Analyze_Package_Declaration): Check if the package has
      	been erroneously named in a limited-with clause of its own context.
      	In this case the error has been previously notified by Analyze_Context.
      
      From-SVN: r101697
      Ed Schonberg committed
    • re PR ada/22301 (Ada does not build into a clean prefix when unwind.h is not installed) · 4e7ce6ab
      2005-07-07  Olivier Hainque  <hainque@adacore.com>
      
      	PR ada/22301
      
      	* raise.c: Only include unwind.h if IN_RTS, and provide dummy type
      	definitions for the Unwind wrappers in the compiler case.
      
      From-SVN: r101696
      Olivier Hainque committed
    • freeze.adb (Freeze_Entity): Check wrong uses of tag incomplete types. · d8db0bca
      2005-07-07  Javier Miranda  <miranda@adacore.com>
      
      	* freeze.adb (Freeze_Entity): Check wrong uses of tag incomplete types.
      
      	* par-ch3.adb (P_Type_Declaration): Give support to tagged incomplete
      	types:
      	--
      	  type DEFINING_IDENTIFIER [DISCRIMINANT_PART] [IS TAGGED];
      	--
      
      	* sem_attr.adb (Check_Not_Incomplete_Type): Additional checks for wrong
      	use of tag incomplete types.
      
      	* sem_ch3.adb (Analyze_Incomplete_Type): Add mininum decoration to
      	give support to tagged incomplete types.
      
      	* sem_ch5.adb (Analyze_Case_Statement): In generated code, if the
      	expression is a discriminant reference and its type is private, as can
      	happen within a stream operation for a mutable record, use the full
      	view of the type to resolve the case alternatives.
      	(Analyze_Assignment): Check wrong dereference of incomplete types.
      
      	* sem_ch6.adb (Process_Formals): Allow the use of tagged incomplete
      	types.
      
      	* sem_res.adb (Resolve_Explicit_Dereference): Allow the use of tagged
      	incomplete types.
      
      	* sinfo.adb (Taggged_Present/Set_Taggged_Present): Applicable to
      	N_Incomplete_Type_Declaration nodes.
      
      	* sinfo.ads (N_Incomplete_Type_Declaration): Addition of attribute
      	Tag_Present to give support to tagged incomplete types:
      	--
      	  type DEFINING_IDENTIFIER [DISCRIMINANT_PART] [IS TAGGED];
      	--
      
      From-SVN: r101695
      Javier Miranda committed
    • exp_ch3.adb (Build_Record_Init_Proc/Freeze_Record_Type): Reimplementation of the… · 3ca505dc
      exp_ch3.adb (Build_Record_Init_Proc/Freeze_Record_Type): Reimplementation of the support for abstract interface types in order to leave...
      
      2005-07-07  Javier Miranda  <miranda@adacore.com>
      
      	* exp_ch3.adb (Build_Record_Init_Proc/Freeze_Record_Type):
      	Reimplementation of the support for abstract interface types in order
      	to leave the code more clear and easy to maintain.
      
      	* exp_ch6.adb (Freeze_Subprogram): Reimplementation of the support for
      	abstract interface types in order to leave the code clearer and easier
      	to maintain.
      
      	* exp_disp.ads, exp_disp.adb (Fill_DT_Entry): Part of its functionality
      	is now implemented by the new subprogram Fill_Secondary_DT_Entry.
      	(Fill_Secondary_DT_Entry): Generate the code necessary to fill the
      	appropriate entry of the secondary dispatch table.
      	(Make_DT): Add code to inherit the secondary dispatch tables of
      	the ancestors.
      
      	* exp_util.adb (Find_Interface_Tag/Find_Interface_ADT): Instead of
      	implementing both functionalities by means of a common routine, each
      	routine has its own code.
      
      From-SVN: r101694
      Javier Miranda committed
    • decl.c (gnat_to_gnu_entity): Do not strip the padding type if the parameter is… · 69601f74
      decl.c (gnat_to_gnu_entity): Do not strip the padding type if the parameter is not passed by copy but...
      
      2005-07-07  Eric Botcazou  <ebotcazou@adacore.com>
      
      	* decl.c (gnat_to_gnu_entity) <E_Procedure>: Do not strip the padding
      	type if the parameter is not passed by copy but reference by default.
      
      From-SVN: r101693
      Eric Botcazou committed
    • bindgen.adb (Gen_Output_File_C): When switch -a was specified... · 33420a44
      2005-07-07  Vincent Celier  <celier@adacore.com>
      
      	* bindgen.adb (Gen_Output_File_C): When switch -a was specified, put
      	the destructor/constructor attributes for <lib>final/<lib>init.
      
      	* gnatbind.adb (Gnatbind): Allow -a to be used in conjunction with -C
      
      From-SVN: r101692
      Vincent Celier committed
    • g-socthi-mingw.adb (C_Inet_Addr): New body used to convert the returned type on Windows. · 2366e7c6
      2005-07-07  Pascal Obry  <obry@adacore.com>
      
      	* g-socthi-mingw.adb (C_Inet_Addr): New body used to convert the
      	returned type on Windows.
      
      	* g-socthi-mingw.ads (C_Inet_Addr): Remove pragma Import for this
      	routine.
      
      	* g-socket.adb (Inet_Addr): Check for empty Image and raises an
      	exception in this case.
      	Simplify the code as "Image (Image'Range)" = "Image".
      
      From-SVN: r101691
      Pascal Obry committed
    • sparc.md (stack_protect_testsi): Put clobbers after all sets in the pattern. · 41f12ed0
      	* config/sparc/sparc.md (stack_protect_testsi): Put clobbers after
      	all sets in the pattern.
      	* config/rs6000/rs6000.md (stack_protect_testsi,
      	stack_protect_testdi): Likewise.
      
      From-SVN: r101690
      Jakub Jelinek committed
    • Real commit for Hollerith constants. · bc192c77
      From-SVN: r101689
      Feng Wang committed
    • For the 60th anniversary of Chinese people��s Anti-Japan war victory. · d3642f89
      2005-07-07  Feng Wang  <fengwang@nudt.edu.cn>
      
      	PR fortran/16531
      	PR fortran/15966
      	PR fortran/18781
      	* arith.c (gfc_hollerith2int, gfc_hollerith2real,
      	gfc_hollerith2complex, gfc_hollerith2character, gfc_hollerith2logical):
      	New functions.
      	(eval_intrinsic): Don't evaluate if Hollerith constant arguments exist.
      	* arith.h (gfc_hollerith2int, gfc_hollerith2real,
      	gfc_hollerith2complex, gfc_hollerith2character, gfc_hollerith2logical):
      	Add prototypes.
      	* expr.c (free_expr0): Free memery allocated for Hollerith constant.
      	(gfc_copy_expr): Allocate and copy string if Expr is from Hollerith.
      	(gfc_check_assign): Enable conversion from Hollerith to other.
      	* gfortran.h (bt): Add BT_HOLLERITH.
      	(gfc_expr): Add from_H flag.
      	* intrinsic.c (gfc_type_letter): Return 'h' for BT_HOLLERITH.
      	(add_conversions): Add conversions from Hollerith constant to other.
      	(do_simplify): Don't simplify if  Hollerith constant arguments exist.
      	* io.c (resolve_tag): Enable array in FORMAT tag under GFC_STD_GNU.
      	* misc.c (gfc_basetype_name): Return "HOLLERITH" for BT_HOLLERITH.
      	(gfc_type_name): Print "HOLLERITH" for BT_HOLLERITH.
      	* primary.c (match_hollerith_constant): New function.
      	(gfc_match_literal_constant): Add match Hollerith before Integer.
      	* simplify.c (gfc_convert_constant): Add conversion from Hollerith
      	to other.
      	* trans-const.c (gfc_conv_constant_to_tree): Use VIEW_CONVERT_EXPR to
      	convert Hollerith constant to tree.
      	* trans-io.c (gfc_convert_array_to_string): Get array's address and
      	length to set string expr.
      	(set_string): Deal with array assigned Hollerith constant and character
      	array.
      	* gfortran.texi: Document Hollerith constants as extention support.
      
      2005-07-07  Feng Wang  <fengwang@nudt.edu.cn>
      
      	PR fortran/16531
      	PR fortran/15966
      	PR fortran/18781
      	* gfortran.dg/hollerith.f90: New.
      	* gfortran.dg/hollerith2.f90: New.
      	* gfortran.dg/hollerith3.f90: New.
      	* gfortran.dg/hollerith4.f90: New.
      	* gfortran.dg/hollerith_f95.f90: New.
      	* gfortran.dg/hollerith_legacy.f90: New.
      	* gfortran.dg/g77/cpp4.F: New. Port from g77.
      
      2005-07-07  Feng Wang  <fengwang@nudt.edu.cn>
      
      	PR fortran/16531
      	* io/transfer.c (formatted_transfer): Enable FMT_A on other types to
      	support Hollerith constants.
      
      From-SVN: r101688
      Feng Wang committed
    • re PR fortran/16531 ([4.0 only, gfortran] Hollerith Data not supported) · 378f73af
      2005-07-07  Feng Wang  <fengwang@nudt.edu.cn>
      
              PR fortran/16531
              PR fortran/15966
              PR fortran/18781
              * arith.c (gfc_hollerith2int, gfc_hollerith2real,
              gfc_hollerith2complex, gfc_hollerith2character, gfc_hollerith2logical):
              New functions.
              (eval_intrinsic): Don't evaluate if Hollerith constant arguments exist.
              * arith.h (gfc_hollerith2int, gfc_hollerith2real,
              gfc_hollerith2complex, gfc_hollerith2character, gfc_hollerith2logical):
              Add prototypes.
              * expr.c (free_expr0): Free memery allocated for Hollerith constant.
              (gfc_copy_expr): Allocate and copy string if Expr is from Hollerith.
              (gfc_check_assign): Enable conversion from Hollerith to other.
              * gfortran.h (bt): Add BT_HOLLERITH.
              (gfc_expr): Add from_H flag.
              * intrinsic.c (gfc_type_letter): Return 'h' for BT_HOLLERITH.
              (add_conversions): Add conversions from Hollerith constant to other.
              (do_simplify): Don't simplify if  Hollerith constant arguments exist.
              * io.c (resolve_tag): Enable array in FORMAT tag under GFC_STD_GNU.
              * misc.c (gfc_basetype_name): Return "HOLLERITH" for BT_HOLLERITH.
              (gfc_type_name): Print "HOLLERITH" for BT_HOLLERITH.
              * primary.c (match_hollerith_constant): New function.
              (gfc_match_literal_constant): Add match Hollerith before Integer.
              * simplify.c (gfc_convert_constant): Add conversion from Hollerith
              to other.
              * trans-const.c (gfc_conv_constant_to_tree): Use VIEW_CONVERT_EXPR to
              convert Hollerith constant to tree.
              * trans-io.c (gfc_convert_array_to_string): Get array's address and
              length to set string expr.
              (set_string): Deal with array assigned Hollerith constant and character
              array.
              * gfortran.texi: Document Hollerith constants as extention support.
      
      2005-07-07  Feng Wang  <fengwang@nudt.edu.cn>
      
              PR fortran/16531
              PR fortran/15966
              PR fortran/18781
              * gfortran.dg/hollerith.f90: New.
              * gfortran.dg/hollerith2.f90: New.
              * gfortran.dg/hollerith3.f90: New.
              * gfortran.dg/hollerith4.f90: New.
              * gfortran.dg/hollerith_f95.f90: New.
              * gfortran.dg/hollerith_legacy.f90: New.
              * gfortran.dg/g77/cpp4.F: New. Port from g77.
      
      2005-07-07  Feng Wang  <fengwang@nudt.edu.cn>
      
              PR fortran/16531
              * io/transfer.c (formatted_transfer): Enable FMT_A on other types to
              support Hollerith constants.
      
      From-SVN: r101687
      Feng Wang committed
    • re PR objc/22274 (string[1-4].m, const-str-5.m fails with the gnu runtime) · f5d21c4c
      /objc/ChangeLog]
      2005-07-07  Ziemowit Laski  <zlaski@apple.com>
      
              PR objc/22274
              * objc-act.c (objc_build_string_object): For GNU-style constants,
              use the @interface type rather than the built-in type.
      
      [gcc/testsuite/ChangeLog]
      2005-07-07  Ziemowit Laski  <zlaski@apple.com>
      
              PR objc/22274
              * obj-c++.dg/gnu-runtime-[1-2].mm: New.
              * objc.dg/gnu-runtime-2.m: New.
      
      From-SVN: r101686
      Ziemowit Laski committed
    • tree-vrp.c (simplify_using_ranges): Kill. · 1a557723
              * tree-vrp.c (simplify_using_ranges): Kill.
              (vrp_finalize): Remove call to simplify_using_ranges.
              (simplify_stmt_using_ranges): New function extracted from
              simplify_using_ranges.
              (simplify_div_or_mod_using_ranges): Likewise.
              (simplify_abs_using_ranges): Likewise.
              (simplify_cond_using_ranges): New function.
              * tree-flow.h (simplify_stmt_using_ranges): Prototype.
              * tree-ssa-propagate.c (substitute_and_fold): Call
              simplify_stmt_using_ranges if we have range information.
      
              * gcc.dg/tree-ssa/vrp17.c: New test.
      
      From-SVN: r101685
      Jeff Law committed
    • config.table: Delete file. · 769b009e
      2005-07-07  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* config.table: Delete file.  Move former contents into ...
      	* configure.ac: ... here and escape any brackets for m4.
      	* Makefile.in (config.status): Remove dependency on config.table.
      	* configure: Regenerate.
      
      From-SVN: r101684
      Kelley Cook committed
    • config.in: Regenerate for 6/20 change. · f379ddd1
      2005-07-07  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* config.in: Regenerate for 6/20 change.
      
      From-SVN: r101683
      Kelley Cook committed
    • re PR fortran/22327 ([4.0 only] Wrong code in array constructor) · 9f9d4c5f
      2005-07-07  Feng Wang  <fengwang@nudt.edu.cn>
      
      	PR fortran/22327
      	* trans-array.c (gfc_trans_array_constructor_value): Fix index of data.
      
      2005-07-07  Feng Wang  <fengwang@nudt.edu.cn>
      
      	PR fortran/22327
      	* gfortran.dg/array_constructor_5.f90: New test.
      
      From-SVN: r101682
      Feng Wang committed
    • configure.in: Don't build sim or rda when targetting darwin. · 9c8f9ec2
      	* configure.in: Don't build sim or rda when targetting darwin.
      	* configure: Regenerate.
      
      From-SVN: r101680
      Geoffrey Keating committed
    • Fix ia64-hpux ABI bug with varargs __float80 argument. · ae4d3291
      * config/ia64/ia64.c (ia64_expand_movxf_movrf): Don't word swap when
      reading/writing general registers.
      (ia64_function_arg): Revert 2005-06-18 change.
      
      From-SVN: r101679
      James E Wilson committed
    • Daily bump. · 5840193b
      [[Split portion of a mixed commit.]]
      
      From-SVN: r101677.2
      GCC Administrator committed
    • Fix -O0 -fschedule-insns2 ICE. · 1ad159f9
      * ia64.c (ia64_reorg): Check optimize before ia64_flag_schedule_isns2.
      
      From-SVN: r101675
      James E Wilson committed
  2. 06 Jul, 2005 19 commits
    • pa.c (legitimize_pic_address): Use gcc_assert instead of abort. · 06ae7eb1
      	* pa.c (legitimize_pic_address): Use gcc_assert instead of abort.
      	(legitimize_tls_address): Use gcc_unreachable instead of abort.
      
      From-SVN: r101674
      John David Anglin committed
    • function.c (expand_function_end): Revert part of 2005-06-27 patch. · 0b59e81e
      	* function.c (expand_function_end): Revert part of 2005-06-27
      	patch.  Do sjlj_emit_function_exit_after after return_label.
      
      From-SVN: r101673
      Kaz Kojima committed
    • decl.c (gfc_match_entry): Allow ENTRY without parentheses even in FUNCTIONs. · 3c2d01f1
      	* decl.c (gfc_match_entry): Allow ENTRY without parentheses
      	even in FUNCTIONs.
      
      	* gfortran.fortran-torture/execute/entry_9.f90: New test.
      
      From-SVN: r101672
      Jakub Jelinek committed
    • configure.in: Add --enable-libssp and --disable-libssp. · ef0087a7
      	* configure.in: Add --enable-libssp and --disable-libssp.
      	* configure: Regenerate with autoconf-2.13.
      
      	* gcc/doc/install.texi (--disable-libssp): New.
      
      From-SVN: r101668
      Kazu Hirata committed
    • Removal of -fforce-mem. · 1d8eeb63
      OKed by Richard Henderson.
      
      From-SVN: r101666
      Fariborz Jahanian committed
    • aclocal.m4: Work around a bug in AC_PATH_PROGS when its last argument is empty. · c42adccb
      	* aclocal.m4: Work around a bug in AC_PATH_PROGS when its last
      	argument is empty.
      	* configure: Regenerate.
      
      From-SVN: r101664
      Paul Brook committed
    • InputStreamReader.java (refill): Handle no-progress case correctly. · 6dfb90cf
      	* java/io/InputStreamReader.java (refill): Handle no-progress
      	case correctly.
      	* gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
      
      From-SVN: r101663
      Tom Tromey committed
    • Fix PR tree-optimization/22319 Fix PR tree-optimization/22140 Fix PR tree-optimization/22310 · 4e422b8b
      2005-07-06  Daniel Berlin  <dberlin@dberlin.org>
      
      	Fix PR tree-optimization/22319
      	Fix PR tree-optimization/22140
      	Fix PR tree-optimization/22310
      
      	* tree-ssa-structalias.c (do_structure_copy): Give up earlier on
      	variable sized types.
      	Use correct type for intermediate structure on *a = *b structure
      	copies.
      
      From-SVN: r101658
      Daniel Berlin committed
    • * testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5. · af72a49b
      From-SVN: r101657
      Tom Tromey committed
    • rs6000.h (RS6000_VARARGS_AREA, [...]): Remove. · 5b667039
      	* config/rs6000/rs6000.h (RS6000_VARARGS_AREA, RS6000_VARARGS_SIZE):
      	Remove.
      	(STARTING_FRAME_OFFSET): Don't add RS6000_VARARGS_AREA.
      	(machine_function): Move typedef to...
      	* config/rs6000/rs6000.c (machine_function): ... here.  Add
      	varargs_save_offset field.
      	(rs6000_stack_t): Remove varargs_size field.
      	(setup_incoming_varargs): Allocate varargs save area using
      	assign_stack_local, try to make it as small as possible.
      	Save offset from virtual_stack_vars_rtx to the save area
      	in cfun->machine->varargs_save_offset.  Use UNITS_PER_FP_WORD
      	instead of magic 8 when fp word byte size is used.
      	(rs6000_va_start): Use cfun->machine->varargs_save_offset
      	instead of -RS6000_VARARGS_SIZE.
      	(rs6000_stack_info, debug_stack_info,
      	rs6000_initial_elimination_offset): Remove all traces of
      	varargs_size.
      	* config/rs6000/sysv4.h (RS6000_VARARGS_AREA): Remove.
      	* config/rs6000/darwin.h (STARTING_FRAME_OFFSET): Don't add
      	RS6000_VARARGS_AREA.
      
      From-SVN: r101655
      Jakub Jelinek committed
    • re PR tree-optimization/21963 (ICE (seg fault) with -m64 (in IV-OPTS)) · c456a94a
      	PR tree-optimization/21963
      	* tree-ssa-loop-ivopts.c (get_computation_aff): Use
      	constant_multiple_of in the same way get_computation_cost_at does.
      
      From-SVN: r101654
      Zdenek Dvorak committed
    • sparc.h (sparc_compare_emitted): New extern. · 8ec11fe9
      	* config/sparc/sparc.h (sparc_compare_emitted): New extern.
      	* config/sparc/sparc.c (sparc_compare_emitted): New variable.
      	(gen_compare_reg): If sparc_compare_emitted is set, clear it
      	and return its previous value.
      	(emit_v9_brxx_insn): Assert sparc_compare_emitted is NULL.
      	* config/sparc/sparc.md (UNSPEC_SP_SET, UNSPEC_SP_TEST): New
      	constants.
      	(stack_protect_set, stack_protect_test): New expanders.
      	(stack_protect_setsi, stack_protect_setdi, stack_protect_testsi,
      	stack_protect_testdi): New insns.
      	* config/sparc/linux.h (TARGET_THREAD_SSP_OFFSET): Define.
      	* config/sparc/linux64.h (TARGET_THREAD_SSP_OFFSET): Define.
      
      From-SVN: r101653
      Jakub Jelinek committed
    • tree-ssa-dce.c (cfg_altered): New global. · 9da4058c
              * tree-ssa-dce.c (cfg_altered): New global.
              (tree_dce_init): Initialize cfg_altered.
              (remove_dead_stmt): If we remove an edge in the CFG, then set
              CFG_ALTERED.
              (perform_tree_ssa_dce): If we altered the CFG, then invalidate
              the dominators.
      
              * gcc.c-torture/compile/pr21356.c: New test.
      
      From-SVN: r101652
      Jeff Law committed
    • Makefile.in (stamp-collect-ld): Use $(ORIGINAL_LD_FOR_TARGET) instead of $<. · 1538fc3c
      	* Makefile.in (stamp-collect-ld): Use
      	$(ORIGINAL_LD_FOR_TARGET) instead of $<.  Don't remove
      	./collect-ld if it already exists.
      	(stamp-nm): Use $(ORIGINAL_NM_FOR_TARGET) instead of $<.
      	Don't remove ./nm if it already exists.
      
      From-SVN: r101651
      Kazu Hirata committed
    • ffi.c (ffi_struct_type): Rename FFI_TYPE_SMALL_STRUCT1 as FFI_TYPE_SMALL_STRUCT3. · b65da304
      	* src/pa/ffi.c (ffi_struct_type): Rename FFI_TYPE_SMALL_STRUCT1
      	as FFI_TYPE_SMALL_STRUCT3.  Break out handling for 5-7 byte
      	structures.  Kill compilation warnings.
      	(ffi_closure_inner_LINUX): Print return values as hex in debug
      	message.  Rename FFI_TYPE_SMALL_STRUCT1 as FFI_TYPE_SMALL_STRUCT3.
      	Properly handle 5-7 byte structure returns.
      	* src/pa/ffitarget.h (FFI_TYPE_SMALL_STRUCT1)
      	(FFI_TYPE_SMALL_STRUCT2): Remove.
      	(FFI_TYPE_SMALL_STRUCT3, FFI_TYPE_SMALL_STRUCT5)
      	(FFI_TYPE_SMALL_STRUCT6, FFI_TYPE_SMALL_STRUCT7): Define.
      	* src/pa/linux.S: Mark source file as using PA1.1 assembly.
      	(checksmst1, checksmst2): Remove.
      	(checksmst3): Optimize handling of 3-byte struct returns.
      	(checksmst567): Properly handle 5-7 byte struct returns.
      
      From-SVN: r101650
      Randolph Chung committed
    • tree-vectorizer.h (struct _loop_vec_info): Remove loop_line_number. · 00518cb1
              * tree-vectorizer.h (struct _loop_vec_info): Remove loop_line_number.
              (LOOP_VINFO_LOC, LOOP_LOC): Remove.
              * tree-vectorizer.c (vect_loop_location): New.
              (vect_print_dump_info): Use vect_loop_location.
              (new_loop_vec_info): Do not set LOOP_VINFO_LOC.
              (vectorize_loops): Set vect_loop_location.
              * tree-vect-analyze.c (vect_analyze_offset_expr,
              vect_determin_vectorization_factor, vect_analyze_operations,
              vect_analyze_scalar_cycles, vect_analyze_data_ref_dependence,
              vect_analyze_data_ref_dependences, vect_compute_data_ref_alignment,
              vect_analyze_data_refs_alignment, vect_analyze_data_ref_access,
              vect_analyze_data_ref_accesses, vect_analyze_pointer_ref_access,
              vect_object_analysis, vect_analyze_data_refs, vect_mark_relevant,
              vect_stmt_relevant_p, vect_mark_stmts_to_be_vectorized,
              vect_can_advance_ivs_p, vect_get_loop_niters, vect_analyze_loop_form,
              vect_analyze_loop): Adjust vect_print_dump_info API.
              * tree-vect-transform.c (vect_create_addr_base_for_vector_ref,
              vect_create_data_ref_ptr, vect_init_vector, vect_get_vec_def_for_operand,
              vect_finish_stmt_generation, vectorizable_assignment,
              vectorizable_operation, vectorizable_store, vectorizable_load,
              vectorizable_live_operation, vectorizable_condition, vect_transform_stmt,
              vect_update_ivs_after_vectorizer, vect_do_peeling_for_loop_bound,
              vect_gen_ninters_for_prolog_loop, vect_do_peeling_for_alignment,
              vect_transform_loop): Same.
              * tree-vectorizer.c (get_vectype_for_scalar_type, vect_is_simple_use,
              vect_is_simple_reduction, vect_is_simple_iv_evolution, vectorize_loops):
              Same.
      
      From-SVN: r101649
      Devang Patel committed
    • configure.ac (hppa*-*-linux*): Check for a TLS capable gas. · 51076f96
      	* configure.ac (hppa*-*-linux*: Check for a TLS capable gas.
      	* configure: Regenerate.
      	* config/pa/pa-protos.h (tls_symbolic_operand): Declare.
      	(pa_tls_referenced_p): Declare.
      	* config/pa/pa.c (legitimize_pic_address): Reject TLS operands.
      	(gen_tls_tga, gen_tls_get_addr, hppa_tls_call): New.
      	(legitimize_tls_address): New.
      	(hppa_legitimize_address): Handle TLS addresses.
      	(pa_tls_symbol_ref_1, pa_tls_referenced_p): New.
      	(TARGET_CANNOT_FORCE_CONST_MEM): Define.
      	(emit_move_sequence): Handle TLS addresses.
      	(pa_encode_section_info): Call default handler to handle common
      	sections.
      	* config/pa/pa.h (PA_SYMBOL_REF_TLS_P): New.
      	(CONSTANT_ADDRESS_P): Reject TLS operands.
      	(TARGET_HAVE_TLS) [HAVE_AS_TLS]: Define.
      	* config/pa/pa.md (UNSPEC_TP, UNSPEC_TLSGD, UNSPEC_TLSLDM)
      	(UNSPEC_TLSLDO, UNSPEC_TLSLDBASE, UNSPEC_TLSIE)
      	(UNSPEC_TLSLE): Define new constants.
      	(tgd_load, tld_load, tld_offset_load, tp_load, tie_load, tle_load): New.
      	* config/pa/predicates.md (symbolic_operand): Reject TLS operands.
      	(tls_symbolic_operand, tgd_symbolic_operand, tld_symbolic_operand)
      	(tie_symbolic_operand, tle_symbolic_operand): New
      
      From-SVN: r101648
      Randolph Chung committed
    • aclocal.m4: Update macros for autoconf 2.59 style. · f04f1d2c
      2005-07-06  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* aclocal.m4: Update macros for autoconf 2.59 style.
      	* configure.ac: Likewise.
      
      From-SVN: r101647
      Kelley Cook committed