OSDN Git Service

PR target/18447
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index a98165b..521c31b 100644 (file)
@@ -1,3 +1,256 @@
+2004-11-16  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       PR target/18447
+       * config/sh/sh.c (prepare_move_operands): Emit blockage insns
+       before and after the insns for getting GOT address in non-PIC
+       TLS_MODEL_INITIAL_EXEC tls sequence when the first scheduling
+       is enabled.
+
+2004-11-16  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       * gcc/cse.c (struct change_cc_mode_args): New structure.
+       (cse_change_cc_mode_insn): New function.
+       (cse_change_cc_mode): Use validate_change to perfom changes.
+       (cse_change_cc_mode_insns, cse_condition_code_reg): 
+       Call cse_change_cc_mode_insn.
+
+2004-11-16  Steven Bosscher  <stevenb@suse.de>
+
+       * stack.h: Remove.
+
+2004-11-16  Steven Bosscher  <stevenb@suse.de>
+
+       * config/i386/i386.c (x86_schedule): Fix typo, m_K6 intead of m_K8.
+
+2004-11-15  Dale Johannesen  <dalej@apple.com>
+
+       * tree-flow.h (add_referenced_temp_var):  Remove name from prototype.
+
+2004-11-15  Dale Johannesen  <dalej@apple.com>
+
+       * profile.c (compute_branch_probabilities):  Prevent
+       crash with EH in RTL-based profiling.
+
+2004-11-16  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-cfg.c (verify_expr): Replace TREE_OPERAND with
+       COND_EXPR_COND.
+       * tree-if-conv.c (tree_if_convert_cond_expr): Likewise.
+       * tree-ssa-dom.c (thread_across_edge): Likewise.
+       * tree-vectorizer.c (vect_transform_loop_bound): Replace
+       TREE_OPERAND with COND_EXPR_COND, COND_EXPR_THEN, or
+       COND_EXPR_ELSE.
+
+       * tree-cfg.c (bsi_commit_edge_inserts): Remove an argument.
+       (tree_flow_call_edges_add): Update the call to
+       bsi_commit_edge_inserts.
+       * lambda-code.c (lambda_loopnest_to_gcc_loopnest): Likewise.
+       * profile.c (branch_prob): Likewise.
+       * tree-mudflap.c (mf_decl_cache_locals): Likewise.
+       * tree-sra.c (scalarize_function): Likewise.
+       * tree-ssa-loop-im.c (loop_commit_inserts): Likewise.
+       * tree-ssa-pre.c (fini_pre): Likewise.
+       * tree-flow.h: Update the prototype for
+       bsi_commit_edge_inserts.
+
+2004-11-15  Eric Christopher  <echristo@redhat.com>
+
+       * sched-deps.c (set_sched_group_p): Delete.
+       (delete_all_dependencies): New function.
+       (fixup_sched_groups): Use. New function.
+       (sched_analyze_insn): Use.
+
+2004-11-15  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * c-common.c (binary_op_error): Don't allow LROTATE_EXPR,
+       RROTATE_EXPR or unknown code.
+       * c-typeck.c (build_binary_op): Don't allow RROTATE_EXPR,
+       LROTATE_EXPR, MAX_EXPR, MIN_EXPR, UNORDERED_EXPR, ORDERED_EXPR,
+       UNLT_EXPR, UNLE_EXPR, UNGT_EXPR, UNGE_EXPR, UNEQ_EXPR, LTGT_EXPR
+       or unknown code.
+
+2004-11-15  Joseph S. Myers  <joseph@codesourcery.com>
+
+       PR c/18498
+       * c-decl.c (grokdeclarator): Call check_bitfield_type_and_width
+       after processing the declarator.
+
+2004-11-15  Aldy Hernandez  <aldyh@redhat.com>
+
+       * config/rs6000/altivec.md ("altivec_vsplth"): Rewrite with
+       vec_duplicate.
+       (altivec_vspltb): Same.
+       (altivec_vspltw): Same.
+       (altivec_vspltisb): Same.
+       (altivec_vspltish): Same.
+       (altivec_vspltisw): Same.
+       (altivec_vspltisw_v4sf): Same.
+       (define_constants): Remove UNSPEC_VSPLTISB, UNSPEC_VSPLTISW,
+       UNSPEC_VSPLTISH.
+       Move "End of vector xor's" comment to the right place.
+
+2004-11-15  Steve Ellcey  <sje@cup.hp.com>
+
+       * config/ia64/ia64.md (*movtf_internal):  Use destination_operand
+       instead of nonimmediate_operand.
+
+2004-11-15  Mark Mitchell <mark@codesourcery.com>
+
+       * config/i386/sol2.h (ASM_OUTPUT_CALL): Use print_operand.
+       * config/sparc/sol2.h (ASM_OUTPUT_CALL): Likewise.
+       * config/sol2.c (solaris_output_init_fini): Update calls to
+       ASM_OUTPUT_CALL.  Include "rtl.h".
+
+2004-11-15  Mark Mitchell <mark@codesourcery.com>
+
+       * config/sol2-c.c (cmn_err_char_table): Add "p".
+
+2004-11-15  Mark Mitchell <mark@codesourcery.com>
+
+       * config/sparc/sol2.h (SUPPORTS_INIT_PRIORITY): Remove.
+       * config/sol2.h (SUPPORTS_INIT_PRIORITY): Define here.
+
+2004-11-15  Mark Mitchell <mark@codesourcery.com>
+
+       * config/t-slibgcc-sld (SHLIB_LINK): Make symlinks entirely
+       within the multilib directory.
+
+2004-11-15  Nick Clifton  <nickc@redhat.com>
+
+       * config/stormy16/stormy16.h (TARGET_CPU_CPP_BUILTINS): Add
+       builtin assert of cpu=xstormy16.
+
+2004-11-15  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * tree-ssa-pre.c (bitmap_print_value_set): Fix uninitialized
+       variable.
+
+2004-11-14  Richard Henderson  <rth@redhat.com>
+
+       PR 18480
+       * calls.c (struct arg_data): Add parallel_value.
+       (precompute_register_parameters): Set it.
+       (load_register_parameters): Use it.
+       (store_one_arg): Also set it here.
+
+2004-11-14  Zdenek Dvorak  <dvorakz@suse.cz>
+
+       PR tree-optimization/18431
+       * fold-const.c (associate_trees): Do not produce x + 0.
+       (fold_widened_comparison, fold_sign_changed_comparison): New functions.
+       (fold): Use them.
+       * tree-ssa-loop-niter.c (upper_bound_in_type, lower_bound_in_type):
+       Moved ...
+       * tree.c (upper_bound_in_type, lower_bound_in_type): Here.
+       * tree.h (upper_bound_in_type, lower_bound_in_type): Declare.
+
+2004-11-14  Eric Botcazou <ebotcazou@libertysurf.fr>
+
+       * doc/rtl.texi (SUBREG): Adjust BYTENUM value in example.
+
+2004-11-14  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * cfgrtl.c, global.c, tree-ssa-copy.c, tree-ssa-loop-ivopts.c,
+       value-prof.c: Fix comment typos.
+
+2004-11-14  Stan Shebs  <shebs@apple.com>
+
+       Basic ABI changes for passing structs by value in 64-bit Darwin.
+       * config/rs6000/rs6000.c (rs6000_darwin64_abi): New flag.
+       (rs6000_override_options): Set it for 64-bit Darwin.
+       (rs6000_parse_abi_options): Add testing options to change it.
+       (rs6000_return_in_memory): Test whether the type is one
+       that can be passed in registers.
+       (darwin64_function_arg_advance): New.
+       (function_arg_advance): Call it, plus add recursion depth
+       argument and test when counting off arguments.
+       (rs6000_darwin64_function_arg): New.
+       (function_arg): Call it.
+       (setup_incoming_varargs): Add argument to function_arg_advance.
+       (rs6000_darwin64_function_value): New.
+       (rs6000_function_value): Call it.
+       * config/rs6000/rs6000.h (FUNCTION_ARG_ADVANCE): Pass depth arg.
+       * config/rs6000/rs6000-protos.h: Update decl of
+       function_arg_advance.
+
+2004-11-14  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR c/17279
+       * c-common.c (c_common_nodes_and_builtins): Ask the back-end if we
+       support TImode before adding __int128_t and __uint128_t types.
+
+2004-11-14  Dorit Naishlos  <dorit@il.ibm.com>
+
+       PR tree-opt/18400
+       * tree-vectorizer.c (make_loop_iterate_ntimes): Set loop->nb_iterations.
+       (vect_transform_loop_bound): Set loop->nb_iterations.
+
+2004-11-14  Dorit Naishlos  <dorit@il.ibm.com>
+            Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR tree-opt/18425
+       * tree-vectorize.c (vect_build_loop_niters): Do not insert
+       NULL into the instruction stream. Initialize new_bb to NULL.
+       (vect_update_ivs_after_vectorizer): Likewise.
+       (vect_gen_niters_for_prolog_loop): Likewise.
+
+2004-11-14  Zdenek Dvorak  <dvorakz@suse.cz>
+
+       PR tree-optimization/18431
+       * tree-flow.h (stmt_references_memory_p): Declare.
+       * tree-ssa-loop-im.c (stmt_cost): Use stmt_references_memory_p.
+       * tree-ssa.c (stmt_references_memory_p): New function.
+
+2004-11-14  Andreas Schwab  <schwab@suse.de>
+
+       * Makefile.in (lambda-code.o, tree-loop-linear.o): Depend on
+       $(EXPR_H).
+
+2004-11-14  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * c-common.c (walk_stmt_tree): Remove.
+       * c-common.h: Remove the corresponding prototype.
+
+       * emit-rtl.c (push_to_full_sequence): Remove.
+       * rtl.h: Remove the corresponding prototype.
+
+       * cselib.c, expr.c: Fix comment typos.
+
+2004-11-13  Richard Henderson  <rth@redhat.com>
+
+       * calls.c (precompute_register_parameters): Force all PARALLELs
+       into pseudo registers.
+       (load_register_parameters): Copy PARALLELs into hard registers.
+       * function.c (assign_parm_setup_block): Copy PARALLELS into
+       pseudo registers.  Do emit_group_store in conversion_insns.
+       * expr.c (emit_group_load_1): Rename from emit_group_load, take
+       tmps as an argument.  Move final copy loop ...
+       (emit_group_load): ... here.  New function.
+       (emit_group_load_into_temps, emit_group_move_into_temps): New.
+       * expr.h: Declare them.
+
+2004-11-14  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-cfg.c, tree-if-conv.c, tree-ssa-loop-ivopts.c,
+       tree-ssa-loop-manip.c, tree-vectorizer.c: Replace TREE_CHAIN
+       with PHI_CHAIN where appropriate.
+
+2004-11-13  Dale Johannesen  <dalej@apple.com>
+
+       * tree-flow.h (bsi_commit_one_edge_insert): Remove name from prototype.
+       (tree_block_label): Ditto.
+       (flush_pending_stmts): Ditto.
+       (insert_edge_copies): Ditto.
+       (expr_invariant_in_loop_p): Ditto.
+       (TDF_USE_OPS): Parenthesize definition.
+       (TDF_USE_VOPS): Ditto.
+
+2004-11-13  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/aix51.h (ASM_CPU_SPEC): Add 970 and G5.
+       * config/rs6000/aix52.h (ASM_CPU_SPEC): Same.
+       * config/rs6000/t-aix52 (BOOT_LDFLAGS): Define.
+
 2004-11-14  Joseph Myers  <joseph@codesourcery.com>
 
        * config/i386/i386.c (override_options): Move loop to set default
 
 2004-11-13  Kelley Cook  <kcook@gcc.gnu.org>
 
