OSDN Git Service

* frontends.texi: Add missing line.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 0ce701f..d169440 100644 (file)
@@ -1,3 +1,285 @@
+2004-03-21  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * frontends.texi: Add missing line.
+
+2004-03-21  Zack Weinberg  <zack@codesourcery.com>
+            Chris Devers  <cdevers@pobox.com>
+            Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * doc/frontends.texi: Rewrite.
+       * doc/gcc.texi: Update last modification date.
+
+2004-03-21  Josef Zlomek  <zlomekj@suse.cz>
+
+       * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Print the debug
+       message before redirecting the edge.
+
+2004-03-20  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
+
+       * emit-rtl.c (set_mem_attributes_minus_bitpos): Set MEM_POINTER
+       flag.
+       * explow.c (force_not_mem): Set REG_POINTER flag according to
+       MEM_POINTER one.
+       * rtl.h (MEM_POINTER): New macro.
+       (struct rtx_def): Use integrated for MEM_SCALAR_P and frame_related
+       for MEM_POINTER.
+
+2004-03-20  Roger Sayle  <roger@eyesopen.com>
+
+       PR target/13889
+       * cse.c (fold_rtx): Avoid substituting constants into unary
+       conversion operations.
+
+2004-03-20  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * fold-const.c (fold): Replace "expr" with "t".
+
+2004-03-20  Ian Lance Taylor  <ian@wasabisystems.com>
+
+       PR c/12373
+       * c-typeck.c (tagged_types_tu_compatible_p): Don't use
+       DECL_ORIGINAL_TYPE if there isn't one.
+
+2004-03-20  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * fold-const.c (fold): Replace "final_type" with "type".
+       Remove variable "final_type".
+
+2004-03-20  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * fold-const.c (fold): Constify "type".
+       Replace "TREE_TYPE (t)" with "type".
+
+2004-03-20  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * bb-reorder.c, bt-load.c, c-decl.c, cfgcleanup.c, coverage.c,
+       dwarf2asm.c, ifcvt.c, stor-layout.c, varasm.c: Replace calls
+       via (*targetm.foo) () with targetm.foo ().
+
+2004-03-20  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       PR other/14630
+       * doc/install.texi: Add info directory category and entry.
+
+2004-03-20  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * fold-const.c (fold): Replace "t" with "tem" where it is used
+       as a temporary variable.  Remove "orig_t" and all of its uses.
+
+2004-03-20  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * fold-const.c (fold): Remove variable "invert".
+       Move the handling of relational expressions that can be folded
+       to a constant ...
+       (fold_relational_const): ... here.
+       (tree_expr_nonzero_p): New.
+
+2004-03-20  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       PR c/14635
+       * builtins.def (nan, nanf, nanl, nans, nansf, nansl): Change to
+       DEF_GCC_BUILTIN.
+
+2004-03-20  Richard Sandiford  <rsandifo@redhat.com>
+
+       * Makefile.in (dojump.o): Depend on $(GGC_H) and dojump.h.
+       (GTFILES): Add $(srcdir)/dojump.h.
+       (gt-dojump.h): New dependency.
+       * dojump.c (and_reg, and_test, shift_test): New static variables.
+       (prefer_and_bit_test): New function.
+       (do_jump): Use it to choose between (X & (1 << C)) and (X >> C) & 1.
+
+2004-03-20  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * c-common.c, cfgcleanup.c, cgraphunit.c, c-pretty-print.c,
+       expmed.c, ggc-common.c, jump.c, passes.c, recog.c, regmove.c,
+       reorg.c, tree.h: Fix comment typos.
+
+2004-03-19  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * alias.c, attribs.c, bt-load.c, builtins.c, c-common.c,
+       c-decl.c, c-objc-common.c, c-typeck.c, calls.c, cfglayout.c,
+       cse.c, dbxout.c, dwarf2out.c, except.c, final.c,
+       haifa-sched.c, integrate.c, passes.c, rtlanal.c, sched-rgn.c,
+       sched-vis.c, simplify-rtx.c, stor-layout.c, tree.c, varasm.c,
+       vmsdbgout.c: Replace calls via (*targetm.foo) () with
+       targetm.foo ().
+
+2004-03-19  Ziemowit Laski  <zlaski@apple.com>
+
+       * config/rs6000/altivec.h (vec_dst, vec_dstst, vec_dststt,
+       vec_dstt, vec_sld, vec_splat): Add prototypes, marked with
+       always_inline attribute.
+       * config/rs6000/rs6000.c (altivec_expand_dst_builtin):
+       Treat expansion as completed even if literal argument is
+       invalid (so that other expansions are not tried in vain).
+
+2004-03-19  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * loop-doloop.c (add_test): Replace GEN_INT (0) with
+       const0_rtx.
+
+2004-03-19  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * fold-const.c (fold) <ABS_EXPR>: Move the handling of constants
+       ...
+       (fold_abs_const): ... here.
+
+2004-03-19  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * tree.h (TYPE_ARRAY_MAX_SIZE): Use type.maxval directly.
+
+2004-03-19  Denis Chertykov  <denisc@overta.ru>
+
+       PR target/11520
+       * config/avr/avr.md ("call_insn"): Handle explicit integer
+       specially.
+       (call_value_insn): Likewise.
+
+2004-03-19  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * tree.c (substitute_in_expr): Rewrite to simplify and be more generic.
+
+2004-03-19  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * fold-const.c (negate_expr): Move the handling of constants
+       ...
+       (fold_negate_const): ... here.
+
+2004-03-19  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * langhooks-def.h (LANG_HOOKS_HASH_TYPES): New macro and hook.
+       * langhooks.h (struct lang_hooks_for_types): New field hash_types.
+       * tree.c (debug_no_type_hash): Deleted.
+       (type_hash_canon): Abort if passed a variant.
+       Check lang_hooks.types.hash_types.
+       (build_type_no_quals): Copy mode of POINTER_TYPE and REFERENCE_TYPE.
+       (build_array_type): Remove unnecessary allocation of pointer type.
+       (build_complex_type): Properly qualify resulting type.
+
+2004-03-19  Paolo Bonzini  <bonzini@gnu.org>
+
+       * config/rs6000/rs6000.c (rs6000_init_builtins): Fix typo.
+
+2004-03-19  Richard Sandiford  <rsandifo@redhat.com>
+
+       * expmed.c (choose_mult_variant, expand_mult_const): New, split from...
+       (expand_mult): ...here.
+       (extract_high_half): New, split out from expand_mult_highpart.
+       (expand_highpart_optab): Likewise.  Don't clobber target prematurely.
+       (expand_highpart): Evaluate the cost of a shift/add sequence,
+       then see if any of the specialized optabs are cheaper.
+
+2004-03-18  Ian Lance Taylor  <ian@wasabisystems.com>
+
+       * mklibgcc.in: Remove obsolete MAYBE_USE_COLLECT2.
+
+2004-03-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * convert.c (convert_to_real): Add more math builtins.
+
+2004-03-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * convert.c (convert_to_real): Reformat using switch stmt.
+
+2004-03-18  Mark Mitchell  <mark@codesourcery.com>
+
+       * c-common.c (pointer_int_sum): Do not complain about using
+       pointers to pointers-to-members.
+
+2004-03-18  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * system.h (MD_ASM_CLOBBERS): Move to "Old target macros that
+       have moved to the target hooks structure".
+
+2004-03-18  James E Wilson  <wilson@specifixinc.com>
+
+       * config/mips/mips.md (type): Split move into arith and fmove.  Split
+       hilo into mthilo and mfhilo.  Add trap.  Delete icmp.  Fix all uses.
+       * config/mips/5400.md (ir_vr54_hilo, ir_vr54_arith, ir_vr54_fabs):
+       Likewise.
+       * config/mips/5500.md (ir_vr55_hilo, ir_vr55_arith, ir_vr55_fabs):
+       Likewise.
+       * config/mips/7000.md (rm7_int_other, rm7_mthilo, rm7_mfhilo,
+       rm7_fp_quick): Likewise.
+       * config/mips/9000.md (rm9k_int, rm9k_mfhilo, rm9k_mthilo,
+       rm9k_fquick): Likewise.
+       * config/mips/sr71k.md (ir_sr70_hilo, ir_sr70_arith, ir_sr70_fabs):
+       Likewise.
+       (ir_sr70_icmp): Delete.
+
+2004-03-18  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+       
+       * tree.h (TREE_CHECK2, TREE_CHECK3, TREE_CHECK5): New macros.
+       (tree_check2_failed, tree_check3_failed, tree_check5_failed): New decl.
+       (FUNC_OR_METHOD_CHECK, SET_ARRAY_OR_VECTOR_CHECK): New macros.
+       (REC_OR_UNION_CHECK, NUMERICAL_TYPE_CHECK): Likewise.
+       (TYPE_VALUES, TYPE_DOMAIN, TYPE_FIELDS, TYPE_METHODS, TYPE_VFIELD):
+       Protect with proper check.
+       (TYPE_ARG_TYPES, TYPE_METHOD_BASETYPE, TYPE_OFFSET_BASETYPE): Likewise.
+       (TYPE_MIN_VALUE, TYPE_MAX_VALUE): Likewise.
+       * tree.c (type_hash_eq): Rewrite to access proper fields for each type.
+       (tree_check2_failed, tree_check3_failed, tree_check5_failed): New.
+       * c-typeck.c (build_array_ref): Use TYPE_DOMAIN, not TYPE_VALUES.
+       * dwarf2out.c (gen_enumeration_type_die): Use TYPE_VALUES,
+       not TYPE_FIELDS.
+       * stor-layout.c (set_sizetype): Use TYPE_ORIG_SIZE_TYPE.
+
+2004-03-18  Mostafa Hagog  <mustafa@il.ibm.com>
+
+       * gcse.c (eliminate_partially_redundant_loads): Reject change if
+       dest is set between beginning and current insn.
+
+2004-03-18  Mark Mitchell  <mark@codesourcery.com>
+
+       * c-decl.c (grokdeclarator): Do not complain about redeclaring
+       visible "static" identifiers "extern" in a local scope.
+       * dwarf2out.c (loc_descriptor_from_tree): Handle pre- and
+       post-increments/decrements.
+
+2004-03-18  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/xtensa/xtensa.c (current_function_arg_words): Delete.
+       (xtensa_builtin_saveregs): Use current_function_args_info.arg_words.
+       (xtensa_va_start): Remove assignment to current_function_arg_words.
+
+2004-03-18  Richard Sandiford  <rsandifo@redhat.com>
+
+       * alias.c (record_set): Detect the case where a register is assigned
+       a new value that has the same base term as the old one.
+
+2004-03-18  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
+
+       * doloop.c: Removed.
+       * loop-doloop.c: New file.
+       * Makefile.in (doloop.o): Remove.
+       (loop-doloop.o): New.
+       * cfgloop.h (get_loop_level, doloop_optimize_loops): Declare.
+       * cfgloopanal.c (get_loop_level): New function.
+       * loop-iv.c (iv_number_of_iterations): Handle case when loop
+       is leaved immediatelly.
+       * loop.c (strength_reduce): Do not call doloop optimization.
+       * loop.h (LOOP_BCT): Removed.
+       * passes.c (rest_of_handle_loop_optimize): Do not use LOOP_BCT.
+       (rest_of_handle_loop2): Call doloop_optimize_loops.
+       (rest_of_compilation): Test for optimizations moved to
+       rest_of_handle_loop2.
+
+2004-03-17  Fariborz Jahanian <fjahanian@apple.com>
+
+        * config/rs6000/rs6000.c (rs6000_stack_info): correct reg_size
+        for mixed mode.
+        (rs6000_emit_prologue): Ditto.
+        (rs6000_emit_epilogue): Ditto.
+        * config/rs6000/rs6000.h: Definition of DWARF_CIE_DATA_ALIGNMENT
+        macro for mixed mode.
+
+>>>>>>> 2.3203
+2004-03-18  Jan Hubicka  <jh@suse.cz>
+
+       * predict.c (propagate_freq): Compute correctly frequency of
+       EXIT_BLOCK.
+
 2004-03-17  Eric Christopher  <echristo@redhat.com>
 
        * builtins.c (apply_args_size): Use reg_raw_mode.