X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2FChangeLog;h=876aad467c9c49dbefe0427050bff4efe748096b;hp=2913509155fb4708f7856c0f5d75dfafb8d44d64;hb=40f4dbd544658572dd5e4693476ddbbe29d9917b;hpb=b569c6768ab6203dbb520e122065ee671abcf299 diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2913509155f..876aad467c9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,279 @@ +2004-10-08 Joseph S. Myers + + * c-lex.c (interpret_float): Give a pedwarn rather than a warning + for an out-of-range floating point constant. + * builtins.c (fold_builtin_inf): Give a pedwarn rather than a + warning if the target format does not support infinities. + +2004-10-08 Kazu Hirata + + * emit-rtl.c (last_label_num, base_label_num): Remove. + (max_label_num): Always return label_num. + (set_new_last_label_num, restore_emit_status): Remove. + (init_emit): Don't initialize last_label_num. + * function.c (pop_function_context_from): Don't call + restore_emit_status. + * function.h: Remove the prototype for restore_emit_status. + * rtl.h: Remove the prototype for set_new_last_label_num. + +2004-10-08 Kazu Hirata + + * stmt.c (expand_decl_init): Remove. + * tree.h: Remove the corresponding prototype. + +2004-10-08 Kazu Hirata + + * integrate.c (try_constants, subst_constants, mark_stores): + Remove. + * integrate.h: Remove the prototype for try_constants. + +2004-10-08 Joseph S. Myers + + * c-typeck.c (enum impl_conv): Add ic_argpass_nonproto. + (convert_for_assignment): Handle ic_argpass_nonproto. Add + comments about its relevance to errors. + (c_convert_parm_for_inlining): Use ic_argpass_nonproto. + +2004-10-08 Andrew Pinski + + PR c/16999 + * c-ppoutput.c (cb_ident): Don't quote string as it is already + quoted. + +2004-10-08 Diego Novillo + + * tree-ssa-pre.c (init_pre): Use size of ARRAY_REF to allocate + reference_node_pool. + +2004-10-08 Kazu Hirata + + * tree-cfg.c: Fix a comment typo. + +2004-10-08 Andreas Krebbel + + * config/s390/s390.c (s390_register_info): Don't save fprs for + -msoft-float. + (s390_conditional_register_usage): Make fprs 'fixed' for -msoft-float. + +2004-10-08 Ulrich Weigand + + * config/s390/s390.h (TARGET_DEFAULT_BACKCHAIN): New define. + (TARGET_DEFAULT): Use symbolic values. + * config/s390/tpf.h (TARGET_DEFAULT_BACKCHAIN): Redefine. + (TARGET_DEFAULT): Use symbolic values. + * config/s390/s390.c (s390_backchain_string): Initialize to + TARGET_DEFAULT_BACKCHAIN. + +2004-10-08 Kaveh R. Ghazi + + * builtins.c (expand_builtin_mempcpy): Move tree handling code to + fold_builtin_mempcpy. Accept a type parameter. Delete duplicate + code. + (expand_builtin_strcat): Accept a type parameter. + (fold_builtin_mempcpy): Accept a type and endp parameter. + + * builtins.c (expand_builtin_strncpy): Delete duplicate code. + Accept an `exp' instead of an `arglist'. + +2004-10-08 Nathan Sidwell + + * tree-tailcall.c (tree_optimize_tail_calls_1): Use fold_convert, + reverting my 2004-09-07 patch to use build_int_cst. + +2004-10-08 Eric Botcazou + + PR target/17245 + * config/sparc/sparc.c (input_operand): Remove redundant code + for handling LO_SUM. + (legitimate_address_p) : Do not recheck TARGET_V9. + : If LO_SUM is offsettable, accept it for TFmode on V9. + Otherwise only accept it for TFmode if quad move insns are available. + +2004-10-08 Kazu Hirata + + * tree-cfg.c (tree_forwarder_block_p): Reorder checks so that + common cases will be caught earlier than others. + +2004-10-08 Michael Matz + + * loop-doloop.c (doloop_optimize): Extend count. + +2004-10-08 Kaz Kojima + + * config/sh/sh.md (prefetch_media, prefetch_i4): New insns. + (prefetch): Convert to expander. + +2004-10-08 Kaz Kojima + + * config/sh/sh.md (tls_global_dynamic): Use MEM pattern for the + first argument of CALL. + (tls_local_dynamic): Likewise. + +2004-10-08 Joseph S. Myers + + * c-typeck.c (enum impl_conv): New. + (convert_for_assignment): Use it. Take tree for function called + instead of its name. Handle ObjC selectors for diagnostics at + start of function. Select diagnostic text within the function + using full sentences for diagnsotics. Use %qE to name functions + in diagnostics. + (convert_arguments, build_modify_expr, + c_convert_parm_for_inlining, digest_init, c_finish_return): Update + callers to convert_for_assignment. + (warn_for_assignment): Remove. + +2004-10-08 Nick Clifton + + * config/sh/symbian.c (symbian_possibly_export_base_class): + Replace use of deleted TYPE_USES_VIRTUAL_BASECLASSES macro with + TYPE_CONTAINS_VPTR_P. + +2004-10-08 Kazuhiro Inaoka + + * config/m32r/m32r.h (CONDITIONAL_REGISTER_USAGE): Don't exclude + fixed registers form all_used_regs. Update call_really_used_regs. + (CALL_REALLY_USED_REGISTERS): Define. + * config/m32r/m32r.c (MUST_SAVE_REGISTER): Replace call_used_regs + with call_really_used_regs. + +2004-10-08 Alan Modra + + * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Choose gcrt1.o + for -profile as well as -p and -pg. + +2004-10-07 Andrew Pinski + + * libgcc2.c (__moddi3): Cast &w to UDWtype*. + +2004-10-07 Kazu Hirata + + * tree-cfg.c (tree_block_forwards_to): Remove. + * tree-flow.h: Remove the corresponding prototype. + +2004-10-07 Kazu Hirata + + * tree-flow-inline.h (phi_nodes): Remove an unnecessary check + for ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR. + +2004-10-07 Geoffrey Keating + + Radar 3813796 + * config/rs6000/rs6000.c (rs6000_generate_compare): When + flag_trapping_math is in effect, don't generate subtract + instructions. + +2004-10-07 Ulrich Weigand + + * config/s390/s390-protos.h (s390_narrow_logical_operator): Add. + * config/s390/s390.c (s390_narrow_logical_operator): New function. + (s390_extra_constraint_str): Add 'A' constraints. + (s390_const_ok_for_constraint_p): Add 'Nx' constraints. + * config/s390/s390.h (EXTRA_MEMORY_CONSTRAINT): Add 'A' constraint. + (CONSTRAINT_LEN): Likewise. + * config/s390/s390.md ("*anddi3"): Add NI alternative and splitter. + ("*andsi3_zarch", "*andsi3_esa"): Likewise. + ("*andhi3_zarch", "*andhi3_esa"): Likewise. + ("*iordi3"): Add OI alternative and splitter. + ("*iorsi3_zarch", "*iorsi3_esa"): Likewise. + ("*iorhi3_zarch", "*iorhi3_esa"): Likewise. + ("*xordi3"): Add XI alternative and splitter. + ("*xorsi3", "*xorhi3"): Likewise. + +2004-10-07 Richard Sandiford + + * config/mips/mips.c (mips_function_rodata_section): New function. + (TARGET_ASM_FUNCTION_RODATA_SECTION): Use it. + +2004-10-07 Devang Patel + + * rs6000/altivec.md (UNSPEC_VCMPBFP, UNSPEC_VCMPEQUB, UNSPEC_VCMPEQUH, + UNSPEC_VCMPEQUW, UNSPEC_VCMPGEFP, UNSPEC_VCMPGTUB, UNSPEC_VCMPGTSB, + UNSPEC_VCMPGTUH, UNSPEC_VCMPGTSH, UNSPEC_VCMPGTUW, UNSPEC_VCMPGTSW, + UNSPEC_VCMPGTFP, UNSPEC_VSEL4SI, UNSPEC_VSEL4SF, UNSPEC_VSEL8HI, + UNSPEC_VSEL16QI, UNSPEC_VCOND_V4SI, UNSPEC_VCOND_V4SF, UNSPEC_VCOND_V8HI, + UNSPEC_VCOND_V16QI, UNSPEC_VCONDU_V4SI, UNSPEC_VCONDU_V8HI, + UNSPEC_VCONDU_V16QI): New constant defines. + (vcondv4si, vcondv4sf, vcondv8hi, vcondv16qi, vconduv4si, vconduv8hi, + vconduv16qi): New patterns. + * rs6000/rs6000-protos.h (rs6000_emit_vector_cond_expr): New function. + * rs6000/rs6000.c (rs6000_emit_vector_cond_expr): New function. + (get_vec_cmp_insn): Same. + (get_vsel_insn): Same. + (rs6000_emit_vector_compare): Same. + (rs6000_emit_vector_select): Same. + (INSN_NOT_AVAILABLE): New. + +2004-10-07 Zdenek Dvorak + + PR tree-optimization/17749 + * tree-tailcall.c (find_tail_calls): Check that parameter is + a gimple_reg. + +2004-10-07 Kazu Hirata + + * config/ia64/ia64.c: Fix a comment typo. + +2004-10-07 Eric Botcazou + + * doc/install.texi (*-*-solaris2*): Fix marker for URL. + +2004-10-07 Giovanni Bajo + + PR c++/17115 + * tree-inline.c (expand_call_inline): Do not warn for functions + marked with attribute noinline. + +2004-10-07 Eric Botcazou + + PR target/17862 + * config/sparc/sparc.c (sparc_output_mi_thunk): Set + current_function_uses_only_leaf_regs as well as sparc_leaf_function_p. + + * config/sparc/sparc.c (sparc_gimplify_va_arg): Pass 'false' instead + of 0 as 4th argument to pass_by_reference. + Call build_va_arg_indirect_ref instead of build_fold_indirect_ref. + +2004-10-06 Eric Christopher + + * config/sh/sh.c (sh_dwarf_calling_convention): Fix renesas dwarf + attribute. + +2004-10-07 Richard Sandiford + + PR target/17770 + * config/mips/mips.md (mov_l): Remove hazard=none attribute. + +2004-10-07 Zdenek Dvorak + + PR rtl-optimization/17791 + * loop-doloop.c (doloop_modify): Take number of iterations as + argument. + (doloop_optimize): Extend or shorten the number of iterations + when changing mode of counter register. + * loop-iv.c (lowpart_subreg): Export. + * rtl.h (lowpart_subreg): Declare. + +2004-10-07 Zdenek Dvorak + + PR tree-optimization/17806 + * cfghooks.c (split_edge): Update IRREDUCIBLE_LOOP flags. + * cfgloopmanip.c (loop_split_edge_with): Updating of IRREDUCIBLE_LOOP + flags moved to split_edge. + +2004-10-07 Eric Botcazou + + PR middle-end/17835 + * expmed.c (expand_sdiv_pow2): Force a stack adjustment + before tentatively building the conditional move sequence. + +2004-10-07 Richard Sandiford + + PR target/16815 + * function.c (assign_parm_setup_block_p): Tighten BLOCK_REG_PADDING + check. + * config/pa/pa.h (BLOCK_REG_PADDING): Define in terms of + function_arg_padding. + 2004-10-07 Richard Sandiford PR bootstrap/17857 @@ -308,67 +584,6 @@ 2004-10-04 Sebastian Pop - * Makefile.in (tree-ssa-loop-niter.o): Depends on tree-data-ref.h. - * cfgloop.c (initialize_loops_parallel_p): New. - (flow_loops_find): Initialize the parallel_p field to true for all - the loops. - * tree-ssa-loop-niter.c: Include "tree-data-ref.h". - (estimate_numbers_of_iterations_loop): Infers the loop bounds from - the size of the data accessed in the loop. - (struct nb_iter_bound): Moved... - * cfgloop.h (struct nb_iter_bound): ... here. - (estimated_nb_iterations, parallel_p): New fields in struct loop. - (record_estimate): Declare extern here. - * tree-chrec.c: Fix comments. - (nb_vars_in_chrec): New function. - * tree-chrec.h (nb_vars_in_chrec): Declared here. - * tree-data-ref.c: Don't include lambda.h, that is already included - in tree-data-ref.h. - (tree_fold_divides_p): Don't check for integer_onep. - (tree_fold_bezout): Removed. - (gcd): New static duplicated function. - (int_divides_p, dump_subscript): New. - (dump_data_dependence_relation): Use dump_subscript. - (dump_dist_dir_vectors, dump_ddrs, compute_estimated_nb_iterations, - estimate_niter_from_size_of_data): New. - (analyze_array_indexes, analyze_array): Call - estimate_niter_from_size_of_data during the detection of array - references. Pass in a pointer to the statement that contains the - array reference. - (all_chrecs_equal_p): New. - (compute_distance_vector): Renamed compute_subscript_distance. - Deal with multivariate conflict functions. - (initialize_data_dependence_relation): Initialize DDR_AFFINE_P, - DDR_SIZE_VECT, DDR_DIST_VECT, and DDR_DIR_VECT. - (non_affine_dependence_relation): New. - (analyze_ziv_subscript, analyze_siv_subscript_cst_affine, - analyze_siv_subscript, analyze_miv_subscript, - analyze_overlapping_iterations, subscript_dependence_tester): - Initialize and return last_conflicts function. - (initialize_matrix_A, FLOOR, compute_overlap_steps_for_affine_univar, - compute_overlap_steps_for_affine_1_2): New. - (analyze_siv_subscript_affine_cst): Removed. - (analyze_subscript_affine_affine): Disprove dependences based on the - iteration domains. Solve the univariate dependence case as before, - but use lambda_matrix_right_hermite instead of tree_fold_bezout. - Implement the multivariate case of 2 versus 1 variables. - (undetermined_conflicts_p, no_conflicts_p): New. - (build_classic_dist_vector, build_classic_dir_vector): Implement some - unhandled cases. - (find_data_references_in_loop): Compute and initialize - loop->estimated_nb_iterations and loop->parallel_p. - (analyze_all_data_dependences): Modify the debug dump order. - * tree-data-ref.h (SUB_LAST_CONFLICT_IN_A, SUB_LAST_CONFLICT_IN_B, - subscript->last_conflict_in_a, subscript->last_conflict_in_b): Removed. - (SUB_LAST_CONFLICT, subscript->last_conflict, - data_dependence_relation->affine_p, data_dependence_relation->size_vect, - DDR_AFFINE_P, DDR_SIZE_VECT): New. - (find_data_references_in_loop, initialize_data_dependence_relation, - dump_subscript, dump_ddrs, dump_dist_dir_vectors): Declared here. - - -2004-10-04 Sebastian Pop - * tree-data-ref.c (array_base_name_differ_p): Fix comments. When the predicate cannot be computed, don't initialize the result to false.