OSDN Git Service

* rtl.h (remove_reg_equal_equiv_notes): New prototype.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 38e0204..0be8ba5 100644 (file)
@@ -1,3 +1,173 @@
+2007-02-20  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * rtl.h (remove_reg_equal_equiv_notes): New prototype.
+       * rtlanal.c (remove_reg_equal_equiv_notes): New function.
+       * combine.c (adjust_for_new_dest): Use it.
+       * postreload.c (reload_combine): Likewise.
+
+2007-02-20  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * rtlanal.c (find_reg_equal_equiv_note): Do not find REG_EQ*
+       notes on an insn with multiple sets, even if single_set returns
+       non-NULL for that insn.
+
+2007-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * fold-const.c (tree_expr_nonnegative_warnv_p): Handle scalb,
+       scalbn and scalbln.
+
+2007-02-20  Geoffrey Keating  <geoffk@apple.com>
+
+       * config/darwin.h (LINK_SPEC): Default -mmacosx-version-min only
+       if user didn't pass it.
+       * config/i386/darwin.h (CC1_SPEC): Likewise.
+       * config/rs6000/darwin.h (CC1_SPEC): Likewise.
+       (DARWIN_MINVERSION_SPEC): Don't depend on user's setting of
+       -mmacosx-version-min.
+
+2007-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+           Uros Bizjak  <ubizjak@gmail.com>
+
+       * optabs.h (enum optab_index): Add new OTI_scalb.
+       (scalb_optab): Define corresponding macro.
+       * optabs.c (init_optabs): Initialize scalb_optab.
+       * genopinit.c (optabs): Implement scalb_optab using scalb?f3
+       patterns.
+       * builtins.c (expand_builtin_mathfn_2, expand_builtin): Handle
+       BUILT_IN_SCALB{,F,L}, BUILT_IN_SCALBN{,F,L} and BUILT_IN_SCALBLN{,F,L}.
+       (expand_builtin): Expand BUILT_IN_SCALB{,F,L}, BUILT_IN_SCALBN{,F,L}
+       and BUILT_IN_SCALBLN{,F,L} using expand_builtin_mathfn_2 if
+       flag_unsafe_math_optimizations is set.
+
+       * config/i386/i386.md (scalbxf3, scalb<mode>3): New expanders
+       to implement scalbf, scalb and scalbl built-ins as inline x87
+       intrinsics.
+
+2007-02-20  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
+            DJ Delorie <dj@redhat.com>
+
+       PR other/30824
+       * diagnostic.c (diagnostic_count_diagnostic): Move -Werror logic to...
+       (diagnostic_report_diagnostic): ... here, and turn them into real
+       errors. If warnings are inhibited, no need to do anything.
+
+2007-02-20  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md (expm1xf2): Reorder insn sequence for
+       better code generation.
+
+2007-02-20  Ben Elliston  <bje@au.ibm.com>
+
+       * config/m68hc11/m68hc11.h (OVERRIDE_OPTIONS): Remove extra ;.
+
+2007-02-20  Kazu Hirata  <kazu@codesourcery.com>
+
+       * config/alpha/alpha.c, config/alpha/alpha.md,
+       config/alpha/lib1funcs.asm, config/alpha/vms-crt0-64.c,
+       config/alpha/vms-psxcrt0-64.c, config/arc/arc.c,
+       config/arc/arc.h, config/arm/arm.c, config/arm/arm.md,
+       config/arm/lib1funcs.asm: Follow spelling conventions.
+
+       * config/c4x/c4x.md, config/cris/cris.c, config/crx/crx.c,
+       config/fr30/fr30.md, config/i386/i386.h,
+       config/iq2000/iq2000.h, config/iq2000/predicates.md,
+       config/pa/milli64.S, config/pa/pa.c, config/pa/pa.h,
+       config/pa/pa.md, config/pa/pa32-regs.h, config/pa/pa64-regs.h,
+       config/pdp11/pdp11.c, config/pdp11/pdp11.h,
+       config/rs6000/altivec.md, config/rs6000/rs6000.c,
+       config/s390/s390-modes.def, config/sparc/netbsd-elf.h,
+       config/sparc/sparc.c, config/sparc/sparc.h,
+       config/sparc/sparc.md, config/spu/constraints.md,
+       config/spu/spu.c, config/stormy16/stormy16.md: Follow spelling
+       conventions.
+
+2007-02-20  Alan Modra  <amodra@bigpond.net.au>
+
+       PR target/29943
+       * varasm.c (use_blocks_for_decl_p): Return false for decls with
+       alias attribute.
+
+2007-02-19  Kazu Hirata  <kazu@codesourcery.com>
+
+       * doc/invoke.texi (-ftree-lrs): Remove.
+
+2007-02-19  Diego Novillo  <dnovillo@redhat.com>
+
+       * tree-ssa-pre.c (create_value_expr_from): Initialize POOL to
+       NULL.
+
+2007-02-19  Lee Millward  <lee.millward@codesourcery.com>
+
+       * config/ia64/ia64.c (ia64_expand_builtin): Use the
+       new CALL_EXPR_FN macro for retrieving the function 
+       declaration of the input expression.
+       
+2007-02-19  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
+
+       * c.opt (Waddress): New.
+       * common.opt (Walways-true): Delete.
+       (Wstring-literal-comparison): Delete.
+       * doc/invoke.texi (Warning Options): Delete -Walways-true and
+       -Wstring-literal-comparison. Add -Waddress.
+       (Waddress): New.
+       (Walways-true): Delete.
+       (Wstring-literal-comparison): Delete.
+       * doc/extend.texi (#pragma GCC diagnostic): Use -Wformat
+       consistently instead of -Walways-true in example.
+       * c-opts.c (c_common_handle_option): -Waddress is enabled by -Wall.
+       * c-typeck.c (parser_build_binary_op): Replace
+       -Wstring-literal-comparison and -Walways-true with -Waddress.
+       * c-common.c (c_common_truthvalue_conversion): Replace -Walways-true
+       with -Waddress.
+       
+2007-02-19  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * tree-cfg.c (dump_function_to_file): Be prepared for functions
+       without DECL_STRUCT_FUNCTION initialized.
+
+2007-02-19  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gimplify.c (gimplify_init_ctor_preeval_1): Detect potential overlap
+       due to calls to functions taking pointers as parameters.
+
+2007-02-19  Richard Henderson  <rth@redhat.com>
+
+       PR debug/29558
+       * var-tracking.c (track_expr_p): Disallow AGGREGATE_TYPE_P
+       in memory.
+
+2007-02-19  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       * config/s390/s390.c (s390_call_saved_register_used,
+       s390_function_ok_for_sibcall): Adjust the way CALL_EXPR arguments are
+       accessed to the new scheme.
+
+2007-02-19  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
+
+       * config/cris/cris.c (cris_movem_load_rest_p, cris_store_multiple_op_p)
+       (cris_print_index, cris_print_operand, cris_print_operand_address)
+       (cris_reload_address_legitimized, cris_rtx_costs, cris_address_cost)
+       (cris_side_effect_mode_ok, cris_valid_pic_const, cris_split_movdx)
+       (cris_expand_pic_call_address): Use xxx_P predicate macros instead of
+       GET_CODE () == xxx.
+       * config/cris/cris.h (SECONDARY_RELOAD_CLASS, EXTRA_CONSTRAINT_Q,
+       EXTRA_CONSTRAINT_T, BDAP_INDEX_P, BIAP_INDEX_P, SIMPLE_ADDRESS_P,
+       GO_IF_LEGITIMATE_ADDRESS): Ditto.
+       * config/cris/cris.md (define_insns: *btst, movdi, *mov_side<mode>)
+       (*mov_sidesisf, *mov_side<mode>_mem, *mov_sidesisf_mem)
+       (*clear_side<mode>, movsi, *movsi_internal, *ext_sideqihi)
+       (*ext_side<mode>si, *op_side<mode>, *op_swap_side<mode>, addsi3)
+       (*extopqihi_side, *extop<mode>si_side, *extopqihi_swap_side)
+       (*extop<mode>si_swap_side, addi_mul, *addi,andsi3, andhi3, ashl<mode>3)
+       (uminsi3, call, call_value): Ditto.
+       (define_split: indir_to_reg_split, unnamed): Ditto.
+
+2007-02-19  Dorit Nuzman  <dorit@il.ibm.com>
+
+       PR tree-optimization/30975
+       * tree-vect-trasnform.c (vect_get_vec_def_for_stmt_copy): Remove
+       wrong assert.
+
 2007-02-18  Eric Christopher  <echristo@gmail.com>
 
        * mips.c (mips_prepare_builtin_arg): Add argnum parameter.
 
        * except.c (expand_builtin_eh_return_data_regno): Pass entire
        CALL_EXPR as parameter instead of arglist.  Use new CALL_EXPR
-        accessors.
+       accessors.
 
        * coverage.c (create_coverage): Use build_call_expr.
 
 
 2007-02-03  Douglas Gregor  <doug.gregor@gmail.com>
 
-       * c-opts.c (c_common_post_options): If C++0x mode is enabled, don't
-       warn about C++0x compatibility.
+       * c-opts.c (c_common_post_options): If C++0x mode is enabled, don't
+       warn about C++0x compatibility.
 
 2007-02-04  Kazu Hirata  <kazu@codesourcery.com>