OSDN Git Service

PR middle-end/30761
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index d577878..59d93bb 100644 (file)
@@ -1,3 +1,107 @@
+2007-02-21  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       PR middle-end/30761
+       * reload1.c (eliminate_regs_in_insn): In the single_set special
+       case, attempt to re-recognize the insn before falling back to
+       having reload fix it up.
+
+2007-02-20  Eric Christopher  <echristo@gmail.com>
+
+       * config/frv/frv.c (frv_read_argument): Take a tree and int argument.
+       Rewrite accordingly.
+       (frv_read_iacc_argument): Ditto.
+       (frv_expand_set_builtin): Take a call instead of arglist, update for
+       above changes.
+       (frv_expand_unop_builtin): Ditto.
+       (frv_expand_binop_builtin): Ditto.
+       (frv_expand_cut_builtin): Ditto.
+       (frv_expand_binopimm_builtin): Ditto.
+       (frv_expand_voidbinop_builtin): Ditto.
+       (frv_expand_int_void2arg): Ditto.
+       (frv_expand_prefetches): Ditto.
+       (frv_expand_voidtriop_builtin): Ditto.
+       (frv_expand_voidaccop_builtin): Ditto.
+       (frv_expand_load_builtin): Ditto.
+       (frv_expand_store_builtin): Ditto.
+       (frv_expand_mdpackh_builtin): Ditto.
+       (frv_expand_mclracc_builtin): Ditto.
+       (frv_expand_mrdacc_builtin): Ditto.
+       (frv_expand_mwtacc_builtin): Ditto.
+       (frv_expand_builtin): Remove usage of CALL_EXPR_ARGS, update
+       calls for above.
+
+2007-02-20  Janis Johnson  <janis187@us.ibm.com>
+
+       * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcmpb and -mdfp.
+       * configure.ac (HAVE_GAS_CMPB): Check for assembler support of the
+       cmpb instruction.
+       (HAVE_GAS_DFP): Check for assembler support of decimal floating
+       point instructions.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+       * config/rs6000/rs6000.opt (mcmpb, mdfp): New.
+       * config/rs6000/rs6000.c (rs6000_override_options): Add CMPB and DFP
+       masks to power6 and power6x and to POWERPC_MASKS.
+       * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
+       _ARCH_PWR6.
+       * config/rs6000/rs6000.h: Check assembler support for CMPB and DFP.
+       * config/rs6000/sysv4.opt (mprototype): Use variable, not mask.
+       * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS):
+       Access PROTOTYPE as variable, not mask.
+
+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
 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 
+       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.
        -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