OSDN Git Service

PR c++/18001
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 142c13c..0f8ebea 100644 (file)
@@ -1,3 +1,146 @@
+2004-11-25  Mark Mitchell  <mark@codesourcery.com>
+
+       PR c++/18001
+       * c-common.h (lvalue_use): Move here from c-ctypeck.c.
+       (lvalue_or_else): Declare.
+       * c-common.c (lvalue_or_else): Move here from c-typeck.c.
+       * c-typeck.c (lvalue_use): Remove.
+       (lvalue_or_else): Remove.
+
+       PR c++/18556
+       * toplev.c (check_global_declarations): Set DECL_IGNORED_P on
+       unemitted variables with static storage duration.
+
+2004-11-25  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * tree-cfg.c (tree_verify_flow_info): Do not terminate error()
+       message with \n.
+
+2004-11-25  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * config/rs6000/altivec.md (VIshort): New mode macro.
+       (altivec_vaddubs, altivec_vadduhs, altivec_vadduws): Replace
+       with ...
+       (altivec_vaddu<VI_char>s): ... this.
+       (altivec_vaddsbs, altivec_vaddshs, altivec_vaddsws): Replace
+       with ...
+       (altivec_vadds<VI_char>s): ... this.
+       (altivec_vsububs, altivec_vsubuhs, altivec_vsubuws): Replace
+       with ...
+       (altivec_vsubu<VI_char>s): ... this.
+       (altivec_vsubsbs, altivec_vsubshs, altivec_vsubsws): Replace
+       with ...
+       (altivec_vsubs<VI_char>s): ... this.
+       (altivec_vavgub, altivec_vavguh, altivec_vavguw): Replace
+       with ...
+       (altivec_vavgu<VI_char>): ... this.
+       (altivec_vavgsb, altivec_vavgsh, altivec_vavgsw): Replace
+       with ...
+       (altivec_vavgs<VI_char>): ... this.
+       (altivec_vmsumubm, altivec_vmsumuhm): Replace with ...
+       (altivec_vmsumu<VI_char>m): ... this.
+       (altivec_vmsummbm, altivec_vmsummhm): Replace
+       with ...
+       (altivec_vmsumm<VI_char>m): ... this.
+       (altivec_vandc): Remove.
+       (*andc<mode>3): Renamed to ...
+       (andc<mode>3): ... here. Swap operand 1 and 2 numbering.
+       (altivec_vrlb, altivec_vrlh, altivec_vrlw): Replace
+       with ...
+       (altivec_vrl<VI_char>): ... this.
+       (altivec_vslb, altivec_vslh, altivec_vslw): Replace
+       with ...
+       (altivec_vsl<VI_char>): ... this.
+       (altivec_vsrb, altivec_vsrh, altivec_vsrw): Replace
+       with ...
+       (altivec_vsr<VI_char>): ... this.
+       (altivec_vsrab, altivec_vsrah, altivec_vsraw): Replace
+       with ...
+       (altivec_vsra<VI_char>): ... this.
+       (altivec_vsum4sbs, altivec_vsum4shs): Replace with ...
+       (altivec_vsum4s<VI_char>s): ... this.
+       (altivec_vperm_4si, altivec_vperm_8hi, altivec_vperm_16qi): Replace
+       with ...
+       (altivec_vperm_<mode>): ... this.
+       (altivec_vsel_4sf): Rename to ...
+       (altivec_vsel_v4sf): ... here.
+       (altivec_vsel_4si, altivec_vsel_8hi, altivec_vsel_16qi): Replace
+       with ...
+       (altivec_vsel_<mode>): ... this.
+       (altivec_vsldoi_4si, altivec_vsldoi_8hi,
+       altivec_vsldoi_16qi): Rename to ...
+       (altivec_vsldoi_v4si, altivec_vsldoi_v8hi,
+       altivec_vsldoi_v16qi): ... here.
+       (altivec_vsldoi_4sf): Rename to ...
+       (altivec_vsldoi_v4sf): ... here.
+       (altivec_predicate_v4si, altivec_predicate_v8hi,
+       altivec_predicate_v16qi): Replace with ...
+       (altivec_predicate_<mode>): ... this.
+       (altivec_lvebx, altivec_lvehx, altivec_lvewx): Replace
+       with ...
+       (altivec_lve<VI_char>x): ... this.
+       (altivec_stvebx, altivec_stvehx, altivec_stvewx): Replace
+       with ...
+       (altivec_stve<VI_char>x): ... this.
+       (absv16qi2, absv8hi2, absv4si2): Replace
+       with ...
+       (abs<mode>2): ... this.
+       (altivec_abss_v16qi, altivec_abss_v8hi, altivec_abss_v4si): Replace
+       with ...
+       (altivec_abss_<mode>): ... this.
+       (vec_realign_load_v16qi, vec_realign_load_v8hi,
+       vec_realign_load_v4si): Replace with ...
+       (vec_realign_load_<mode>): ... this.
+       * config/rs6000/rs6000.c (bdesc_3arg, bdesc_2arg): Update tweaked
+       insn names.
+       (rs6000_expand_ternop_builtin): Likewise.
+
+2004-11-25  Andrew Haley  <aph@redhat.com>
+
+       * gcc.c (process_command): Don't supply -v to linker.
+
+2004-11-25  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Use %qs
+       instead of `%s' in diagnostic.
+
+2004-11-25  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * basic-block.h (OBSTACK_ALLOC_REG_SET): Adjust.
+       (FREE_REG_SET): Adjust.
+       * bitmap.c (bitmap_obstack_free): Cope with NULL bitmap.
+       * bitmap.h (BITMAP_OBSTACK_ALLOC): Rename to ...
+       (BITMAP_ALLOC): ... here.
+       (BITMAP_OBSTACK_FREE): Rename to ...
+       (BITMAP_FREE): Don't check for NULL bitmap here.
+       * tree-ssa-pre.c (value_insert_into_set_bitmap,
+       bitmap_set_new): Use new names.
+
+       * bt-load.c (migrate_btr_defs): Remove unneeded NULL check.
+       * df.c (df_free): Likewise.
+       * ra-build.c (ra_build_free, ra_build_free_all): Likewise.
+       * tree-ssa-loop-ivopts.c (set_use_iv_cost): Likewise.
+
+       * basic-block.h (OBSTACK_ALLOC_REG_SET): Rename to ...
+       (ALLOC_REG_SET): ... here.
+       (FREE_REG_SET): Adjust.
+       (XMALLOC_REG_SET, XFREE_REG_SET): Remove.
+       * bb-reorder.c (fix_crossing_conditional_branches): Adjust.
+       * cfglayout.c (cfg_layout_duplicate_bb): Adjust.
+       * cfgrtl.c (rtl_split_block, rtl_split_edge,
+       safe_insert_insn_on_edge, cfg_layout_split_edge): Adjust.
+       * flow.c (update_life_info, calculate_global_regs_live,
+       allocate_bb_life_data, init_propagate_block_info): Adjust.
+       * global.c (build_insn_chain): Adjust.
+       * ifcvt.c (dead_or_predicable): Adjust.
+       * loop-iv.c (simplify_using_initial_values): Adjust.
+       * recog.c (peephole2_optimize): Adjust.
+       * sched-deps.c (init_deps_global): Adjust.
+
+2004-11-25  Ralf Corsepius <ralf.corsepius@rtems.org>
+
+       * config.gcc (avr-*-rtems*): Fix typo.
+
 2004-11-25  J"orn Rennecke <joern.rennecke@st.com>
 
        * sh.c (sh_output_mi_thunk): Do not call regset_release_memory.
 
 2004-11-22  Nathan Sidwell  <nathan@codesourcery.com>
 
+       PR target/18531
        * config/rs6000/altivec.md (VI_char): New mode attribute.
        (addv16qi3, addv8hi3, addv4ai3): Replace with ...
        (add<mode>3): ... this.