X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2FChangeLog;h=8f460dcd0610f4c3f161eea9635a20441f7bd989;hb=474183f9f7347f35acc59e549f927a29bf1b54c2;hp=ba8cdf2bff0ad97a6c375a3f56be3907f0c40aae;hpb=619b522620f919138690dc47873466f48907ede6;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ba8cdf2bff0..8f460dcd061 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,496 @@ +2004-11-18 Andreas Schwab + + * config/i386/i386.md (define_peephole2): Revert last change. + +2004-11-18 Kazuhiro Inaoka + + * config/m32r/linux.h (TARGET_ASM_FILE_END): Set + TARGET_ASM_FILE_END to file_end_indicate_exec_stack. + +2004-11-18 Diego Novillo + + * tree-ssa-propagate.c (ssa_prop_init): Use FOR_ALL_BB instead + of FOR_EACH_BB. + +2004-11-18 Jon Grimm + + * Makefile.in (macro_list): Depend on s-macro_list. + (s-macro_list): New target. + +2004-11-18 Nathan Sidwell + + 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 + + * 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 + + * doc/cfg.texi (Maintaining the CFG): Remove duplicated @item + element for bsi_prev; use @findex instead. + +2004-11-18 Ben Elliston + + * opts.h (add_input_filename): Remove extern declaration. + * opts.c (add_input_filename): Make static. + +2004-11-17 Mark Mitchell + + * config/i386/i386.c (i386_solaris_elf_named_section): Mark with + ATTRIBUTE_UNUSED. + +2004-11-17 Zack Weinberg + + * 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 + Mark Mitchell + + * 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 + + * cgraphunit.c: Replace "it's" with "its" and fix a typo. + +2004-11-18 Ben Elliston + + * cgraph.h: Replace "it's" with "its" throughout. + +2004-11-18 Ben Elliston + + * doc/rtl.texi (Flags): Grammar fix. + +2004-11-17 Kazu Hirata + + * 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 + + * config/rs6000/t-darwin: Augment SHLIB_MAPFILES with + config/rs6000/libgcc-ppc64.ver. + +2004-11-17 Kazu Hirata + + * 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 + + * 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 + + 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 + + * 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 + + * 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 + + * 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 + + * config/rs6000/rs6000.c (rs6000_override_options): Split e500v2 + doubles. + (rs6000_complex_function_value): Handle e500 v2 variant. + +2004-11-16 Daniel Berlin + + 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 + + * optabs.c (vector_compare_rtx): Fix COMPARISON_CLASS_P use. + +2004-11-16 Kazu Hirata + + * expmed.c, ra-colorize.c: Fix comment typos. + + * doc/tm.texi: Fix typos. + +2004-11-16 Daniel Jacobowitz + Mark Mitchell + + PR target/6123 + * config/sol2.h (TARGET_OS_CPP_BUILTINS): Define __PIC__ and + __pic__ if PIC. + +2004-11-16 Ulrich Weigand + + * regmove.c (regmove_optimize): Use lowpart_subreg instead of + gen_rtx_SUBREG with incorrect offset to compute SRC_SUBREG. + +2004-11-16 Devang Patel + + * tree-if-conv.c (clean_predicate_lists): Update gcc_assert check. + +2004-11-16 Eric Christopher + + * config/mips/mips.c: Use rtl _P predicates. + * config/mips/mips.h: Ditto. + * config/mips/mips.md: Ditto. + +2004-11-16 Fariborz Jahanian + + * config/rs6000/altivec.md (altivec_vandc): Canonicalize + the pattern. + +2004-11-16 Andreas Krebbel + + * config/s390/s390.c (s390_cc_modes_compatible): New function. + (TARGET_CC_MODES_COMPATIBLE): Target macro defined. + +2004-11-16 Kaz Kojima + + 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 + + * 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 + + * stack.h: Remove. + +2004-11-16 Steven Bosscher + + * config/i386/i386.c (x86_schedule): Fix typo, m_K6 intead of m_K8. + +2004-11-15 Dale Johannesen + + * tree-flow.h (add_referenced_temp_var): Remove name from prototype. + +2004-11-15 Dale Johannesen + + * profile.c (compute_branch_probabilities): Prevent + crash with EH in RTL-based profiling. + +2004-11-16 Kazu Hirata + + * 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 + + * 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 + + * 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 + + PR c/18498 + * c-decl.c (grokdeclarator): Call check_bitfield_type_and_width + after processing the declarator. + +2004-11-15 Aldy Hernandez + + * 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 + + * config/ia64/ia64.md (*movtf_internal): Use destination_operand + instead of nonimmediate_operand. + +2004-11-15 Mark Mitchell + + * 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 + + * config/sol2-c.c (cmn_err_char_table): Add "p". + +2004-11-15 Mark Mitchell + + * config/sparc/sol2.h (SUPPORTS_INIT_PRIORITY): Remove. + * config/sol2.h (SUPPORTS_INIT_PRIORITY): Define here. + +2004-11-15 Mark Mitchell + + * config/t-slibgcc-sld (SHLIB_LINK): Make symlinks entirely + within the multilib directory. + +2004-11-15 Nick Clifton + + * config/stormy16/stormy16.h (TARGET_CPU_CPP_BUILTINS): Add + builtin assert of cpu=xstormy16. + +2004-11-15 Nathan Sidwell + + * tree-ssa-pre.c (bitmap_print_value_set): Fix uninitialized + variable. + +2004-11-14 Richard Henderson + + 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 + + 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 + + * doc/rtl.texi (SUBREG): Adjust BYTENUM value in example. + +2004-11-14 Kazu Hirata + + * cfgrtl.c, global.c, tree-ssa-copy.c, tree-ssa-loop-ivopts.c, + value-prof.c: Fix comment typos. + +2004-11-14 Stan Shebs + + 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 + + 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 + + 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 + Andrew Pinski + + 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 + + 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 + + * Makefile.in (lambda-code.o, tree-loop-linear.o): Depend on + $(EXPR_H). + +2004-11-14 Kazu Hirata + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * config/i386/i386.c (override_options): Move loop to set default + tuning to correct place. + 2004-11-13 Zak Kipling PR target/18300 @@ -25,7 +518,7 @@ 2004-11-13 Kelley Cook - * 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 @@ -111,7 +604,7 @@ * doc/install.texi: Likewise. * doc/makefile.texi: Likewise. * doc/sourcebuild.texi: Likewise. - + 2004-11-13 Kazu Hirata * tree-ssa-loop-manip.c: Fix a comment typo. @@ -156,12 +649,12 @@ 2004-11-12 Devang Patel * optabs.c (vector_compare_rtx): Use COMPARISON_CLASS_P. - + 2004-11-12 Devang Patel * tree-if-conv.c (clean_predicate_lists): Use loop header and latch directly. - + 2004-11-12 Richard Henderson PR 17778 @@ -181,7 +674,7 @@ * 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 @@ -224,7 +717,7 @@ 2004-11-12 Sebastian Pop 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 @@ -288,7 +781,7 @@ 2004-11-11 Sebastian Pop - * 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