OSDN Git Service

* tree.c (tree_fold_gcd): Use FLOOR_MOD_EXPR instead of
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index e5d2958..0b23912 100644 (file)
@@ -1,3 +1,129 @@
+2004-11-03  Sebastian Pop  <pop@cri.ensmp.fr>
+
+       * tree.c (tree_fold_gcd): Use FLOOR_MOD_EXPR instead of
+       CEIL_MOD_EXPR.
+
+2004-11-03 Jeff Law  <law@redhat.com>
+
+       * stmt.c (expand_case): Speed up code to detect duplicate case
+       label targets and count unique case label targets.
+
+2004-11-03  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * cppdefault.c, cppdefault.h, timevar.h: Update copyright.
+
+2004-11-03  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * bitmap.h, dbxout.c, tree-mudflap.c: Fix comment formatting.
+
+2004-11-03  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-cfg.c (find_taken_edge): Abort if we are given a
+       statement that is neither COND_EXPR nor SWITCH_EXPR.
+
+2004-11-02  Zdenek Dvorak  <dvorakz@suse.cz>
+
+       * fold-const.c (fold): Reassociate also (x - mult) + mult and
+       (mult - x) + mult.  Cast operands of expression after applying
+       distributive law to the correct types.  Apply distributive law
+       to a * c - b * c for all non-float types.
+
+2004-11-02  Geoffrey Keating  <geoffk@apple.com>
+
+       * configure.ac: Don't clear STMP_FIXINC or STMP_FIXPROTO just
+       because we don't want to run them now; instead, set them to
+       stmp-install-fixproto or stmp-install-fixinc.
+       * Makefile.in (stmp-install-fixproto): New.
+       (stmp-install-fixinc): New.
+       * configure: Regenerate.
+
+2004-11-02  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * flow.c (init_propagate_block_info): Use bitmap_empty_p on result
+       of bitmap_xor.
+
+2004-11-02  Ziemowit Laski  <zlaski@apple.com>
+
+       * c-lang.c (LANG_HOOKS_TYPES_COMPATIBLE_P): Remove.
+       (c_types_compatible_p): Move function definition...
+       * c-objc-common.c (c_types_compatible_p): ...here.
+       * c-objc-common.h (LANG_HOOKS_TYPES_COMPATIBLE_P): Moved here from
+       c-lang.c.
+
+2004-11-02  Steven Bosscher  <stevenb@suse.de>
+
+       * cfgloop.h (struct loop): Update comment.
+       * cse.c (cse_main): Remove obsolete comment.
+
+       * expr.h (gen_cond_trap): Move prototype under functions provided
+       by optabs.c.
+       (canonicalize_condition, get_condition): Move to...
+       * rtl.h (canonicalize_condition, get_condition): ...here.
+       (branch_target_load_optimize): Add comment that this function is
+       in bt-load.c.
+       * loop.c (canonicalize_condition, get_condition): Move to...
+       * rtlanal.c (canonicalize_condition, get_condition): ...here.
+       * sched-deps.c (get_condition): Rename to sched_get_condition.
+       (add_dependence): Update this caller.
+2004-11-02  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR tree-opt/16808
+       * tree-ssa.c (replace_immediate_uses): If we call fold_stmt, make sure
+       that the vops get marked for renaming.
+
+2004-11-02  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       * config/s390/s390.md ("movcc"): Set type attribute.
+
+2004-11-02  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-phinodes.c (add_phi_arg): Add an assertion that the
+       edge already exists.
+
+2004-11-02  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-phinodes.c (remove_phi_arg_num): Do not zero the
+       element that's being removed.
+
+2004-11-02  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-ssa-threadupdate.c (copy_phis_to_block): Install PHI
+       arguments using PENDING_STMT.
+       (thread_block): Call copy_phis_to_block after redirecting an
+       edge.
+
+2004-11-02  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * bitmap.h (bitmap_and, bitmap_and_into, bitmap_and_compl,
+       bitmap_and_compl_into, bitmap_ior, bitmap_iot_into,
+       bitmap_ior_compl, bitmap_xor, bitmap_xor_into): Produce void.
+       (bitmap_ior_and_compl_into): Produce bool.
+       (bitmap_union_of_diff): Rename to ...
+       (bitmap_ior_and_compl): ... here. Produce bool.
+       * bitmap.c (bitmap_ior_and_compl_into): Return bool. Use
+       bitmap_operation directly.
+       (bitmap_union_of_diff): Rename to ...
+       (bitmap_ior_and_compl): ... here. Return bool, use
+       bitmap_operation directly.
+       * df.c (df_rd_transfer_function): Use bitmap_ior_and_compl.
+       (df_ru_transfer_function, df_lr_transfer_function): Likewise.
+       * global.c (modify_bb_reg_pav): Likewise.
+
+       * bitmap.h (bitmap_equal_p): Return bool.
+       (bitmap_intersect_p, bitmap_intersect_compl_p): Declare.
+       * bitmap.c (bitmap_equal_p): Return bool. Compare directly.
+       (bitmap_intersect_p, bitmap_intersect_compl_p): New.
+       * flow.c (calculate_global_regs_live): Use bitmap_intersect_p and
+       bitmap_intersect_compl_p.
+       * ifcvt (dead_or_predicable): Likewise.
+
+2004-11-02  Nathan Sidwell  <nathan@codesourcery.com>
+
+       PR rtl-optimization/17104
+       * config/rs6000/rs6000.c (rs6000_emit_move): Don't wrap small
+       loads in zero_extend.
+
 2004-11-02  Danny Smith  <dannysmith@users.sourceforge.net>
 
        PR debug/18242