1. 11 Aug, 2004 6 commits
    • configure.in (arm*-*-eabi*): New target. · b3f8d95d
      	* configure.in (arm*-*-eabi*): New target.
      	* configure: Regenerate.
      
      	* configure.ac (arm*-*-eabi*): New target.
      	(arm*-*-symbianelf*): Likewise.
      	* configure: Regenerated.
      
      	* config.gcc (arm*-*-eabi*): New target.
      	* defaults.h (TARGET_LIBGCC_FUNCS): New macro.
      	(TARGET_LIB_INT_CMP_BIASED): Likewise.
      	* expmed.c (expand_divmod): Try a two-valued divmod function as a
      	last resort.
      	* gthr.h: Remove bogus tokens at end of #pragma.
      	* optabs.c (expand_twoval_binop_libfunc): New function.
      	(prepare_cmp_insn): Handle the !TARGET_LIB_INT_CMP_BIASED case.
      	(prepare_float_lib_cmp): Try reversing the condition.
      	(debug_optab_libfuncs): New function.
      	* optabs.h (expand_twoval_binop_libfunc): Declare.
      	* config/arm/arm.c (arm_init_libfuncs): New function.
      	(arm_compute_initial_eliminatino_offset): Return HOST_WIDE_INT.
      	(TARGET_INIT_LIBFUNCS): Define it.
      	* config/arm/arm.h (TARGET_BPABI): New macro.
      	* config/arm/arm-protos.h
      	(arm_compute_initial_elimination_offset): Return HOST_WIDE_INT.
      	* config/arm/bpabi.S: New file.
      	* config/arm/bpabi.c: Likewise.
      	* config/arm/bpabi.h: Likewise.
      	* config/arm/ieee754-df.S (__aeabi_dneg): New function or alias.
      	(__aeabi_drsub): Likewise.
      	(__aeabi_dsub): Likewise.
      	(__aeabi_dadd): Likewise.
      	(__aeabi_ui2d): Likewise.
      	(__aeabi_i2d): Likewise.
      	(__aeabi_f2d): Likewise.
      	(__aeabi_dmul): Likewise.
      	(__aeabi_ddiv): Likewise.
      	(__aeabi_cdrcmple): Likewise.
      	(__aeabi_cdcmpeq): Likewise.
      	(__aeabi_cdcmple): Likewise.
      	(__aeabi_dcmpeq): Likewise.
      	(__aeabi_dcmplt): Likewise.
      	(__aeabi_dcmple): Likewise.
      	(__aeabi_dcmpge): Likewise.
      	(__aeabi_dcmpgt): Likewise.
      	(__aeabi_dcmpun): Likewise.
      	(__aeabi_d2iz): Likewise.
      	(__aeabi_d2uiz): Likewise.
      	(__aeabi_d2f): Likewise.
      	* config/arm/ieee754-sf.S (__aeabi_fneg): New function or alias.
      	(__aeabi_frsub): Likewise.
      	(__aeabi_fsub): Likewise.
      	(__aeabi_fadd): Likewise.
      	(__aeabi_ui2f): Likewise.
      	(__aeabi_i2f): Likewise.
      	(__aeabi_fmul): Likewise.
      	(__aeabi_fdiv): Likewise.
      	(__aeabi_cfrcmple): Likewise.
      	(__aeabi_cfcmpeq): Likewise.
      	(__aeabi_cfcmple): Likewise.
      	(__aeabi_fcmpeq): Likewise.
      	(__aeabi_fcmplt): Likewise.
      	(__aeabi_fcmple): Likewise.
      	(__aeabi_fcmpge): Likewise.
      	(__aeabi_fcmpgt): Likewise.
      	(__aeabi_fcmpun): Likewise.
      	(__aeabi_f2iz): Likewise.
      	(__aeabi_f2uiz): Likewise.
      	* config/arm/lib1funcs.asm (ARM_CALL): New macro.
      	(__aeabi_uidivmod): New function or alias.
      	(__aeabi_idivmod): Likewise.
      	(__aeabi_idiv0): Likewise.
      	(__aeabi_ldiv0): Likewise.
      	(__aeabi_llsr): Likewise.
      	(__aeabi_lasr): Likewise.
      	(__aeabi_llsl): Likewise.
      	(bpabi.S): Include it.
      	* config/arm/libgcc-bpabi.ver: New file.
      	* config/arm/symbian.h (ARM_DEFAULT_ABI): Remove.
      	(LINK_SPEC): Remove.
      	* config/arm/t-arm-elf (LIB1ASMFUNCS): Add __aeabi_lcmp and
      	__aeabi_ulcmp.
      	* config/arm/t-bpabi: New file.
      	* doc/tm.texi (TARGET_LIBGCC_FUNCS): New entry.
      	(TARGET_LIB_INT_CMP_BIASED): Likewise.
      
      	* gcc.dg/testsuite/gcc.dg/arm-eabi1.c: New test.
      	* gcc.dg/dll-2.c: Fix dg-require syntax.
      	* gcc.misc-tests/arm-isr.c (abort): Declare.
      	(exit): Likewise.
      
      From-SVN: r85788
      Mark Mitchell committed
    • rs6000-protos.h (expand_block_clear): Declare. · fba73eb1
              * config/rs6000/rs6000-protos.h (expand_block_clear): Declare.
              * config/rs6000/rs6000.md (clrmemsi): New pattern.
              * config/rs6000/rs6000.c (expand_block_clear): New function.
              (expand_block_move): Convert alignment to bits.  Use SImode and
              HImode for unaligned addresses if not STRICT_ALIGNMENT.
      
      From-SVN: r85787
      David Edelsohn committed
    • re PR bootstrap/16164 (automake 1.8.5 upgrade changed fastjar into a read-write source directory) · 5158e8d8
      2004-08-11  Kelley Cook  <kcook@gcc.gnu.org>
      
      	PR bootstrap/16164
      	* Makefile.am: Force fastjar.info to be built in build directory.
      	* Makefile.in: Regenerate.
      
      From-SVN: r85782
      Kelley Cook committed
    • Daily bump. · 688d37c4
      From-SVN: r85780
      GCC Administrator committed
    • re PR c++/16971 (ICE on duplicate definition) · 550205c3
      	PR c++/16971
      	* parser.c (cp_parser_init_declarator): Robustify.
      
      	PR c++/16971
      	* g++.dg/parse/crash16.C: New test.
      
      From-SVN: r85776
      Mark Mitchell committed
  2. 10 Aug, 2004 22 commits
  3. 09 Aug, 2004 12 commits
    • re PR fortran/16919 (ICE with derived type and array constructor) · e9cfef64
      	PR fortran/16919
      	* trans-array.c (gfc_add_loop_ss_code): Handle GFC_SS_COMPONENT.
      	(gfc_conv_array_index_offset): Allow "temporary" with nonzero delta.
      	(gfc_trans_preloop_setup, gfc_trans_scalarized_loop_boundary):
      	Handle GFC_SS_COMPONENT.
      	(gfc_conv_ss_startstride): Ditto.  Set ss->shape.
      	(gfc_conv_loop_setup): Tweak commends. Remove dead code.
      	Use ss->shape.
      	(gfc_conv_array_initializer): Call specific initializer routines.
      	* trans-expr.c (gfc_trans_structure_assign): New function.
      	(gfc_trans_subarray_assign): New function.
      	(gfc_trans_subcomponent_assign): New fucntion
      	(gfc_conv_structure): Use them.
      	* trans.h (gfc_ss_type): Add GFC_SS_COMPONENT.
      	(gfc_ss): Add shape.
      testsuite/
      	* gfortran.dg/der_array_1.f90: New test.
      
      From-SVN: r85730
      Paul Brook committed
    • ggc-zone.c (struct alloc_zone): Add statistics counters. · b9bfca81
      	* ggc-zone.c (struct alloc_zone): Add statistics counters.
      	(always_collect): New flag.
      	(ggc_alloc_zone_1): Update statistics support.  Don't include
      	overhead in allocated counter.
      	(sweep_pages): Update allocated counter for large pages.  Don'y
      	include overhead.
      	(ggc_collect_1): Always collect.
      	(ggc_collect): Honor always_collect flag.  Sum all zones to decide
      	whether to collect.
      	(SCALE, LABEL): New macros.
      	(ggc_print_statistics): Add statistics support.
      
      From-SVN: r85729
      Daniel Jacobowitz committed
    • expmed.c (sdiv_pow2_cheap, [...]): Change type to bool. · fdded401
      
      	* expmed.c (sdiv_pow2_cheap, smod_pow2_cheap): Change type to bool.
      	(init_expmed): Fix potential overrun problem with "all.reg".
      	(expand_sdiv2_pow2): Add an alternate implementation for signed
      	division, if the target provides a suitable conditional move insn.
      
      From-SVN: r85728
      Roger Sayle committed
    • * gcc.dg/cpp/assert4.c: _AIX asserts #system(unix). · feb21f0d
      From-SVN: r85726
      David Edelsohn committed
    • c99_functions.c (nextafterf): New implementation that works correctly with denormalized numbers. · 067a5735
      
      	* intrinsics/c99_functions.c (nextafterf): New implementation that
      	works correctly with denormalized numbers.
      
      From-SVN: r85724
      Roger Sayle committed
    • unwind-dw2.c (uw_install_context_1): Update target saved stack pointer. · 9d8646d7
      	* unwind-dw2.c (uw_install_context_1): Update target saved stack
      	pointer.
      
      Co-Authored-By: Richard Henderson <rth@redhat.com>
      
      From-SVN: r85723
      Paul Brook committed
    • ggc-common.c (ggc_rlimit_bound): Don't check RSS limit. · d37e6b50
      	* ggc-common.c (ggc_rlimit_bound): Don't check RSS limit.
      	Check DATA limit only if there's no AS limit.  Ignore insanely
      	low DATA limits.
      	(ggc_min_heapsize_heuristic): Don't divide AS or RSS limits by 8,
      	but take care that the AS limit isn't overrun.
      	* doc/invoke.texi: Update documentation of min-heapsize parameter.
      
      From-SVN: r85722
      Geoffrey Keating committed
    • Makefile.in (OBJC-common): Add tree-ssa-threadupdate.c · 56b043c8
              * Makefile.in (OBJC-common): Add tree-ssa-threadupdate.c
              (tree-ssa-threadupdate.o): Add dependencies.
              * tree-ssa-threadupdate.c: New file.
              * tree-flow.h (incoming_edge_threaded): New flag in block annotation.
              (rewrite_vars_out_of_ssa): Remove prototype.
              (cleanup_tree_cfg): Returns a bool.
              * tree.h (thread_through_all_blocks): Prototype.
              * tree-outof-ssa.c  (SSANORM_*): Move into here.
              (remove_ssa_form): Now static.
              (rewrite_vars_out_of_ssa): Kill.
              * tree-ssa-live.c (register_ssa_partitions_for_vars): Kill.
              * tree-ssa-live.h (SSANORM_*): Moved into tree-outof-ssa.c.
              (remove_ssa_form, register_partitions_for_vars): Kill declarations.
              * tree-cfg.c (cleanup_tree_cfg): Return a value indicating if
              anything was changed.
              * tree-phinodes.c (add_phi_arg): Get the block for the PHI
              from the PHI's annotation rather than the edge associated with
              the new argument.
              * tree-ssa-dom.c (redirection_edges): Kill.
              (redirect_edges_and_update_ssa_graph): Kill.
              (tree_ssa_dominator_optimize): Do not reset forwardable flag
              for blocks anymore.  Do not initialize redirection_edges.
              Call thread_through_all_blocks.  Simplify code for cleanup
              of the CFG and iterating.  No longer call cleanup_tree_cfg
              outside the iteration loop.
              (thread_across_edge): No longer mess with forwardable blocks.
      
      From-SVN: r85721
      Jeff Law committed
    • explow.c (memory_address): Use memory_address_p. · 9b305d55
      	* explow.c (memory_address): Use memory_address_p.
      	* recog.c (general_operand): Likewise.
      	* regrename.c: No need to define REG_OK_STRICT.
      
      From-SVN: r85720
      Zack Weinberg committed
    • Ayee, missed a file. · 702d4b73
      From-SVN: r85719
      Steven Bosscher committed
    • timevar.def (TV_CPROP1, [...]): New timers. · 27fb79ad
      	* timevar.def (TV_CPROP1, TV_CPROP2, TV_PRE, TV_HOIST, TV_LSM):
      	New timers.
      	* gcse.c: Include timevar.h.
      	(const_prop_count, copy_prop_count): Rename to global_const_prop_count
      	and global_copy_prop_count.
      	(local_const_prop_count, local_copy_prop_count): New static globals.
      	(gcse_main): Set the right timevar for each pass.
      	(cprop_jump): Increment global_const_prop_count when a constant is
      	propagated.  Add "GLOBAL" to dump output.
      	(cprop_insn): Increment global_const_prop_count when a constant is
      	propagated, or global_copy_prop_count when a copy is propagated.
      	(do_local_cprop): Likewise for local_const_prop_count and
      	local_copy_prop_count.
      	(one_cprop_pass): Initialize const/cprop counters to zero.
      	Print out results of local and global const/cprop separately.
      	(bypass_block): Break over-length line.
      
      From-SVN: r85718
      Steven Bosscher committed
    • matmul.m4, [...]: Allocate space if return value has NULL in its data field. · 883c9d4d
      2004-09-09  Victor Leikehman  <lei@il.ibm.com>
      
      	* m4/matmul.m4, m4/matmull.m4, intrinsics/eoshift0.c,
      	intrinsics/eoshift2.c, intrinsics/transpose_generic.c:
      	Allocate space if return value has NULL in its data field.
      	* generated/*.c: Regenerate.
      
      From-SVN: r85717
      Victor Leikehman committed