1. 04 Apr, 2005 26 commits
  2. 03 Apr, 2005 14 commits
    • builtins.def (BUILT_IN_STPNCPY, [...]): New. · e905ac64
      	* builtins.def (BUILT_IN_STPNCPY, BUILT_IN_STRCASECMP,
      	BUILT_IN_STRNCASECMP): New.
      	* doc/extend.texi: Document stpncpy, strcasecmp, strncasecmp
      	and strndup.
      
      testsuite:
      	* gcc.dg/nonnull-3.c: Also test __builtin_stpncpy,
      	__builtin_strcasecmp and __builtin_strncasecmp.
      
      From-SVN: r97498
      Kaveh R. Ghazi committed
    • intrinsic.texi: Document BESJ0, BESJ1, BESJN, BESY0, BESY1, BESYN, ATAN, COSH,… · f7cdcbf1
      intrinsic.texi: Document BESJ0, BESJ1, BESJN, BESY0, BESY1, BESYN, ATAN, COSH, ERF, ERC, SINH, TANH.
      
      	* intrinsic.texi: Document BESJ0, BESJ1, BESJN, BESY0, BESY1,
      	BESYN, ATAN, COSH, ERF, ERC, SINH, TANH.
      
      From-SVN: r97495
      Francois-Xavier Coudert committed
    • re PR target/14812 (ARM optimizer changes rsb/cmp to cmn, but condition codes different) · 1ac3e311
      	PR target/14812
      	* arm.md (addsi3_compare0_for_combiner): Delete.
      	(addsi3_compare0_scratch_for_combiner): Delete.
      	(cmpsi_neg_shiftsi): Delete.
      	(compare_negsi_si): New pattern.
      	(cmpsi_negshiftsi_si): New pattern.
      	(negated_cbranchsi4): Restrict to equality_operator.
      
      	* arm.md (movhi_insn_arch4): delete trailing white space from assembler
      	template.
      
      From-SVN: r97493
      Richard Earnshaw committed
    • * doc/install.texi: Fix a typo. · e5080aa6
      From-SVN: r97492
      Kazu Hirata committed
    • * pt.c: Fix comment typos. · c51940a2
      From-SVN: r97491
      Kazu Hirata committed
    • cfghooks.c, [...]: Fix comment typos. · 315682fb
      	* cfghooks.c, cfgrtl.c, modulo-sched.c, config/i386/winnt.c:
      	Fix comment typos.
      
      From-SVN: r97490
      Kazu Hirata committed
    • re PR c++/20723 (ICE in more_specialized_fn, more than one user-defined… · ee307009
      re PR c++/20723 (ICE in more_specialized_fn, more than one user-defined conversion "srp<int>" to "ptr<int>")
      
      cp:
      	PR c++/20723
      	* pt.c (more_specialized_fn): Member functions are unordered wrt
      	non-members.  Conversion operators are unordered wrt other
      	functions.
      testsuite:
      	PR c++/20723
      	* g++.dg/template/spec22.C: New.
      	* g++.dg/template/spec23.C: New.
      
      From-SVN: r97489
      Nathan Sidwell committed
    • re PR middle-end/20648 (ICE in cfg_layout_redirect_edge_and_branch_force) · 00b28cb0
              PR middle-end/20648
              * bb-reorder.c (duplicate_computed_gotos): Do not unfactor
              a computed goto if the edge to the computed goto block has
              incoming abnormal edges.  Clarify how the function works.
      
      From-SVN: r97486
      Steven Bosscher committed
    • params.c (set_param_value): Use gcc_assert & gcc_unreachable. · e16acfcd
      	* params.c (set_param_value): Use gcc_assert & gcc_unreachable.
      	* passes.c (open_dump_file, rest_of_handle_final): Likewise.
      	* postreload-gcse.c (expr_equiv_p, oprs_unchanged_p,
      	hash_scan_set, reg_set_between_after_reload_p,
      	reg_used_between_after_reload_p, get_avail_load_store_reg,
      	eliminate_partially_redundant_load): Likewise.
      	* postreload.c (reload_cse_simplify_set,
      	reload_combine_note_use): Likewise.
      	* predict.c (predict_insn, expected_value_to_br_prob,
      	propagate_freq, expensive_function_p): Likewise.
      	* print-rtl.c (print_rtx): Likewise.
      	* profile.c (instrument_edges, instrument_values,
      	compute_branch_probabilities, branch_prob, union_groups,
      	tree_register_profile_hooks, rtl_register_profile_hooks): Likewise.
      	* protoize.c (in_system_include_dir, file_could_be_converted,
      	file_normally_convertible, gen_aux_info_file, seek_to_line,
      	do_cleaning): Likewise.
      	* tree-ssa-alias.c (collect_points_to_info_r): Likewise.
      	* tree-ssa-ccp.c (execute_fold_all_builtins): Likewise.
      	* tree-ssa-loop-ivopts.c (produce_memory_decl_rtl): Likewise.
      
      From-SVN: r97485
      Nathan Sidwell committed
    • cfg.c (clear_bb_flags): Don't clear BB_DISABLE_SCHEDULE. · f73d5666
      2005-03-31 Mostafa Hagog <mustafa@il.ibm.com>
      
              * cfg.c (clear_bb_flags): Don't clear BB_DISABLE_SCHEDULE.
              * modulo-sched.c (undo_replace_buff_elem): New structure.
              (kernel_number_of_cycles, ps_unschedule_node,
              undo_generate_reg_moves,free_undo_replace_buff,
              undo_permute_partial_schedule,  loop_single_full_bb_p,
              SIMPLE_SMS_LOOP_P, loop_canon_p, canon_loop,
              build_loops_structure, get_sched_window): New.
              (generate_reg_moves): Return undo_replace_buff_elem and other
              fixes.
              (generate_prolog_epilog): Remove old loop versioning.
              (sms_schedule): Use loop information and loop_version.
              (sms_schedule_by_order): Split part of it to get_sched_window.
              * passes.c (rest_of_handle_sms): call cfg_layout_initialize
              cfg_layout_finalize and free_dominance_info before/after SMS.
      
      From-SVN: r97484
      Mostafa Hagog committed
    • cfghooks.c (lv_flush_pending_stmts, [...]): New. · 1cb7dfc3
      2005-03-30 Mostafa Hagog <mustafa@il.ibm.com>
      
              * cfghooks.c (lv_flush_pending_stmts,
              cfg_hook_duplicate_loop_to_header_edge, extract_cond_bb_edges,
              lv_adjust_loop_header_phi, lv_add_condition_to_bb): New.
              * cfghooks.h (cfg_hook_duplicate_loop_to_header_edge,
              lv_add_condition_to_bb,
              lv_adjust_loop_header_phi, extract_cond_bb_edges,
              flush_pending_stmts): New in cfg_hooks structure.
              (cfg_hook_duplicate_loop_to_header_edge, lv_flush_pending_stmts,
              extract_cond_bb_edges, lv_adjust_loop_header_phi,
              lv_add_condition_to_bb): New declarations.
              * cfgloop.h (duplicate_loop_to_header_edge): Change return type to
              bool.
              (loop_version): Declare.
              * cfgloopmanip.c (cfghooks.h): Include.
              (duplicate_loop_to_header_edge): Change return type to bool.
              (loop_version, lv_adjust_loop_entry_edge): Move here.
              * cfgrtl.c (cfgloop.h): Include.
              (rtl_verify_flow_info_1): Fix.
              (rtl_lv_add_condition_to_bb, rtl_extract_cond_bb_edges): New.
              (rtl_cfg_hooks, cfg_layout_rtl_cfg_hook): Add hooks to
              initialization.
              * tree-cfg.c (tree_lv_adjust_loop_header_phi,
              tree_lv_add_condition_to_bb): New.
              (tree_cfg_hooks): Add new hooks to initialization.
              * tree-ssa-loop-manip.c (lv_adjust_loop_header_phi,
              lv_adjust_loop_entry_edge, tree_ssa_loop_version): Remove.
      
      From-SVN: r97481
      Mostafa Hagog committed
    • re PR libgcj/20727 (double free or corruption) · 2be74e41
      2005-04-02  Anthony Green  <green@redhat.com>
      
              PR libgcj/20727
              * java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
      
      From-SVN: r97479
      Anthony Green committed
    • re PR libfortran/20068 (Backspace problems) · 00f07d96
      	PR libfortran/20068
      	PR libfortran/20125
      	PR libfortran/20156
      	PR libfortran/20471
      
      	* io/backspace.c (unformatted_backspace): Fix error in arithmetic.
      	(st_backspace): When in WRITING mode, we flush and falling back
      	into READING mode. In all cases, correctly position the stream.
      
      	* gfortran.dg/backspace.f: New test.
      
      Co-Authored-By: Francois-Xavier Coudert <coudert@clipper.ens.fr>
      
      From-SVN: r97478
      Dale Ranta committed