X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2FChangeLog;h=e4af96d6371acb18138727a05bf0878068179fd8;hb=6aee6ac84bd42d1bdcc717474e4da612bc40672a;hp=d3dfe7ad70f2aca694cc883605309a3c95931fd3;hpb=0e41e6378d75dcff762dee5fa036ffa31a773acb;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d3dfe7ad70f..e4af96d6371 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,563 @@ +2008-02-23 Francois-Xavier Coudert + + PR target/25477 + * config/darwin-protos.h: Add darwin_patch_builtins prototype. + * config/darwin-ppc-ldouble-patch.def: New file. + * config/rs6000/darwin.h (SUBTARGET_INIT_BUILTINS): New macro. + * config/rs6000/rs6000.c (rs6000_init_builtins): Call + SUBTARGET_INIT_BUILTINS if defined. + * config/darwin.c (darwin_patch_builtin, + darwin_patch_builtins): New functions. + +2008-02-23 Andrew Pinski + + PR rtl-opt/33512 + * simplify-rtx.c (simplify_binary_operation_1): Add simplification + of (and X (ior (not X) Y) and (and (ior (not X) Y) X). + +2008-02-23 Andrew Pinski + + PR pch/35027 + * c-pch.c (c_common_valid_pch): Make the "too short to be a PCH + file" warning condtional on -Winvalid-PCH. + +2008-02-23 Daniel Jacobowitz + + * expmed.c (extract_bit_field): Always use adjust_address for MEM. + +2008-02-23 Uros Bizjak + + PR target/22076 + PR target/34256 + * config/i386/mmx.md (*mov_internal_rex64): Use "!y" to + prevent reload from using MMX registers. + (*mov_internal): Ditto. + (*movv2sf_internal_rex64): Ditto. + (*movv2sf_internal): Ditto. + +2008-02-23 Ralf Wildenhues + + PR documentation/31569 + * doc/install.texi2html: Use makeinfo --no-number-sections. + +2008-02-22 Nathan Froyd + + * config/rs6000/rs6000.c (rs6000_legitimize_address): Check to + ensure that we can address an entire entity > 8 bytes. Don't + generate reg+reg addressing for such data. + +2008-02-22 Nathan Froyd + + * config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Don't overalign + strings when optimizing for size, unless the target cares about + alignment. + +2008-02-22 Tom Tromey + + * regclass.c (current_pass): Remove declaration. + +2008-02-22 Anatoly Sokolov + + * config/avr/libgcc.S (__RAMPZ__): Define. + (__do_copy_data): Add for devices with 128KB code memory. + +2008-02-22 Nathan Froyd + + * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): + Use spe_abi. + * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Likewise. + +2008-02-22 Hans-Peter Nilsson + + * config/cris/cris.h (REG_CLASS_FROM_LETTER): Recognize 'b' for + GENNONACR_REGS. + +2008-02-22 Ralf Wildenhues + + PR c/19999 + * c-typeck.c (build_binary_op): Warn about floating point + comparisons if FLOAT_TYPE_P, not only for REAL_TYPE. + +2008-02-21 Janis Johnson + + PR target/34526 + * config/rs6000/rs6000.c (rs6000_altivec_abi): Clarify comment. + (rs6000_explicit_options): Split abi into spe_abi and altivec_abi, + add vrsave. + (rs6000_override_options): Set altivec_abi as default, not override, + for 64-bit GNU/Linux; for 32-bit GNU/Linux default to altivec_abi for + TARGET_ALTIVEC; default to TARGET_ALTIVEC_VRSAVE when AltiVec ABI + is used; use new member spe_abi. + (rs6000_handle_option): Set rs6000_explicit_options.vrsave; use + spe_abi and altivec_abi. + +2008-02-22 Tomas Bily + + * tree-vectorizer.c (vect_is_simple_reduction): Fix comment typo. + +2008-02-21 Ralf Wildenhues + + PR bootstrap/35273 + * config.build (build_file_translate): Set to `CMD //c' only if + it works. + * Makefile.in (build_file_translate): Improve comment. + +2008-02-21 Jan Hubicka + + * predict.def (PRED_TREE_OPCODE_POSITIVE, PRED_TREE_OPCODE_NONEQUAL, + PRED_TREE_OPCODE_POSITIVE, PRED_TREE_OPCODE_NONEQUAL, PRED_CALL, + PRED_TREE_EARLY_RETURN, PRED_NULL_RETURN): Update. + +2008-02-21 Michael Matz + + PR target/35264 + * config/i386/i386.c (ix86_expand_branch): Add missing breaks. + +2008-02-21 Uros Bizjak + + * config/i386/i386.md (movcc): Macroize expander from movsfcc, + movdfcc and movxfcc using X87MODEF mode iterator and SSE_FLOAT_MODE_P + as insn constraint. + * config/i386/sse.md (_movup): Macroize insn + from sse_movups adn sse2_movupd using SSEMODEF2P mode iterator and + SSE_VEC_FLOAT_MODE_P as insn constraint. + (_movmskp): Ditto from similar patterns. + (sse4a_movnt): Macroize insn from sse4a_movntsf and + sse4a_movntdf using MODEF mode iterator. + (sse4a_vmmovnt): Macroize insn form sse4a_vmmovntv2df and + sse4a_vmmovntv4sf using SSEMODEF2P mode iterator. + (sse4_1_blendp): Ditto from similar patterns. + (sse4_1_blendvp): Ditto. + (sse4_1_dpp): Ditto. + (sse4_1_roundp): Ditto. + (sse4_1_rounds): Ditto. + +2008-02-21 Richard Guenther + + * tree.def (PAREN_EXPR): New tree code. + * fold-const.c (fold_unary): Remove PAREN_EXPR around constants + and PAREN_EXPR. + * tree-pretty-print.c (dump_generic_node): Handle PAREN_EXPR. + * expr.c (expand_expr_real_1): Likewise. + * tree-inline.c (estimate_num_insns_1): Likewise. + * tree-complex.c (expand_complex_move): Likewise. + * tree-vectorizer.c (vect_is_simple_use): Treat PAREN_EXPR (x) + as plain x. + +2008-02-20 Kaz Kojima + + PR target/35225 + * config/sh/sh.c (find_barrier): Don't go past 'from' argument. + +2008-02-20 Kaz Kojima + + PR target/35190 + * config/sh/sh.md (jump_compact): Disable for crossing jumps. + + * config/sh/sh.c (find_barrier): Don't go past + NOTE_INSN_SWITCH_TEXT_SECTIONS note. + +2008-02-20 DJ Delorie + + * config/h8300/h8300.md (insv): Force source operand to be a register. + + * config/h8300/h8300.c (h8300_expand_epilogue): Emit return insn + as a jump, not as a plain insn. + +2008-02-20 Seongbae Park + + * doc/invoke.texi (Warning Options): Add new option + -Wframe-larger-than=. + (-Wframe-larger-than): Document. + + * flags.h (warn_frame_larger_than, frame_larger_than_size): + Add declarations for new option variables. + + * final.c (final_start_function): Check the frame size + before emission and issue a Wframe-larger-than warning. + + * opts.c (warn_frame_larger_than, frame_larger_than_size): + Add definitions for new option variables. + (common_handle_option): Handle new option OPT_Wframe_larger_than_. + + * common.opt (Wframe-larger-than=): New option. + +2008-02-20 Uros Bizjak + + * config/i386/sse.md (_vmmul3): Fix typo in asm template. + (_div3): Ditto. + (_vmdiv3): Ditto. + (_vmsqrt2): Ditto. + (*smax3): Ditto. + (sse5_frcz2): Ditto. + (sse5_vmfrcz2): Ditto. Use TARGET_SSE5 instead of TARGET_ROUND + as insn constraint. + +2008-02-20 Richard Guenther + + PR middle-end/35265 + * builtins.c (validate_arg): If we want an INTEGER_TYPE, + be happy with INTEGRAL_TYPE_P. + +2008-02-20 Richard Guenther + + * fold-const.c (split_tree): Associate floatig-point expressions + if flag_associative_math is set. + +2008-02-20 Richard Guenther + + * tree.h (fold_real_zero_addition_p): Declare. + * fold-const.c (fold_real_zero_addition_p): Export. + * tree-ssa-reassoc.c (eliminate_using_constants): Also handle + floating-point operations with zero and one. + +2008-02-20 Paolo Bonzini + + * doc/install.texi: Correct references to CFLAGS, replacing them + with BOOT_CFLAGS. Document flags used during bootstrap for + target libraries. + +2008-02-20 Uros Bizjak + + * config/i386/i386.h (SSE_VEC_FLOAT_MODE_P): New define. + * config/i386/i386.md (*sse_setcc): Macroize from *sse_setccsf + and *sse_setccdf using MODEF mode iterator and SSE_FLOAT_MODE_P as + insn constraint. + (smin3): Ditto from similar patterns. + (smax3): Ditto. + (*ieee_smin3): Ditto. + (*ieee_smax3): Ditto. + * config/i386/sse.md (sse): New mode attribute. + (mov): Macroize expander from movv4sf and movv2df using + SSEMODEF2P mode iterator. + (_movnt): Ditto from similar patterns. Use + SSE_VEC_FLOAT_MODE_P as insn constraint. + (storent): Ditto. + (storent): Macroize expander from storentsf and storentdf using + MODEF mode iterator. + (neg2): Macroize from negv4sf2 and negv2df2 using SSEMODEF2P + mode iterator and SSE_VEC_FLOAT_MODE_P as insn constraint. + (abs2): Ditto from similar patterns. + (add3, *add3, _vmadd3): Ditto. + (sub3, *sub3, _vmsub3): Ditto. + (_div3, _vmdiv3): Ditto. + (_vmsqrt2): Ditto. + (smin3, *smin3_finite, *smin3) + (_vmsmin3, *ieee_smin3): Ditto. + (smax3, *smax3_finite, *smax3) + (_vmsmax3, *ieee_smax3): Ditto. + (_maskcmp3): Macroize from sse_maskcmpv4sf3, + sse_maskcmpsf3, sse2_maskcmpv2df3 and sse2_maskcmpdf3 using SSEMODEF4 + mode iterator. Use SSE_FLOAT_MODE_P with SSE_VEC_FLOAT_MODE_P as + insn constraint. + (_comi): Macroize from sse_comi and sse2_comi using MODEF mode + iterator and SSE_FLOAT_MODE_P as insn constraint. + (_ucomi): Ditto from similar patterns. + (_vmmaskcmp3): Macroize from sse_vmmaskcmpv4sf3 and + sse2_vmmaskcmpv2df3 using SSEMODEF2P mode iterator and + SSE_VEC_FLOAT_MODE_P as insn constraint. + (vcond): Ditto from similar patterns. + (and3, *and3): Ditto. + (_nand3): Ditto. + (ior3, *ior3): Ditto. + (xor3, *xor3): Ditto. + (*and3): Macroize from *andsf3 and *anddf3 using MODEF mode + iterator and SSE_FLOAT_MODE_P as insn constraint. + (*nand3): Ditto from similar patterns. + (*ior3): Ditto. + (*xor3): Ditto. + +2008-02-20 Ira Rosen + + * config/spu/spu.md (vec_unpacku_hi_v8hi, vec_unpacku_lo_v8hi, + vec_unpacks_hi_v8hi, vec_unpacks_lo_v8hi, vec_unpacku_hi_v16qi, + vec_unpacku_lo_v16qi, vec_unpacks_lo_v16qi): Implement. + +2008-02-19 Jan Hubicka + + * predict.c (tree_bb_level_predictions): Remove variable next + mistakely introduced by previous commit. + +2008-02-19 Jan Hubicka + + * predict.c (predict_paths_leading_to): Rewrite. + (predict_paths_for_bb): New. + (tree_bb_level_predictions): Update call of predict_paths_leading_to. + +2008-02-19 Ralf Wildenhues + + PR bootstrap/35218 + * Makefile.in (build_file_translate): New. + (gcc-vers.texi): Use it for translating $(abs_srcdir). + * config.build (build_file_translate): Set to `CMD //c' on MinGW. + * configure.ac (build_file_translate): Substitute it. + * configure: Regenerate. + +2008-02-19 Jan Hubicka + + PR rtl-optimization/34408 + * see.c (see_def_extension_not_merged): Copy subreg so we don't have + invalid sharing. + +2008-02-19 Jan Hubicka + + PR middle-end/28779 + * tree-inline.c (estimate_num_insns_1): Fix counting of cost of + call_expr. + +2008-02-19 H.J. Lu + + PR Ada/35186 + * config/i386/i386-modes.def: Revert the last DI alignment + change until Ada people can look into it. + +2008-02-19 Nick Clifton + + * opts.c (print_specific_help): Fix typo in --help text. + +2008-02-19 Jakub Jelinek + + PR target/35239 + * config/i386/cpuid.h (__cpuid, __get_cpuid_max): Use special + 32-bit inline asm without asm alternatives for host GCC < 3.0. + +2008-02-19 Richard Guenther + + PR tree-optimization/34989 + * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Re-structure. + Allow propagation to INDIRECT_REF if we can simplify only. + +2008-02-19 Manuel Lopez-Ibanez + + * c-common.c (warn_for_collisions_1): Use appropriate option when + warning. + +2008-02-19 Nick Clifton + + PR other/31349 + * opts.c (undocumented_msg): Leave blank unless checking is enabled. + (handle_options): Fix indentation. + (print_filtered_help): If no language-specific options were + displayed tell the user how to list all the options supported by + the language's front-end. + (print_specific_help): Fix indentation and remove duplicate line. + (common_handle_option): Handle the -v option. + For --help enable the display of undocumented options if the -v + switch has been included on the command line. + For --help= check for overlaps in the arguments between the option + classes and the language names and issue a warning when they + cannot be disambiguated. + * c.opt (v): Pass on to the common option handler. + +2008-02-19 Revital Eres + + * modulo-sched.c (sms_schedule): Change dump message when + create_ddg function fails. + (try_scheduling_node_in_cycle): Rename row to cycle. + (print_partial_schedule): Rename CYCLE to ROW. + +2008-02-19 Christian Bruel + Zdenek Dvorak + + * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Check step alignment. + +2008-02-19 Uros Bizjak + + PR target/33555 + * config/i386/i386.md (*x86_movsicc_0_m1_se): New insn pattern. + (*x86_movdicc_0_m1_se): Ditto. + +2008-02-19 Uros Bizjak + + * config/i386/sfp-machine.h (__gcc_CMPtype): New typedef. + (CMPtype): Define as __gcc_CMPtype. + * config/rs6000/sfp-machine.h (__gcc_CMPtype): New typedef. + (CMPtype): Define as __gcc_CMPtype. + +2008-02-19 Hans-Peter Nilsson + + Support valgrind 3.3 for --enable-checking=valgrind. + * system.h: Consolidate ENABLE_VALGRIND_CHECKING-dependent defines + here. + [!VALGRIND_MAKE_MEM_NOACCESS]: Define as VALGRIND_MAKE_NOACCESS. + [!VALGRIND_MAKE_MEM_DEFINED]: Define as VALGRIND_MAKE_READABLE. + [!VALGRIND_MAKE_MEM_UNDEFINED]: Define as VALGRIND_MAKE_WRITABLE. + * ggc-common.c: Remove ENABLE_VALGRIND_CHECKING-dependent defines. + Replace use of VALGRIND_MAKE_READABLE, VALGRIND_MAKE_WRITABLE, and + VALGRIND_MAKE_NOACCESS with VALGRIND_MAKE_MEM_DEFINED, + VALGRIND_MAKE_MEM_UNDEFINED, and VALGRIND_MAKE_MEM_NOACCESS + respectively. + * ggc-zone.c: Similar. + * ggc-page.c: Similar. + +2008-02-19 Paul Brook + + PR target/35071 + * config/arm/ieee754-df.S: Fix do_it typo. + * config/arm/ieee754-sf.S: Fix do_it typo. + +2008-02-18 H.J. Lu + + PR target/35189 + * config/i386/i386.c (OPTION_MASK_ISA_MMX_SET): New. + (OPTION_MASK_ISA_3DNOW_SET): Likewise. + (OPTION_MASK_ISA_SSE_SET): Likewise. + (OPTION_MASK_ISA_SSE2_SET): Likewise. + (OPTION_MASK_ISA_SSE3_SET): Likewise. + (OPTION_MASK_ISA_SSSE3_SET): Likewise. + (OPTION_MASK_ISA_SSE4_1_SET): Likewise. + (OPTION_MASK_ISA_SSE4_2_SET): Likewise. + (OPTION_MASK_ISA_SSE4_SET): Likewise. + (OPTION_MASK_ISA_SSE4A_SET): Likewise. + (OPTION_MASK_ISA_SSE5_SET): Likewise. + (OPTION_MASK_ISA_3DNOW_A_UNSET): Likewise. + (OPTION_MASK_ISA_MMX_UNSET): Updated. + (OPTION_MASK_ISA_3DNOW_UNSET): Updated. + (OPTION_MASK_ISA_SSE_UNSET): Likewise. + (OPTION_MASK_ISA_SSE3_UNSET): Likewise. + (OPTION_MASK_ISA_SSSE3_UNSET): Likewise. + (OPTION_MASK_ISA_SSE4_1_UNSET): Likewise. + (OPTION_MASK_ISA_SSE4_2_UNSET): Likewise. + (OPTION_MASK_ISA_SSE4A_UNSET): Likewise. + (OPTION_MASK_ISA_SSE5_UNSET): Likewise. + (OPTION_MASK_ISA_SSE4): Removed. + (ix86_handle_option): Turn on bits in ix86_isa_flags and + ix86_isa_flags_explicit with OPTION_MASK_ISA_XXX_SET for + -mXXX. + (override_options): Don't turn on implied SSE/MMX bits in + ix86_isa_flags. + +2008-02-18 H.J. Lu + + * config/i386/i386-modes.def: Use 4 byte alignment on DI for + 32bit host. + +2008-02-18 Joey Ye + + PR middle-end/34921 + * tree-nested.c (insert_field_into_struct): Set type alignment + to field alignment if the former is less than the latter. + +2008-02-18 Jakub Jelinek + + * BASE-VER: Set to 4.4.0. + +2008-02-17 Ralf Wildenhues + + * doc/c-tree.texi: Use @dots{} and @enddots{} where appropriate. + * doc/cfg.texi: Likewise. + * doc/extend.texi: Likewise. + * doc/gty.texi: Likewise. + * doc/invoke.texi: Likewise. + * doc/loop.texi: Likewise. + * doc/md.texi: Likewise. + * doc/passes.texi: Likewise. + * doc/rtl.texi: Likewise. + * doc/sourcebuild.texi: Likewise. + * doc/tm.texi: Likewise. + * doc/tree-ssa.texi: Likewise. + +2008-02-17 Richard Guenther + + PR middle-end/35227 + * tree-complex.c (init_parameter_lattice_values): Handle parameters + without default definition. + +2008-02-17 Richard Guenther + + PR tree-optimization/35231 + * tree-vrp.c (register_edge_assert_for): Do not assume A == 0 + if A | B != 1. + +2008-02-17 Uros Bizjak + + Revert: + + 2008-02-15 Uros Bizjak + * config/i386/sfp-machine.h (CMPtype): Define as typedef using + libgcc_cmp_return mode. + +2008-02-16 Manuel Lopez-Ibanez + + PR c/28368 + * doc/invoke.texi (-std): Clarify description of -std= and -ansi. + +2008-02-16 Ralf Corsepius + + * config/m68k/t-rtems (M68K_MLIB_CPU): Add 5208, 5307, 5407, 5475 + multilibs. + +2008-02-16 Ralf Wildenhues + + * doc/c-tree.texi: Use `@.' where appropriate. + * doc/extend.texi: Likewise. + * doc/install.texi: Likewise. + * doc/invoke.texi: Likewise. + * doc/loop.texi: Likewise. + * doc/makefile.texi: Likewise. + * doc/md.texi: Likewise. + * doc/passes.texi: Likewise. + * doc/standards.texi: Likewise. + * doc/tm.texi: Likewise. + +2008-02-15 Jakub Jelinek + + PR middle-end/35196 + * omp-low.c (expand_omp_for_generic): Don't initialize fd->v + in entry_bb. + (expand_omp_for_static_nochunk): Initialize fd->v in seq_start_bb + rather than in entry_bb. + +2008-02-15 Uros Bizjak + + * config/i386/sfp-machine.h (CMPtype): Define as typedef using + libgcc_cmp_return mode. + +2008-02-15 Jakub Jelinek + + PR middle-end/35130 + * tree-nested.c (convert_call_expr): Put FRAME.* vars into + OMP_CLAUSE_SHARED rather than OMP_CLAUSE_FIRSTPRIVATE clause. + +2008-02-15 Richard Guenther + Zdenek Dvorak + + PR tree-optimization/35164 + * tree-flow.h (stmt_references_abnormal_ssa_name): Declare. + * tree-dfa.c (stmt_references_abnormal_ssa_name): New function. + * tree-ssa-forwprop.c (tree_ssa_forward_propagate_single_use_vars): + Only propagate addresses which do not have abnormal SSA_NAMEs + in their operands. + +2008-02-15 Joseph Myers + + PR target/35088 + * config/m68k/m68k.h (DWARF_CIE_DATA_ALIGNMENT): Define. + +2008-02-15 Jan Hubicka + + PR middle-end/35149 + * ipa.c (cgraph_remove_unreachable_nodes): Clear local.inlinable flag. + +2008-02-15 Uros Bizjak + + PR middle-end/34621 + * function.c (pad_to_arg_alignment): Remove test for STACK_BOUNDARY + when calculating alignment_pad. + +2008-02-15 Uros Bizjak + + * config/i386/i386.h (CLEAR_RATIO): Use MIN macro. + (WIDEST_HARDWARE_FP_SIZE): Use LONG_DOUBLE_TYPE_SIZE define. + * config/i386/darwin.h (PREFERRED_STACK_BOUNDARY): Use MAX macro + and STACK_BOUNDARY define. + +2008-02-14 Danny Smith + + PR preprocessor/35061 + * c-pragma.c (handle_pragma_pop_macro): Check that + pushed_macro_table has been allocated. + 2008-02-14 Eric Botcazou PR middle-end/35136