1. 11 Aug, 2004 4 commits
  2. 10 Aug, 2004 22 commits
  3. 09 Aug, 2004 14 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
    • stl_bvector.h: Trivial formatting fixes. · 705debec
      2004-08-09  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/stl_bvector.h: Trivial formatting fixes.
      
      2004-08-09  Paolo Carlini  <pcarlini@suse.de>
      
      	* src/ios.cc (ios_base::_M_grow_words): Uglify the names.
      
      From-SVN: r85716
      Paolo Carlini committed
    • fix typo · 27f577e5
      From-SVN: r85715
      Jason Merrill committed