-       * doc/install.texi (automake): Correctly document that everything now 
+       * doc/install.texi (automake): Correctly document that everything now
        will use automake 1.9.3.
 
 2004-11-13  Hans-Peter Nilsson  <hp@bitrange.com>
        * doc/install.texi: Likewise.
        * doc/makefile.texi: Likewise.
        * doc/sourcebuild.texi: Likewise.
-       
+
 2004-11-13  Kazu Hirata  <kazu@cs.umass.edu>
 
        * tree-ssa-loop-manip.c: Fix a comment typo.
 2004-11-12  Devang Patel  <dpatel@apple.com>
 
        * optabs.c (vector_compare_rtx): Use COMPARISON_CLASS_P.
-       
+
 2004-11-12  Devang Patel  <dpatel@apple.com>
 
        * tree-if-conv.c (clean_predicate_lists): Use loop header
        and latch directly.
-       
+
 2004-11-12  Richard Henderson  <rth@redhat.com>
 
        PR 17778
        * passes.c (rest_of_decl_compilation): Do not look at DECL_RTL
        when deciding whether to pass a variable to
        cgraph_varpool_finalize_decl or assemble_variable.
-       * toplev.c (check_global_declarations): Do not clear DECL_RTL. 
+       * toplev.c (check_global_declarations): Do not clear DECL_RTL.
 
 2004-11-12  Kazu Hirata  <kazu@cs.umass.edu>
 
 2004-11-12  Sebastian Pop  <pop@cri.ensmp.fr>
 
        PR middle-end/18005
-       * tree-data-ref.c (estimate_niter_from_size_of_data): Ensure 
+       * tree-data-ref.c (estimate_niter_from_size_of_data): Ensure
        that arguments of EXACT_DIV_EXPR are INTEGER_CST.
 
 2004-11-12  Steven Bosscher  <stevenb@suse.de>
 
 2004-11-11  Sebastian Pop  <pop@cri.ensmp.fr>
 
-       * tree-scalar-evolution.c (follow_ssa_edge_in_condition_phi): 
+       * tree-scalar-evolution.c (follow_ssa_edge_in_condition_phi):
        Give up as soon as the evolution is known not computable.
 
 2004-11-11  Nathan Sidwell  <nathan@codesourcery.com>