OSDN Git Service

Set TARGET_ASM_FILE_END to file_end_indicate_exec_stack.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 285c1be..eb8fd20 100644 (file)
@@ -1,3 +1,429 @@
+2004-11-18  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.comn>
+
+       * config/m32r/linux.h (TARGET_ASM_FILE_END): Set
+       TARGET_ASM_FILE_END to file_end_indicate_exec_stack.
+
+2004-11-18  Diego Novillo  <dnovillo@redhat.com>
+
+       * tree-ssa-propagate.c (ssa_prop_init): Use FOR_ALL_BB instead
+       of FOR_EACH_BB.
+
+2004-11-18  Jon Grimm <jgrimm2@us.ibm.com>
+
+       * Makefile.in (macro_list): Depend on s-macro_list.
+       (s-macro_list): New target.
+
+2004-11-18  Nathan Sidwell  <nathan@codesourcery.com>
+
+       PR target/17107
+       * fold-const.c (RANGE_TEST_NON_SHORT_CIRCUIT): Rename to ...
+       (LOGICAL_OP_NON_SHORT_CIRCUIT): ... here.
+       (fold_range_test): Adjust.
+       (fold_truthop): Use it.
+       * config/rs6000/rs6000.h (RANGE_TEST_NON_SHORT_CIRCUIT): Rename to ...
+       (LOGICAL_OP_NON_SHORT_CIRCUIT): ... here.
+
+2004-11-18  Uros Bizjak  <uros@kss-loka.si>
+
+        * configure/i386/i386.md (*fix_trunch_1): Add "&& 1" to
+        insn split constraint.
+        (define_peephole2): Remove unneeded "&& 1" from peephole2
+        constraints.
+
+2004-11-18  Ben Elliston  <bje@au.ibm.com>
+
+       * doc/cfg.texi (Maintaining the CFG): Remove duplicated @item
+       element for bsi_prev; use @findex instead.
+
+2004-11-18  Ben Elliston  <bje@au.ibm.com>
+
+       * opts.h (add_input_filename): Remove extern declaration.
+       * opts.c (add_input_filename): Make static.
+
+2004-11-17  Mark Mitchell  <mark@codesourcery.com>
+
+       * config/i386/i386.c (i386_solaris_elf_named_section): Mark with
+       ATTRIBUTE_UNUSED.
+  
+2004-11-17  Zack Weinberg  <zack@codesourcery.com>
+
+       * defaults.h, config/darwin.h: Don't define TARGET_SUPPORTS_HIDDEN.
+       * system.h: Poison it.
+       * doc/tm.texi: Delete its documentation.
+
+2004-11-18  Daniel Jacobowitz  <dan@codesourcery.com>
+           Mark Mitchell  <mark@codesourcery.com>
+
+       * config/i386/sol2-10.h, config/i386/t-sol2-10: New files.
+       * config/i386/i386.c (i386_solaris_elf_named_section): New
+       function.
+       * config.gcc (i[34567]86-*-solaris2*): Handle Solaris 2.10.
+       * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Handle
+       64-bit.
+       (ASM_QUAD): Don't undefine for biarch targets.
+       * config/i386/t-sol2: Introduce multilib support.
+
+2004-11-18  Ben Elliston  <bje@au.ibm.com>
+
+       * cgraphunit.c: Replace "it's" with "its" and fix a typo.
+
+2004-11-18  Ben Elliston  <bje@au.ibm.com>
+
+       * cgraph.h: Replace "it's" with "its" throughout.
+
+2004-11-18  Ben Elliston  <bje@au.ibm.com>
+
+       * doc/rtl.texi (Flags): Grammar fix.
+
+2004-11-17  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * expmed.c (alg_code): Add alg_unknown.
+       (alg_hash_entry): New.
+       (NUM_ALG_HASH_ENTRIES): Likewise.
+       (alg_hash): Likewise.
+       (synth_mult): Cache the result into alg_hash.
+
+2004-11-17  Zack Weinberg  <zack@codesourcery.com>
+
+       * config/rs6000/t-darwin: Augment SHLIB_MAPFILES with
+       config/rs6000/libgcc-ppc64.ver.
+
+2004-11-17  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * cfgrtl.c (rtl_verify_flow_info): Don't use INSN_P when
+       checking if an unconditional return is followed by a barrier.
+
+       * jump.c (condjump_p): Remove unreachable code.
+
+       * basic-block.h, c-common.h, df.h, expr.h, output.h, rtl.h,
+       tree-chrec.h, tree-flow.h, tree-scalar-evolution.h,
+       tree-ssa-live.h, tree.h: Remove unused prototypes.
+
+2004-11-17  Jeff Law  <law@redhat.com>
+
+       * tree-cfg.c (edge_to_cases): Renamed from edge_to_case_leader.
+       (edge_to_cases_elt): Renamed from edge_to_case_leader.
+       (edge_to_cases_hash): Renamed from edge_to_case_leader_hash.
+       (edge_to_cases_eq): Renamed from edge_to_case_leader_eq.
+       (edge_to_cases_cleanup, recording_case_labels_p): New functions.
+       (get_cases_for_edge): New function.
+       (start_recording_case_labels, end_recording_case_labels): Similarly.
+       (record_switch_edge): Don't muck with the CASE_LABEL.  Instead
+       chain equivalent CASE_LABEL_EXPRs together.
+       (get_case_leader_for_edge, get_case_leader_for_edge_hash): Kill.
+       (make_switch_expr_edges): Do not record edge/cases here.
+       (cleanup_tree_cfg): Record cases around the call to thread_jumps.
+       (split_critical_edges): Record cases around the edge splitting code.
+       (cleanup_dead_labels): Use CASE_LABEL again.
+       (tree_redirect_edge_and_branch): If we have a mapping from edge
+       to cases, use it to handle redirections.  Else do it the slow way.
+       * tree.h (CASE_LEADER_OR_LABEL): Kill.
+       (CASE_LABEL): Revert to just looking at the tree's second operand.
+       * tree.c (get_case_label): Kill.
+
+2004-11-17  Diego Novillo  <dnovillo@redhat.com>
+
+       PR tree-optimization/18307
+       * tree-ssa-alias.c (merge_pointed_to_info): ICE if 'dest' and
+       'orig' are the same node.
+       (collect_points_to_info_r): Do not call merge_pointed_to_info
+       when the PHI argument is identical to the LHS.
+
+2004-11-17  Steven Bosscher  <stevenb@suse.de>
+
+       * tree-ssa-propagate.c (cfg_blocks_add): Assert we're not trying
+       to insert the exit or entry block.
+       (ssa_prop_init): Use add_control_edge to seed the algorithm.
+
+2004-11-16  Zack Weinberg  <zack@codesourcery.com>
+
+       * mkmap-flat.awk, mkmap-symver.awk: If the last version
+       assigned to a symbol was '%exclude', do not emit it anywhere.
+       If leading_underscore is true, prefix all symbols from the
+       version scripts with a leading underscore before comparing
+       them with nm output or emitting them.  Remove support for dot
+       symbols.
+       * config/t-slibgcc-darwin (SHLIB_LINK): Use mkmap-flat.awk.
+       (SHLIB_MAPFILES): Use libgcc-std.ver.
+       (SHLIB_MKMAP_OPTS): Enable leading-underscore mode.
+       (SHLIB_LINK): Add -Wl,-exported_symbols_list,$(SHLIB_MAP).
+       * config/sh/t-linux: Use the normal libgcc-std.ver, plus
+       libgcc-excl.ver and libgcc-glibc.ver.
+
+       * config/sh/libgcc-excl.ver: New file.
+       * config/sh/libgcc-std.ver, libgcc-darwin.ver: Delete.
+
+2004-11-16  Daniel Berlin  <dberlin@dberlin.org>
+
+       * lambda-code.c (lambda_loopnest_to_gcc_loopnest): Swap
+       the test when the edge has the opposite meaning, not when
+       the first argument is invariant.
+
+2004-11-16  Aldy Hernandez  <aldyh@redhat.com>
+
+       * config/rs6000/rs6000.c (rs6000_override_options): Split e500v2
+       doubles.
+       (rs6000_complex_function_value): Handle e500 v2 variant.
+
+2004-11-16  Daniel Berlin  <dberlin@dberlin.org>
+
+       Fix PR tree-optimization/18519
+
+       * tree-optimize (execute_todo): Add case for TODO_cleanup_cfg.
+       * tree-pass.h: Add TODO_cleanup_cfg.
+       * tree-ssa-ccp.c (pass_ccp): Use TODO_cleanup_cfg.
+       (ccp_finalize): Remove call to cleanup_cfg.
+       * tree-ssa-dce.c (pass_dce): Use TODO_cleanup_cfg and TODO_dump_func.
+       (pass_cd_dce): Ditto.
+       (perform_tree_ssa_dce): Remove call to cleanup_cfg,
+       dump_function_to_file.
+       * tree-ssa-loop-ch.c (copy_loop_headers): Remove call
+       to cleanup_cfg.
+       (pass_ch): Add TODO_cleanup_cfg.
+       * tree-ssa-loop.c (tree_ssa_loop_done): Remove call to
+       cleanup_cfg.
+       (pass_loop_done): Add TODO_cleanup_cfg.
+       * tree-ssa-phiopt.c (pass_phiopt): Ditto.
+       (tree_ssa_phiopt): Remove call to cleanup_cfg.
+
+2004-11-16  Devang Patel  <dpatel@apple.com>
+
+       * optabs.c (vector_compare_rtx): Fix COMPARISON_CLASS_P use.
+
+2004-11-16  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * expmed.c, ra-colorize.c: Fix comment typos.
+
+       * doc/tm.texi: Fix typos.
+
+2004-11-16  Daniel Jacobowitz  <dan@codesourcery.com>
+           Mark Mitchell  <mark@codesourcery.com>
+
+       PR target/6123
+       * config/sol2.h (TARGET_OS_CPP_BUILTINS): Define __PIC__ and
+       __pic__ if PIC.
+
+2004-11-16  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * regmove.c (regmove_optimize): Use lowpart_subreg instead of
+       gen_rtx_SUBREG with incorrect offset to compute SRC_SUBREG.
+
+2004-11-16  Devang Patel  <dpatel@apple.com>
+
+       * tree-if-conv.c (clean_predicate_lists): Update gcc_assert check.
+
+2004-11-16  Eric Christopher  <echristo@redhat.com>
+
+       * config/mips/mips.c: Use rtl _P predicates.
+       * config/mips/mips.h: Ditto.
+       * config/mips/mips.md: Ditto.
+
+2004-11-16  Fariborz Jahanian <fjahanian@apple.com>
+
+       * config/rs6000/altivec.md (altivec_vandc): Canonicalize
+       the pattern.
+
+2004-11-16  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       * config/s390/s390.c (s390_cc_modes_compatible): New function.
+       (TARGET_CC_MODES_COMPATIBLE): Target macro defined.
+
+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
 
        * config/rs6000/aix51.h (ASM_CPU_SPEC): Add 970 and G5.
        * config/rs6000/aix52.h (ASM_CPU_SPEC): Same.
+       (atoll): Declare.
        * config/rs6000/t-aix52 (BOOT_LDFLAGS): Define.
 
 2004-11-14  Joseph Myers  <joseph@codesourcery.com>
 
 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>