1. 14 Oct, 2004 20 commits
    • mt_allocator.h: Tweaks. · 11aaaa84
      
      2004-10-14  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/ext/mt_allocator.h: Tweaks.
      	* src/mt_allocator.cc: Same.
      
      From-SVN: r89052
      Benjamin Kosnik committed
    • jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of ffi_raw_call if… · ed674251
      jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
      
      	* jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
      	ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
      
      From-SVN: r89051
      Ulrich Weigand committed
    • eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS), [...]): Disallow -m64. · b419bac7
      	* config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS),
      	config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Disallow
      	-m64.
      
      testsuite:
      	* gcc.dg/ppc-spe64-1.c: New test.
      
      From-SVN: r89048
      Joseph Myers committed
    • reload.c (find_reloads): When reloading a PLUS with constant operand... · d58005c7
      	* reload.c (find_reloads): When reloading a PLUS with constant
      	operand, make sure the constant is pushed to the constant pool
      	if required.
      	* config/s390/s390.c (s390_secondary_input_reload_class): Remove
      	reload bug workaround.
      	(s390_expand_plus_operand): Likewise.
      
      From-SVN: r89047
      Ulrich Weigand committed
    • opts.c (common_handle_option): Do not enable flag_speculative_prefetching for… · 3020563a
      opts.c (common_handle_option): Do not enable flag_speculative_prefetching for -fprofile-generate/use.
      
              * opts.c (common_handle_option): Do not enable
              flag_speculative_prefetching for -fprofile-generate/use.
      
      From-SVN: r89046
      David Edelsohn committed
    • tree-if-conv.c (process_phi_nodes): Process latch block. · 0ecf0d5f
             * tree-if-conv.c (process_phi_nodes): Process latch block.
             (combine_blocks): Process latch block and update loop structure.
      
             * gcc.dg/pr17635.c : New test.
      
      From-SVN: r89045
      Devang Patel committed
    • bitmap_allocator.h: Clean-up add/remove functions. · 1399eca1
      2004-10-14  Dhruv Matani  <dhruvbird@gmx.net>
      
      	* ext/bitmap_allocator.h: Clean-up add/remove functions.
      	* src/bitmap_allocator.cc: New file. Contains the out-of-line
      	function definitions, static initialization of variables, and
      	explicit instantiations needed for the allocator.
      	* src/Makefile.am: Add.
      	* src/Makefile.in: Regenerate.
      	* config/linker.map.gnu: Add the necessary symbols.
      
      From-SVN: r89042
      Dhruv Matani committed
    • 2004-10-14 Olga Golovanevsky <olga@il.ibm.com> · a023975e
              * tree-vectorizer.c (vect_generate_tmps_on_preheader):
              (vect_update_ivs_after_vectorizer):
              (vect_transform_for_unknown_loop_bound):
              (tree_duplicate_loop_to_edge):
              (allocate_new_names):
              (rename_use_op):
              (rename_def_op):
              (rename_variables_in_bb):
              (free_new_names):
              (rename_variables_in_loop):
              (copy_phi_nodes):
              (update_phis_for_duplicate_loop):
              (update_phi_nodes_for_guard):
              (make_loop_iterate_ntimes):
              (tree_duplicate_loop_to_edge_cfg):
              (add_loop_guard):
              (vect_analyze_loop_with_symbolic_num_of_iters):
              (verify_loop_for_duplication):
              (vect_gen_niters_for_prolog_loop):
              (vect_update_niters_after_peeling):
              (vect_update_inits_of_dr):
              (vect_update_inits_of_drs):
              (vect_build_loop_niters):
              (vect_do_peeling_for_alignment): New functions.
              (vect_transform_loop): Add unknown and known but indivisible loop
              bound support; add peeling for unalignment support.
              (vect_analyze_loop_form): Support symbolic number of iterations.
              (vect_transform_loop_bound): New input parameter.
              (vect_get_loop_niters): Change input parameter type.
              (new_loop_vec_info): LOOP_VINFO_NITERS is tree now.
              (vectorizable_store): Allow unaligned access.
              (vectorize_loops): Add rewrite_into_loop_closed_ssa.
              (vect_analyze_data_refs_alignment): Allowed one unaligned
              store.
              * tree-vectorizer.h (LOOP_VINFO_NITERS_KNOWN_P): Redefined
              to use tree.
              (LOOP_VINFO_INT_NITERS): New macro.
              (MAX_NUMBER_OF_UNALIGNED_DATA_REFS): New define.
              (do_peeling_for_alignment):
              (unaligned_drs): New members of _loop_vec_info.
              (LOOP_DO_PEELING_FOR_ALIGNMENT): New macro.
      
      From-SVN: r89040
      Olga Golovanevsky committed
    • tree.h (TREE_STRING_POINTER): Wrap in "const char *". · 7238c5ec
      	* tree.h (TREE_STRING_POINTER): Wrap in "const char *".
      	(struct tree_string): Remove "const" qualifier for "str".
      
      From-SVN: r89039
      Ranjit Mathew committed
    • tree-vectorizer.c (vect_analyze_data_refs): Call vect_get_base_and_bit_offset to… · 322ae40b
      tree-vectorizer.c (vect_analyze_data_refs): Call vect_get_base_and_bit_offset to get memory tag for array ref.
      
      2004-10-14  Ira Rosen  <irar@il.ibm.com>
      
              * tree-vectorizer.c (vect_analyze_data_refs): Call
              vect_get_base_and_bit_offset to get memory tag for array ref.
              (vect_create_addr_base_for_vector_ref): Remove redundant checks.
      
      From-SVN: r89038
      Ira Rosen committed
    • interpret.cc (_Jv_InterpMethod::run): Initialize _Jv_StartOfInterpreter. · 180a373d
      2004-10-13  Andrew Haley  <aph@redhat.com>
      
              * interpret.cc (_Jv_InterpMethod::run): Initialize
              _Jv_StartOfInterpreter.
              (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
              (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
              * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
              _Unwind_FindEnclosingFunction to discover whether PC is within the
              interpreter.
      
      From-SVN: r89037
      Andrew Haley committed
    • configure.ac: Use $LN_S for creating symlinks (not $LN). · b79187bb
      * configure.ac: Use $LN_S for creating symlinks (not $LN).
      * configure: Regenerate.
      
      From-SVN: r89036
      Richard Earnshaw committed
    • install.texi (*-*-solaris2*): Update with info about kernel patches to solve… · c7525a64
      install.texi (*-*-solaris2*): Update with info about kernel patches to solve spurious testsuite failures.
      
      	* doc/install.texi (*-*-solaris2*): Update with info about kernel
      	patches to solve spurious testsuite failures.
      
      From-SVN: r89033
      Kaveh R. Ghazi committed
    • tree-vectorizer.c (get_vectype_for_scalar_type): Added debug prinouts. · f0923257
              * tree-vectorizer.c (get_vectype_for_scalar_type): Added debug prinouts.
              Added check that vectype is VECTOR_MODE_P, instead of check for BLKmode.
              (vect_analyze_operations): Make sure the vectorization factor > 1. Add
              gcc_assert under ENABLE_CHECKING.
              (vectorizable_operation): Remove check for VECTOR_MODE_P (moved to
              get_vectype_for_scalar_type).
      
              (vect_get_vec_def_for_operand): Remove redundant variables.
              (vect_transform_loop): Likewise.
      
      From-SVN: r89032
      Dorit Naishlos committed
    • arm.h (CONDITIONAL_REGISTER_USAGE): Make r11 fixed and global for -mcaller-super-interworking. · a2503645
      	* config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Make r11 fixed and
      	global for -mcaller-super-interworking.
      	(CALLER_INTERWORKING_SLOT_SIZE): New macro.
      	* config/arm/arm.c (thumb_compute_save_reg_mask): Save r11 if
      	CALLER_INTERWORKING_SLOT_SIZE is nonzero and the function does
      	not need a frame pointer.
      	(arm_get_frame_offsets): Add CALLER_INTERWORKING_SLOT_SIZE bytes to
      	the soft frame pointer offset.
      	(thumb_expand_prologue): Set up r11 for -mcaller-super-interworking.
      	* config/arm/arm.md (*call_reg_thumb, *call_value_reg_thumb): Use
      	_interwork_{r7,r11}_call_via_rN if some arguments are passed on
      	the stack.  Use frame_pointer_needed to choose between them.
      	* config/arm/lib1funcs.asm (_arm_return_{r7,r11}): New functions.
      	(interwork_with_frame): New macro.
      	(interwork): Add _interwork_{r7,r11}_call_via_rN().
      
      From-SVN: r89031
      Richard Sandiford committed
    • re PR other/17900 (GCC's source path in ICE is wrong) · ef9af077
      	PR other/17900
      	* diagnostic.c (trim_filename): Fix logic bug in walking backwards
      	up the filename looking for a previous directory separator.
      
      From-SVN: r89029
      Ben Elliston committed
    • errors.c (_cpp_begin_message): Print "error: " for errors. · ac24fc25
      libcpp:
      	* errors.c (_cpp_begin_message): Print "error: " for errors.
      
      gcc/testsuite:
      	* gcc.dg/cpp/error-1.c: New test.
      
      From-SVN: r89025
      Joseph Myers committed
    • c-tree.h (enum c_typespec_kind, [...]): New. · 81da229b
      	* c-tree.h (enum c_typespec_kind, struct c_typespec,
      	parser_xref_tag): New.
      	(struct c_declspecs): Add tag_defined_p.  Adjust definition of
      	typedef_p.
      	(declspecs_add_type): Adjust prototypes.
      	* c-parse.in (%union): Add tstype.
      	(typespec_nonattr, typespec_attr, typespec_reserved_nonattr,
      	typespec_reserved_attr, typespec_nonreserved_nonattr,
      	structsp_attr, structsp_nonattr): Change to tstype.  Update
      	actions.
      	* c-decl.c (build_null_declspecs): Initialize tag_defined_p.
      	(declspecs_add_type): Update to take struct c_typespec argument.
      	Set tag_defined_p and typedef_p as appropriate.
      	(xref_tag): Rename to parser_xref_tag and replace by wrapper.
      	Update to return struct c_typespec.
      	(shadow_tag_warned): Don't let empty declarations with qualifiers
      	or storage class specifiers redeclare a tag if a previous
      	declaration is visible.
      
      testsuite:
      	* gcc.dg/c99-tag-3.c, gcc.dg/declspec-14.c: New tests.
      
      From-SVN: r89021
      Joseph Myers committed
    • Daily bump. · 599a049f
      [[Split portion of a mixed commit.]]
      
      From-SVN: r89019.2
      GCC Administrator committed
    • Daily bump. · 5dba7f2d
      [[Split portion of a mixed commit.]]
      
      From-SVN: r89018.2
      GCC Administrator committed
  2. 13 Oct, 2004 20 commits