X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2FChangeLog;h=2a7ba98e8cad6f9b270abec5f8baa681ab8f3d2a;hp=58488336d3f2d968bb0d434d6592fbbf9fc75234;hb=016dde50b0ad36749b246bdc5eaebd463b991043;hpb=70ac928b289908ea0d3c5a72fcda99afe8f82654 diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 58488336d3f..2a7ba98e8ca 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,375 @@ +2004-05-03 Joe Buck + + * cppfiles.c (pchf_adder): Eliminate use of |= in d->have_once_only + assignment. + +2004-05-03 Eric Christopher + + * config/mips/mips.md: Fix branch length attribute definition. + +2004-05-03 Aldy Hernandez + + * config.gcc: Remove --enable-altivec support. + + * config/rs6000/altivec-defs.h: Remove. + +2004-05-03 Rainer Orth + + * fixinc/inclhack.def (svr4_profil): Don't apply on IRIX 5/6. + * fixinc/fixincl.x: Regenerate. + +2004-05-03 Uros Bizjak + + * config/i386/i386.md (*fyl2x_sfxf3, *fyl2x_dfxf3): Remove insn + definition. + (log?f2, log10?f2, log2?f2): Reimplement expanders with + float_truncate insn. + (*fxtractsf3, *fxtractdf3): Remove insn definition. + (logb?f2): Reimplement expanders with float_truncate insn. + +2004-05-03 Graham Stott + + PR 14718 + * dwarf2out.c (dwarf2out_imported_module_or_decl): Use + force_type_die for CONST_DECL. + +2004-05-03  Eric Botcazou + Rainer Orth   + + * config.gcc (sparc64-*-solaris2*, sparcv9-*-solaris2*): Add + tm-dwarf2.h to tm_file. + (sparc-*-solaris2*): Add tm-dwarf2.h to tm_file for Solaris 7+. + * config/sparc/sol2-bi.h (PREFERRED_DEBUGGING_TYPE): Delete. + (ASM_DEBUG_SPEC): Delete. + +2004-05-03 Uros Bizjak + + * optabs.h (enum optab_index): Add new OTI_expm1. + (expm1_optab): Define corresponding macro. + * optabs.c (init_optabs): Initialize expm1_optab. + * genopinit.c (optabs): Implement expm1_optab using expm1?f2 + patterns. + * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXPM1{,F,L} + using expm1_optab. + (expand_builtin): Expand BUILT_IN_EXPM1{,F,L} using + expand_builtin_mathfn if flag_unsafe_math_optimizations is set. + + * config/i386/i386.md (expm1df2, expm1sf2, expm1xf2): New expanders + to implement expm1, expm1f and expm1l built-ins as inline x87 + intrinsics. + +2004-05-02 Alexandre Oliva + + 2003-11-19 Richard Sandiford + * config/frv/frv.md (*return_true, *return_false): New patterns. + +2004-05-02 Kazu Hirata + + * rtl.h (PHI_NODE_P): Remove. + +2004-05-02 Eric Botcazou + + PR middle-end/14988 + * function.c (assign_stack_local_1): Use BITS_PER_UNIT alignment + when passed -2 as 'align'. + (put_var_into_stack): Use 'bool' as the type for the three local + predicates. Adjust calls to put_reg_into_stack. + When passed a CONCAT, instruct put_reg_into_stack to use + a consecutive stack slot for the second part. + (put_reg_into_stack): Remove 'promoted_mode' parameter, add + 'consecutive_p' parameter. Turn the three predicates into 'bool' + parameters. Retrieve the register mode from 'reg'. + When consecutive_p is true, instruct assign_stack_local_1 to use + BITS_PER_UNIT alignment. + (put_addressof_into_stack): Use 'bool' as the type for the two + local predicates. Adjust call to put_reg_into_stack. + +2004-05-02 Kaveh R. Ghazi + + * fold-const.c (fold_convert_const, fold): Add missing + FIX_ROUND_EXPR case. + +2004-05-02 Alexandre Oliva + + * configure.ac (FLEX, BISON): Only use tools from the build tree + if build equals host. + * configure: Rebuilt. + + * config/frv/frv-protos.h (frv_expand_epilogue, + frv_expand_fdpic_call): Add bool argument. + * config/frv/frv.c (frv_function_ok_for_sibcall): New. + (TARGET_FUNCTION_OK_FOR_SIBCALL): Define to it. + (frv_expand_epilogue): Use new argument to decide whether to emit + return instruction or copy the return address to LR. + (frv_expand_fdpic_call): Inline PLT entry when emitting direct + sibcalls. + (sibcall_operand): New. + * config/frv/frv.h (PREDICATE_CODES): call_operand doesn't match + PLUS nor LABEL_REF. Add sibcall_operand. + * config/frv/frv.md (call, call_value): Pass false to + frv_expand_fdpic_call. + (call_fdpicdi, call_value_fdpicdi): Insert %i0 in calll. + (sibcall, sibcall_internal, sibcall_fdpicdi, sibcall_value, + sibcall_value_internal, sibcall_value_fdpicdi): New. + (return_unsigned_true, return_unsigned_false): New. + (epilogue): Adjust call to frv_expand_epilogue. + (sibcall_epilogue): New. + + * config/frv/frv.h (ASM_SPEC): Pass -mno-fdpic as -mnopic. + (CPP_SPEC, CPP_SIMPLE_SPEC): Undefine __FRV_ACC__ and __FRV_FPR__ + before redefining them. + +2004-05-01 Kaveh R. Ghazi + + * builtins.c (fold_fixed_mathfn): New function. + (fold_builtin_lround, fold_builtin): Use it. + +2004-05-01 Jakub Jelinek + + * config/sparc/linux64.h (TARGET_DEFAULT): Make 64-bit by default + also for TARGET_CPU_DEFAULT == TARGET_CPU_ultrasparc3. + +2004-05-01 Kazu Hirata + + * config/cris/cris.h: Revert my "fix comment typos" patch. + +2004-05-01 Richard Sandiford + + * config/mips/mips.h (TUNE_MACC_CHAINS): Fix comment. + +2004-05-01 Falk Hueffner + + * config/alpha/alpha.md (builtin_insbl, builtin_inswl, + builtin_insll): Disallow 0 as first input operand. + +2004-05-01 Falk Hueffner + + * config/alpha/alpha.c (alpha_rtx_costs): Fix shiftadd costs. + +2004-05-01 Ulrich Weigand + + PR middle-end/15054 + * expr.c (expand_expr_real): Do not call preserve_temp_slots + on a TARGET_EXPR temp. + * function.c (assign_stack_temp_for_type): Set 'keep' flag for + TARGET_EXPR temp slots. + +2004-05-01 Paolo Bonzini + + * simplify-rtx.c (simplify_ternary_operation): When + converting an IF_THEN_ELSE to a relational op, return + correct mode. + +2004-04-30 Kaveh R. Ghazi + + * builtins.c (fold_builtin_round): Fix comment typo. + (fold_builtin_lround): New function. + (fold_builtin): Use it. + +2004-04-20 Andrew Pinski + + PR target/11608 + * config/sh/elf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Update and make it + more like the one in config/dbxelf.h. + +2004-04-30 Zack Weinberg + + * tree.h (SET_ARRAY_OR_VECTOR_CHECK): Rename to SET_OR_ARRAY_CHECK + and adjust definition accordingly. + (TYPE_DOMAIN): Allow only SET_TYPE and ARRAY_TYPE. + (TYPE_DEBUG_REPRESENTATION_TYPE): Allow only VECTOR_TYPE. + * expr.c (store_constructor): Do not access TYPE_DOMAIN of a + VECTOR_TYPE. + +2004-04-30 Jason Merrill + + PR c++/14587 + * config/i386/winnt.c (associated_type): Look for attributes on + the TYPE_MAIN_VARIANT of *this. + * attribs.c (decl_attributes): If ATTR_FLAG_TYPE_IN_PLACE, also + apply the attributes to the variants. + +2004-04-30 Paul Brook + + * config.gcc: Simplify arm --with-{cpu,tune} test. + * config/arm/arm-cores.def: Document whitespace restrictions. + +2004-04-30 Rainer Orth + + PR other/1963 + * config/alpha/osf.h (SWITCHES_NEED_SPACES): Define. + +2004-04-30 Brian Ford + DJ Delorie + + * config/i386/cygming.h [HAVE_GAS_PE_SECREL32_RELOC] + (DWARF2_DEBUGGING_INFO): Define to enable. + (DBX_REGISTER_NUMBER): Define to use the svr4 register map for + DWARF2. + * configure.ac (Target-specific assembler checks) + : New test for .secrel32 + relocs. + * configure: Regenerate. + * config.in: Likewise. + + * config/i386/cygming.h [HAVE_GAS_PE_SECREL32_RELOC] + (ASM_OUPUT_DWARF_OFFSET): Define. + +2004-04-29 Andreas Krebbel + + * config/s390/s390-protos.h (s390_emit_epilogue): Parameter added. + (s390_emit_call): New function prototype added. + (s390_tls_get_offset): Function removed. + * config/s390/s390.c (s390_function_ok_for_sibcall, + s390_call_saved_register_used_p): New functions. + (TARGET_FUNCTION_OK_FOR_SIBCALL): Definition of target macro added. + (s390_tls_get_offset): Function merged into s390_emit_tls_call_insn. + (s390_emit_tls_call_insn): New function. + (legitimize_tls_address): Call s390_emit_tls_call_insn instead of + emit_call_insn. + (s390_emit_prologue): Use s390_emit_call instead of emit_call_insn. + (s390_emit_epilogue): Like s390_emit_prologue. Parameter for sibcalls + added. + * config/s390/s390.h (SIBCALL_REGNUM): New macro representing the + register number used to hold the target address for sibcalls. + * config/s390/s390.md ("sibcall", "sibcall_value", "sibcall_epilogue"): + New expanders. + ("*sibcall_br", "*sibcall_brc", "*sibcall_brcl", "*sibcall_value_br", + "*sibcall_value_brc", "*sibcall_value_brcl"): New insns. + ("call_exp", "call_value_exp", "call_value_tls", "call_value_tls_exp"): + Expanders removed. + ("call", "call_value"): Call s390_emit_call to emit the call patterns. + ("*bras", "*brasl", "*bras_r", "*brasl_r", "*bras_tls", "*brasl_tls", + "*basr", "*basr_r", "*basr_tls"): Added constraint: !SIBLING_CALL_P. + ("epilogue"): Changed the call to s390_emit_epilogue to use the + new parameter. + +2004-04-30 Kazu Hirata + + * bb-reorder.c, c-opts.c, cfglayout.c, cgraph.c, cgraphunit.c, + cppfiles.c, fold-const.c, ggc-zone.c, loop-doloop.c, optabs.c, + reg-stack.c, varasm.c, config/alpha/ev4.md, + config/alpha/ev5.md, config/alpha/ev6.md, config/arm/arm.c, + config/c4x/c4x.c, config/c4x/c4x.md, config/cris/cris.c, + config/cris/cris.h, config/fr30/fr30.h, config/frv/frv.c, + config/frv/frv.h, config/frv/frv.md, config/h8300/h8300.c, + config/i386/i386.c, config/i386/i386.md, config/i386/winnt.c, + config/ia64/itanium2.md, config/ip2k/ip2k.c, + config/mips/mips.c, config/mips/mips.h, config/mips/sr71k.md, + config/pa/pa.c, config/s390/s390.c, config/sh/sh.c: Fix + comment typos. + +2004-04-30 Paul Brook + + * config.gcc: Default ep9312 to hard-float. + * config/arm/arm-cores.def: Add ARCH field. + * config/arm/arm.c (FL_FOR_ARCH*): Define. + (arm_arch_cirrus): New variable. + (all_cores): Set and use arch. + (all_architectures): Ditto. + (arm_arch_name): New variable. + (arm_override_options): Set it. Use [SUB]TARGET_CPU_DEFAULT. + Set and use arm_arch_cirrus. + * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Set arch defines. + (enum processor_type): Update ARM_CORE define. + (enum target_cpus): Add. Replaces TARGET_CPU_* defines. + (CPP_SPEC): Remove %(cpp_cpu_arch). + (CPP_ARCH_DEFAULT_SPEC): Remove. + (CPP_CPU_ARCH_SPEC): Remove. + (EXTRA_SPECS): Don't use CPP_*ARCH*_SPEC. + (FPUTYPE_DEFAULT): Don't define here. + +2004-04-30 J"orn Rennecke + + * flow.c (propagate_one_insn): Call mark_set_regs for stack pointer + updates too. + +2004-04-30 Paul Brook + + * arm.c (arm_needs_doubleword_align): Use mode alignment. + +2004-04-30 Paolo Bonzini + + * config/altivec/altivec.h [__cplusplus] (vec_subsubs): Rename to + vec_sububs. + [__cplusplus] (vec_subsuhs): Rename to vec_subuhs, without + duplicates. + +2004-04-30 Uros Bizjak + + * config/i386/i386.md (atansf2, atandf2, atanxf2): Move near + atan2?f3 expanders. + +2004-04-29 Nick Clifton + + Bug 14093 + * config/sh/sh-protos.h (sh_promote_prototypes): Declare. + * config/sh/sh.c (sh_promote_prototypes): Remove declaration. + Delete static from definition. + * config/sh/sh.h (FUNCTION_VALUE): Add sh_promote_prototypes call. + +2004-04-30 Uros Bizjak + + * reg-stack.c (subst_stack_regs_pat): : abort() if src1 dies. + : Same. + : Same. + +2004-04-29 Richard Guenther + + * commom.opt (Wfatal-errors): Add it. + * diagnostic.c (flag_fatal_errors): Define it. + (diagnostic_action_after_output): Check for flag_fatal_errors. + * flags.h (flag_fatal_errors): Declare it. + * opts.c (common_handle_option): Add OPT_Wfatal_errors. + * doc/invoke.texi (Warning Options): Document -Wfatal-errors. + +2004-04-30 Josef Zlomek + + * gcse.c (remove_reachable_equiv_notes): Delete notes also in + blocks which have kill flag set. + +2004-04-29 Ben Elliston + + * configure.ac (--with-as): Abort if user-supplied assembler + cannot be executed. + (--with-ld): Likewise for the linker. + * configure: Regenerate. + +2004-04-29 Kaveh R. Ghazi + + * convert.c (convert_to_integer): Ensure `long_integer_type_node' + isn't NULL before using it. + +2004-04-29 Richard Sandiford + + PR target/15189 + * config/mips/mips.md (load_df_low): Use default length. + (load_df_high, store_df_high): Likewise. + +2004-04-29 Kazu Hirata + + * config/mips/mips.md, config/mips/sb1.md, + config/rs6000/rs6000.c: Fix comment typos. + +2004-04-29 Kazu Hirata + + * builtins.c, cgraph.c, cgraphunit.c, final.c, fold-const.c: + Fix comment typos. + +2004-04-29 Douglas B Rupp + + * gcc.c (DELETE_IF_ORDINARY): New macro default definition. + (delete_if_ordinary): Use above macro. + * config/alpha/xm-vms.h (DELETE_IF_ORDINARY): New macro VMS definition. + Update copyright. + * doc/hostconfig.texi (DELETE_IF_ORDINARY): Document new macro. + +2004-04-29 Richard Earnshaw + + * c-decl.c (get_parm_info): Use the correct tag keywords when + warning about type declarations in prototypes. + 2004-04-29 Paul Brook * config.gcc: Pull list of cores from arm-cores.def. @@ -7,6 +379,9 @@ * combine.c (combine_simplify_rtx): Adjust call to use simplify_relational_operation. Do not use SELECT_CC_MODE when a comparison already has a MODE_CC mode. + +2004-04-29 Paolo Bonzini + (simplify_set): simplify_relational_operation may now return another relational expression. * cse.c (fold_rtx): simplify_relational_operation now @@ -23,7 +398,7 @@ (simplify_relational_operation_1): New function. (simplify_ternary_operation): simplify_relational_operation may now return another relational expression. - (simplify_rtx): Remove unnecessary temp variable. + (simplify_rtx): Remove unnecessary temp variable. 2004-04-29 Uros Bizjak @@ -31,7 +406,7 @@ (subst_stack_regs_pat): UNSPEC_FPATAN, UNSPEC_FYL2X: Use swap_to_top(). (subst_stack_regs_pat): UNSPEC_FSCALE: Remove. - (subst_stack_regs_pat): Handle UNSPEC_FSCALE_FRACT and + (subst_stack_regs_pat): Handle UNSPEC_FSCALE_FRACT and UNSPEC_FSCALE_EXP. * config/i386/i386.md (UNSPEC_FSCALE): Remove. @@ -97,7 +472,7 @@ 2004-04-28 Ulrich Weigand - * gcse.c (find_moveable_store): Do not accept store insns with + * gcse.c (find_moveable_store): Do not accept store insns with REG_EH_REGION note. 2004-04-28 Paul Brook @@ -131,7 +506,7 @@ callers. (multiple_reg_loc_descriptor, reg_loc_descriptor): Use gcc register number for indexing hard_regno_nregs array. - + 2004-04-27 Geoffrey Keating * config/darwin.h (STARTFILE_SPEC): Use %s to find crt2.o.