OSDN Git Service

* lower-subreg.c (simple_move_operand): New static function,
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 9ef2c72..77e9964 100644 (file)
@@ -1,3 +1,70 @@
+2007-02-03  Ian Lance Taylor  <iant@google.com>
+
+       * lower-subreg.c (simple_move_operand): New static function,
+       broken out of simple_move.  Reject LABEL_REF, SYMBOL_REF, and HIGH
+       operands.
+       (simple_move): Call simple_move_operand.
+       (find_decomposable_subregs): Add special handling of MEMs.
+       (can_decompose_p): Rename from cannot_decompose_p.  Reverse
+       meaning of return value.  If we see a hard register, test whether
+       it can store a word_mode value.  Change all callers.
+
+2007-02-03  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * pa.md (addvdi3, addvsi3, subvdi3, subvsi3, negvdi2, negvsi2): New
+       ftrapv insns and expanders.
+       (subdi3): Change define_expand operand 1 to arith11_operand, and
+       operand 2 to reg_or_0_operand.  Change constraints of 64-bit insn
+       pattern to handle reg_or_0 operands.  Revise 32-bit insn pattern to
+       handle 11-bit constants and reg_or_0 operands in operands 1 and 2,
+       respectively.
+
+       PR middle-end/30174
+       * varasm.c (notice_global_symbol): Treat global objects as weak when
+       flag_shlib is true.
+
+2007-02-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * emit-rtl.c (dconstpi): Delete.
+       (dconstsqrt2): New.
+       (init_emit_once): Delete dconstpi and init dconstsqrt2.
+       * real.h (dconstpi): Delete.
+       (dconstsqrt2): New.
+       * builtins.c (fold_builtin_cabs): Use dconstsqrt2.
+       (fold_builtin_hypot): Likewise.
+
+2007-02-03  Tom Tromey  <tromey@redhat.com>
+
+       PR driver/30246
+       * gcc.c (cpp_unique_options): Any of -ggdb3, -gstabs3,
+       -gcoff3, -gxcoff3, -gvms3 implies -dD.
+
+2007-02-03  Kazu Hirata  <kazu@codesourcery.com>
+
+       * c-decl.c, config/avr/avr.c, config/avr/avr.h,
+       config/m68k/m68k.c, config/m68k/netbsd-elf.h,
+       config/mn10300/mn10300.c, config/pdp11/pdp11.h,
+       config/rs6000/cell.md, config/rs6000/darwin.h,
+       config/sh/sh.md, config/sh/sh4-300.md, config/spu/spu.c,
+       config/spu/spu.md, cselib.c, expr.c, haifa-sched.c, hwint.h,
+       jump.c, reload.c, sched-deps.c, sched-int.h, tree-inline.c,
+       tree-profile.c, tree-ssa-live.h, tree-vrp.c: Fix comment
+       typos.  Follow spelling conventions.
+       * doc/invoke.texi: Follow spelling conventions.
+
+2007-02-03  Roger Sayle  <roger@eyesopen.com>
+
+       * simplify-rtx.c (simplify_relational_operation_1): Implement some
+       canonicalization transformations that attempt to simplify integer
+       constant comparisons to become comparisons against zero.
+
+2007-02-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * builtins.c (fold_builtin_cabs): Fold cabs(x+xi) into
+       fabs(x)*sqrt(2).
+       * fold-const.c (fold_binary): Fix comment typos.  Fold complex
+       (x,0)-(0,y) into (x,-y).  Likewise (0,y)-(x,0) into (-x,y).
+
 2007-02-02  Mike Stump  <mrs@apple.com>
 
        * config/darwin9.h (DARWIN_LINKER_GENERATES_ISLANDS): Add.