OSDN Git Service

Fix 4 execute/va-arg-26.c gcc testsuite failures.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 51cf826..bc62235 100644 (file)
@@ -1,3 +1,400 @@
+2004-11-05  James E Wilson  <wilson@specifixinc.com>
+
+       * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC_GR_SPILL): Change
+       1 to UNSPEC_GR_SPILL.
+
+2004-11-05  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       * config/s390/s390.c (s390_fixed_condition_code_regs): New function.
+       (TARGET_FIXED_CONDITION_CODE_REGS): Macro defined.
+
+2004-11-05  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * bitmap.h (enum bitmap_bits): Remove.
+       (bitmap_operation): Remove.
+       (bitmap_and, bitmap_and_into, bitmap_and_compl,
+       bitmap_and_compl_into, bitmap_ior, bitmap_ior_into, bitmap_xor,
+       bitmap_xor_into): Prototype.
+       * bitmap.c (bitmap_elt_insert_after, bitmap_elt_clear_from): New.
+       (bitmap_operation): Remove.
+       (bitmap_and, bitmap_and_into, bitmap_and_compl,
+       bitmap_and_compl_into, bitmap_ior, bitmap_ior_into, bitmap_xor,
+       bitmap_xor_into): New.
+       (bitmap_ior_and_compl, bitmap_ior_and_compl_into): Adjust.
+
+       PR tree-optimization/18307
+       * tree-ssa-alias.c (merge_pointed_to_info): Protected against DEST
+       and ORIG being the same node.
+
+2004-11-04  Geoffrey Keating  <geoffk@apple.com>
+
+       * Makefile.in (distclean): Don't delete nonexistent fixinc/ directory.
+       (install-mkheaders): Install the version built for the
+       host, not for the build machine.
+       * configure.ac: Always run fixincludes.
+       (all_outputs): Remove mkheaders.
+       * configure: Regenerate.
+       * fixinc.in: Move to fixincludes/.
+       * mkfixinc.sh: Likewise.
+       * mkheaders.in: Likewise.
+       * README-fixinc: Likewise.
+
+2004-11-05  Ramana Radhakrishnan  <ramana.radhakrishnan@codito.com>
+
+       PR target/18263
+       * config/arc/lib1funcs.asm (___umulsidi3): Change use of cmp to the
+       equivalent on the A4.
+
+2004-11-05  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
+       doc/cppopts.texi, doc/extend.texi, doc/fragments.texi,
+       doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi,
+       doc/implement-c.texi, doc/install.texi, doc/invoke.texi,
+       doc/libgcc.texi, doc/md.texi, doc/passes.texi,
+       doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi,
+       doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi,
+       doc/trouble.texi: Correct end-of-sentence markup and markup of
+       "etc.", "e.g." and "i.e.".  Use @code in various places where
+       appropriate.
+
+2004-11-05  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * doc/c-tree.texi, doc/cfg.texi, doc/extend.texi, doc/gty.texi,
+       doc/install.texi, doc/invoke.texi, doc/md.texi, doc/passes.texi,
+       doc/rtl.texi, doc/tm.texi, doc/tree-ssa.texi: Remove trailing
+       whitespace.
+
+2004-11-04  Mark Mitchell  <mark@codesourcery.com>
+
+       * config/arm/arm.c (arm_handle_notshared_attribute): New function.
+       * doc/extend.texi: Document "notshared" attribute.
+       
+2004-11-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-phinodes.c (make_phi_node): Make it static.
+       * tree.h: Remove the prototypes for make_phi_node.
+
+2004-11-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * stmt.c (expand_asm, expand_asm_operands): Make them static.
+       * tree.h: Remove the prototypes for expand_asm and
+       expand_asm_operands.
+
+2004-11-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * passes.c (rest_of_compilation): Make it static.
+       * toplev.h: Remove the prototype for rest_of_compilation.
+
+2004-11-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * jump.c (cleanup_barriers): Use delete_insn instead of
+       delete_barrier.
+       (delete_barrier): Remove.
+       * rtl.h: Remove the corresponding prototype.
+
+2004-11-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * expr.c (mostly_zero_p): Make it static.
+       * tree.h: Remove the prototype for mostly_zeros_p.
+
+2004-11-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * cfgrtl.c (force_nonfallthru_and_redirect): Make it static.
+
+2004-11-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * builtins.c (expand_builtin_return_addr,
+       expand_builtin_longjmp, expand_builtin_trap): Make them static.
+       * expr.h: Remove the prototypes for expand_builtin_longjmp and
+       expand_builtin_trap.
+       * tree.h: Remove the prototype for expand_builtin_return_addr.
+
+2004-11-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-cfg.c (find_taken_edge): Reject VAL begin NULL.
+       * tree-ssa-ccp.c (visit_cond_stmt): Don't call find_taken_edge
+       with VAL being NULL.
+
+2004-11-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * cfghooks.c (delete_basic_block): Remove code to truncate
+       edge vectors.
+
+2004-11-04  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * flow.c (init_propagate_block_info): Change the type of i to 
+       unsigned.
+
+2004-11-04  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       PR tree-optimization/18184
+       * c-typeck.c (comptypes): Do not treat pointers of different
+       modes or alias-all flags as equivalent.
+       * tree-ssa.c (tree_ssa_useless_type_conversion_1): Likewise.
+
+2004-11-04  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * doc/gty.texi, doc/makefile.texi, doc/sourcebuild.texi: Don't
+       reference specific C parser files in examples.
+
+2004-11-04  Richard Sandiford  <rsandifo@redhat.com>
+
+       PR target/15342
+       * regrename.c (scan_rtx): Treat the destinations of SETs and CLOBBERs
+       as OP_INOUT if the instruction is predicated.
+
+2004-11-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * bitmap.h: Fix a comment typo.  Follow spelling conventions.
+       * tree-vectorizer.c: Fix a comment typo.
+
+2004-11-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * sdbout.c (SDB_GENERATE_FAKE): Remove.
+       (gen_fake_label): Don't use SDB_GENERATE_FAKE.
+       * system.h: Poison SDB_GENERATE_FAKE.
+       * doc/tm.texi (SDB_GENERATE_FAKE): Remove.
+
+2004-11-04  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390.md ("*addsi3_sign"): Use canonical RTL.
+
+2004-11-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR other/18277
+       * gthr-posix.h (__gthread_recursive_mutex_init_function): Revert
+       2004-10-29 patch
+
+2004-11-04  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * predict.c (propagate_freq): Make bitno unsigned. Move
+       npredecessors update out of loop.
+
+       * bitmap.h (bitmap_iterator): Remove word_bit and bit
+       fields. Rename others.
+       (bmp_iter_common_next_1, bmp_iter_single_next_1,
+       bmp_iter_single_init, bmp_iter_end_p, bmp_iter_single_next,
+       bmp_iter_and_not_next_1, bmp_iter_and_not_init,
+       bmp_iter_and_not_next, bmp_iter_and_next_1, bmp_iter_and_init,
+       bmp_iter_and_next): Remove.
+       (bmp_iter_set_init, bmp_iter_and_init, bmp_iter_and_compl_init,
+       bmp_iter_next, bmp_iter_set, bmp_iter_and, bmp_iter_and_compl):
+       New.
+       (EXECUTE_IF_SET_IN_BITMAP, EXECUTE_IF_AND_IN_BITMAP,
+       EXECUTE_IF_AND_COMPL_IN_BITMAP): Adjust.
+
+       * bitmap.h (bitmap_a_or_b, bitmap_a_and_b): Remove.
+       * df.c (dataflow_set_a_op_b): Use bitmap_and, bitmap_ior,
+       bitmap_and_into, bitmap_ior_into as appropriate.
+       * except.c (remove_eh_handler): Likewise.
+       * global.c (modify_bb_reg_pav, make_accurate_live_analysis): Likewise.
+       * tree-dfa.c (mark_new_vars_to_rename): Likewise.
+       * tree-ssa-alias.c (merge_pointed_to_info): Likewise.
+       * tree-ssa-live.h (live_merge_and_clear): Likewise.
+       * tree-ssa-loop-ivopts.c (find_best_candidate, try_add_cand_for):
+       Likewise.
+
+       * bitmap.c (bitmap_print): Make bitno unsigned.
+       * bt-load.c (clear_btr_from_live_range,
+       btr_def_live_range): Likewise.
+       * caller-save.c (save_call_clobbered_regs): Likewise.
+       * cfganal.c (compute_dominance_frontiers_1): Likewise.
+       * cfgcleanup.c (thread_jump): Likewise.
+       * cfgrtl.c (safe_insert_insn_on_edge): Likewise.
+       * conflict.c (conflict_graph_compute): Likewise.
+       * ddg.c (add_deps_for_use): Likewise.
+       * df.c (df_refs_update): Likewise.
+       * except.c (remove_eh_handler): Likewise.
+       * flow.c (verify_local_live_at_start, update_life_info,
+       initialize_uninitialized_subregs, propagate_one_insn,
+       free_propagate_block_info, propagate_block, find_use_as_address,
+       reg_set_to_hard_reg_set): Likewise.
+       * gcse.c (clear_modify_mem_tables): Likewise.
+       * global.c (global_conflicts, build_insn_chain): Likewise.
+       * ifcvt.c (dead_or_predicable): Likewise.
+       * local-alloc.c (update_equiv_regs): Likewise.
+       * loop.c (load_mems): Likewise.
+       * ra-build.c (livethrough_conflicts_bb, conflicts_between_webs):
+       Likewise.
+       * ra-rewrite.c (reloads_to_loads, rewrite_program2, actual_spill):
+       Likewise.
+       * reload1.c (order_regs_for_reload, finish_spills): Likewise.
+       * sched-deps.c (sched_analyze_insn, free_deps): Likewise.
+       * sched-rgn.c (propagate_deps
+       * tree-cfg.c (tree_purge_all_dead_eh_edges): Likewise.
+       * tree-dfa.c (dump_dfa_stats
+       tree-into-ssa.c (compute_global_livein, insert_phi_nodes,
+       insert_phi_nodes_for, debug_def_blocks_r, invalidate_name_tags):
+       Likewise.
+       * tree-outof-ssa.c (coalesce_ssa_name, coalesce_vars,
+       free_temp_expr_table, find_replaceable_exprs): Likewise.
+       * tree-sra.c (scan_function, scalarize_parms): Likewise.
+       * tree-ssa-alias.c (init_alias_info,
+       compute_points_to_and_addr_escape,
+       compute_flow_sensitive_aliasing, maybe_create_global_var): Likewise.
+       * tree-ssa-dce.c (mark_control_dependent_edges_necessary): Likewise.
+       * tree-ssa-live.c (new_tree_live_info, live_worklist,
+       calculate_live_on_entry, calculate_live_on_exit, compare_pairs,
+       sort_coalesce_list, build_tree_conflict_graph, dump_live_info
+       tree-ssa-loop-manip.c (add_exit_phis_var): Likewise.
+       tree-ssa-operands.c (get_asm_expr_operands, add_call_clobber_ops,
+       add_call_read_ops): Likewise.
+       * tree-ssa-pre.c (bitmap_print_value_set, insert_aux): Likewise.
+       * tree-ssa-live.h (num_var_partitions): Return unsigned.
+
+2004-11-03  Dorit Naishlos  <dorit@il.ibm.com>
+
+       PR tree-optimization/18009
+       * tree-vectorizer.h (enum dr_alignment_support): New type.
+       (MAX_NUMBER_OF_UNALIGNED_DATA_REFS): Removed.
+       (LOOP_UNALIGNED_DR): replaced with LOOP_VINFO_UNALIGNED_DR and holds a
+       single data_reference (instead of a varray of references).
+       * tree-vectorizer.c (new_loop_vec_info): Likewise.
+       (vect_gen_niters_for_prolog_loop): Likewise.
+       (vect_update_inits_of_drs): Likewise.
+
+       (vect_update_inits_of_drs): Setting of DR_MISALIGNMENT moved to
+       vect_enhance_data_refs_alignment.
+       (vect_do_peeling_for_alignment): Likewise.
+       (vect_enhance_data_refs_alignment): Decide if and by how much to peel;
+       this functionality used to be in vect_analyze_data_refs_alignment.
+       Also update DR_MISALIGNMENT due to peeling; this functionality used to
+       be in vect_update_inits_of_drs and vect_do_peeling_for_alignment).
+       (vect_analyze_data_refs_alignment): Decision on whether and by how much
+       to peel moved to vect_enhance_data_refs_alignment. Call 
+       vect_supportable_dr_alignment.
+
+       (vect_compute_data_ref_alignment): Set STMT_VINFO_VECTYPE.
+       (vect_compute_data_refs_alignment): Return bool. Consider return value
+       of vect_compute_data_ref_alignment and return true/false accordingly.
+       (vect_enhance_data_refs_alignment): Consider return value of 
+       vect_compute_data_refs_alignment and return true/false accordingly.
+
+       (vect_supportable_dr_alignment): New function.
+       (vectorizable_store): Call vect_supportable_dr_alignment.
+       (vectorizable_load): Call vect_supportable_dr_alignment. Alignment
+       support checks moved from here to vect_supportable_dr_alignment.
+
+       (vect_transform_loop): Avoid 80 columns overflow.
+
+2004-11-03  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * timevar.c (timevar_enable): Change from
+       static.
+       (timevar_push): Rename to ...
+       (timevar_push_1): this and remove the
+       enabled check.
+       (timevar_pop): Rename to ...
+       (timevar_pop_1): this and remove the
+       enabled check.
+       * timevar.h (POP_TIMEVAR_AND_RETURN): Use do/while loops.
+       (timevar_pop): New macro.
+       (timevar_push): New macro.
+       (timevar_enable): Declare.
+
+2004-11-03  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * config/darwin.h (REAL_LIBGCC_SPEC): Define to use shared
+       libgcc for shared libraries.
+
+2004-11-03  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390-protos.h (s390_split_access_reg): Add prototype.
+       * config/s390/s390.c (s390_split_access_reg): New function.
+       (regclass_map): Add access registers.
+       (get_thread_pointer): Use access register instead of UNSPEC_TP.
+       * config/s390/s390.h (FIRST_PSEUDO_REGISTER): Set to 38.
+       (ACCESS_REGNO_P, ACCESS_REG_P): New macros.
+       (TP_REGNUM): New define.
+       (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS,
+       REG_ALLOC_ORDER): Add access registers.
+       (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK, CLASS_MAX_NREGS,
+       CANNOT_CHANGE_MODE_CLASS): Support access registers.
+       (enum reg_class): Add ACCESS_REGS.
+       (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Likewise.
+       (REG_CLASS_FROM_LETTER): Add 't' constraint.
+       (REGISTER_NAMES): Add access registers.
+       * config/s390/s390.md (UNSPEC_TP): Remove.
+       ("*movdi_64"): Add access register alternatives.  Provide splitters
+       to split DImode access register <-> GPR moves into SImode moves.
+       ("*movsi_zarch", "*movsi_esa"): Add access register alternatives.
+       ("movstrictsi"): Likewise.
+       ("get_tp_64", "get_tp_31"): Reimplement using access registers.
+       ("set_tp_64", "set_tp_31"): Likewise.
+       ("*set_tp"): New insn.
+
+2004-11-03  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-phinodes.c (resize_phi_node): Copy only a portion of
+       the PHI node currently in use.
+
+2004-11-03  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR tree-opt/18231
+       * tree.c (staticp) <case FUNCTION_DECL>: Nested functions are static
+       also.
+
+2004-11-03  Andrew MacLeod  <amacleod@redhat.com>
+
+       PR tree-optimization/18270
+       * tree-outof-ssa.c (analyze_edges_for_bb): If a block has incoming
+       abnormal edges, commit all pending stmts on incoming edges.
+
+2004-11-03  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * tree-ssa-loop-ivopts.c (get_address_cost): Offset zero does not
+       cause extra costs.  Generate canonical RTL.
+
+2004-11-02  Daniel Berlin  <dberlin@dberlin.org>
+
+       * lambda-code.c (lambda_compute_auxillary_space): Update comments.
+       (lambda_compute_target_space). Ditto.
+       * lambda.h (lambda_trans_matrix): Ditto.
+       (lambda_linear_expression): Ditto.
+       (lambda_body_vector): Ditto.
+       (lambda_loopnest): Ditto.
+       * tree-loop-linear.c (gather_interchange_stats): Combine tests,
+       update comments, and remove pointless addition of 0.
+       (linear_transform_loops): Update comments.
+
+2004-11-03  Sebastian Pop  <pop@cri.ensmp.fr>
+
+       * tree.c (tree_fold_gcd): Use FLOOR_MOD_EXPR instead of
+       CEIL_MOD_EXPR.
+
+2004-11-03 Jeff Law  <law@redhat.com>
+
+       * predict.c (struct block_info_def): Kill "tovisit" field.
+       (propagate_freq): Accept new "tovisit" parameter.  Change
+       read/write access methods for "tovisit" to check the "tovisit"
+       bitmap instead of a bit in block_info_def.
+       (estimate_loops_at_level): Allocate "tovisit" bitmap.  Pass
+       it to propagate_freq.
+
+       * stmt.c (expand_case): Speed up code to detect duplicate case
+       label targets and count unique case label targets.
+
+2004-11-03  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * cppdefault.c, cppdefault.h, timevar.h: Update copyright.
+
+2004-11-03  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * bitmap.h, dbxout.c, tree-mudflap.c: Fix comment formatting.
+
+2004-11-03  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-cfg.c (find_taken_edge): Abort if we are given a
+       statement that is neither COND_EXPR nor SWITCH_EXPR.
+
+2004-11-02  Zdenek Dvorak  <dvorakz@suse.cz>
+
+       * fold-const.c (fold): Reassociate also (x - mult) + mult and
+       (mult - x) + mult.  Cast operands of expression after applying
+       distributive law to the correct types.  Apply distributive law
+       to a * c - b * c for all non-float types.
+
 2004-11-02  Geoffrey Keating  <geoffk@apple.com>
 
        * configure.ac: Don't clear STMP_FIXINC or STMP_FIXPROTO just