OSDN Git Service

2004-01-31 Paolo Bonzini <bonzini@gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 834142a..5997244 100644 (file)
@@ -1,3 +1,197 @@
+2004-01-31  Paolo Bonzini  <bonzini@gnu.org>
+
+       * combine.c (cse_main): Set gen_lowpart to gen_lowpart_for_combine
+       and restore it to gen_lowpart_general on exit.
+       (gen_lowpart_for_combine): Adjust all callers to go through
+       gen_lowpart.
+       * cse.c (cse_main): Set gen_lowpart to gen_lowpart_if_possible
+       and restore it to gen_lowpart_general on exit.
+       (gen_lowpart_if_possible): Adjust all callers to go through
+       gen_lowpart.
+       * emit-rtl.c (gen_lowpart_general): New name of gen_lowpart.
+       (gen_lowpart): Declare as pointer to function, initialized to
+       gen_lowpart_general.
+       * rtl.h (gen_lowpart): Declare as pointer to function.
+
+2004-01-31  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * bt-load.c: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (".
+       * calls.c: Likewise.
+       * emit-rtl.c: Likewise.
+       * function.c: Likewise.
+       * reload1.c: Likewise.
+       * config/i386/cygming.h: Likewise.
+       * config/i386/i386.c: Likewise.
+       * config/i386/winnt.c: Likewise.
+
+2004-01-30  Dara Hazeghi  <dhazeghi@yahoo.com>
+
+       PR bootstrap/9249
+       * doc/install.texi: document --enable-__cxa_atexit option.
+       * configure.ac: Disable __cxa_atexit if not supported.
+       * configure: Regenerate.
+
+2003-01-30  Daniel Berlin  <dberlin@dberlin.org>
+
+       * ggc-zone.c (ggc_free): New function.
+
+2004-01-30  Kazu Hirata  <kazu@cs.umass.edu>
+
+       alloc-pool.c, c-lex.c, c-pragma.h, c-semantics.c, cfghooks.c,
+       cfghooks.h, cfglayout.c, cfgloopmanip.c, debug.c, debug.h,
+       flow.c, genextract.c, ggc-common.c, ggc-page.c, ggc.h,
+       ifcvt.c, jump.c, loop-unswitch.c, timevar.c, timevar.def,
+       tree-optimize.c, vmsdbgout.c, config/fp-bit.c,
+       config/alpha/alpha.c, config/alpha/alpha.h,
+       config/alpha/alpha.md, config/alpha/unicosmk.h,
+       config/alpha/vms.h, config/arm/linux-elf.h, config/avr/avr.c,
+       config/c4x/c4x-protos.h, config/c4x/c4x.md,
+       config/d30v/d30v.h, config/frv/frv.md, config/frv/frvbegin.c,
+       config/frv/frvend.c, config/i386/cygming.h,
+       config/i386/djgpp.h, config/i386/emmintrin.h,
+       config/i386/gthr-win32.c, config/i386/i386-interix.h,
+       config/i386/i386-protos.h, config/i386/openbsd.h,
+       config/i386/winnt.c, config/i386/xm-mingw32.h,
+       config/i386/xmmintrin.h, config/ia64/ia64.md,
+       config/iq2000/iq2000.md, config/m32r/m32r.md,
+       config/m68k/m68k.md, config/mcore/mcore-elf.h,
+       config/mcore/mcore.md, config/mips/elf.h, config/mips/elf64.h,
+       config/mips/iris5gas.h, config/mips/iris6.h,
+       config/mips/iris6gas.h, config/mips/linux.h,
+       config/mips/mips.md, config/mips/netbsd.h,
+       config/mips/openbsd.h, config/mips/windiss.h,
+       config/pa/fptr.c, config/rs6000/aix.h,
+       config/rs6000/altivec.h, config/rs6000/darwin.h,
+       config/rs6000/xcoff.h, config/s390/s390-protos.h,
+       config/s390/s390.c, config/s390/s390.h, config/s390/s390.md,
+       config/sh/netbsd-elf.h, config/sh/sh.h, config/sh/vxworks.h,
+       config/sparc/sol2.h: Update copyright.
+
+2004-01-30  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * Makefile.in (abs_docdir, abs_srcdir): Define.
+       (doc/%.dvi, doc/gccinstall.dvi): Use $(abs_docdir).
+
+2004-01-30  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * genconfig.c (main): Have CC0_P check its operand even on a
+       target without cc0.
+
+2004-01-30  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/alpha/alpha.c: Remove mentions of deprecates macros
+       in comments, remove some target-independent comments about target
+       macros, and/or add minimal function comments for target hook
+       implementations.
+       * config/avr/avr.c: Likewise.
+       * config/ia64/ia64.h: Likewise.
+       * config/ip2k/ip2k.c: Likewise.
+       * config/iq2000/iq2000.c: Likewise.
+       * config/m32r/m32r.h: Likewise.
+       * config/m68hc11/m68hc11.c: Likewise.
+       * config/mcore/mcore.c: Likewise.
+       * config/mmix/mmix.c: Likewise.
+       * config/mn10300/mn10300.c: Likewise.
+       * config/pa/pa.c: Likewise.
+       * config/pdp11/pdp11.c: Likewise.
+       * config/rs6000/rs6000.h: Likewise.
+       * config/sh/sh.c: Likewise.
+       * config/sh/sh.h: Likewise.
+       * config/sparc/sparc.c: Likewise.
+       * config/sparc/sparc.h: Likewise.
+       * config/stormy16/stormy16.c: Likewise.
+       * config/xtensa/xtensa.c: Likewise.
+
+2004-01-30  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       PR optimization/12147
+       * reload1.c (reload_reg_free_p): RELOAD_OTHER conflicts with
+       RELOAD_FOR_OPADDR_ADDR.
+       (reload_reg_reaches_end_p): RELOAD_FOR_OTHER_ADDRESS register
+       might be reused as RELOAD_FOR_OPADDR_ADDR register.
+
+2004-01-30  Jan Hubicka  <jh@suse.cz>
+
+       * reload.c (get_secondary_mem): Fix updating of
+       secondary_memlocs_elim_used.
+
+2004-01-30  Richard Henderson  <rth@redhat.com>
+
+       * varasm.c (struct rtx_const, struct pool_constant): Remove.
+       (MAX_RTX_HASH_TABLE): Remove.
+       (const_rtx_hash_table, const_rtx_sym_hash_table): Remove.
+       (first_pool, last_pool, pool_offset): Remove.
+       (struct rtx_constant_pool): Split out from ...
+       (struct varasm_status): ... here.  Reference one via pointer.
+       (struct constant_descriptor_rtx): Merge struct pool_constant.
+       (SYMHASH): Remove.
+       (decode_rtx_const): Remove.
+       (const_hash_rtx, compare_constant_rtx): Remove.
+       (record_constant_rtx): Remove.
+       (const_desc_rtx_hash, const_desc_rtx_eq): New.
+       (const_desc_rtx_sym_hash, const_desc_rtx_sym_eq): New.
+       (const_rtx_hash_1, const_rtx_hash): New.
+       (init_varasm_status): Allocate a rtx_constant_pool, and its hashes.
+       (simplify_subtraction): Use simplify_rtx.
+       (force_const_mem): Rewrite to use new data structures.
+       (find_pool_constant): Likewise.
+       (get_pool_constant, get_pool_constant_mark,
+       get_pool_constant_for_function, get_pool_mode,
+       get_pool_mode_for_function, get_pool_offset, get_pool_size): Likewise.
+       (output_constant_pool_2): Split out from output_constant_pool.
+       (output_constant_pool_1): Likewise.  Use new pool datastructures.
+       (output_constant_pool): Zap entire pool datastructure.
+       (mark_constant): Use new pool datastructures.
+       (mark_constants): Use for_each_rtx.
+       (mark_constant_pool): Use new pool datastructures.
+
+2004-01-30  Fariborz Jahanian <fjahanian@apple.com>
+        
+        * config/rs6000/rs6000.c (rs6000_emit_move): Remove #if 0. 
+       Copy operands[1] to pseudo for simplify_gen_subreg.
+
+2004-01-30  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * gcse.c (bypass_block): Fix a typo in the previous check-in
+       to the file.
+
+2004-01-30  Andrew Pinski <pinskia@physics.uc.edu>
+
+       * toplev.c: Include alloc-pool.h.
+       * Makefile.in (toplev.c): Update dependencies. 
+
+2004-01-30  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * combine.c (simplify_shift_const, case XOR): Be careful when
+       commuting XOR with ASHIFTRT.
+
+2004-01-30  Kazu Hirata  <kazu@cs.umass.edu>
+            Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * config/sparc/sparc-protos.h: Remove the prototype for
+       sparc_builtin_saveregs.
+       * config/sparc/sparc.c (TARGET_PROMOTE_FUNCTION_ARGS): New.
+       (TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
+       (TARGET_PROMOTE_PROTOTYPES): Likewise.
+       (TARGET_STRUCT_VALUE_RTX): Likewise.
+       (TARGET_RETURN_IN_MEMORY): Likewise.
+       (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise.
+       (TARGET_STRICT_ARGUMENT_NAMING): Likewise.
+       (sparc_builtin_saveregs): Make it static.
+       (sparc_promote_prototypes): New.
+       (sparc_struct_value_rtx): Likewise.
+       (sparc_return_in_memory): Likewise.
+       * config/sparc/sparc.h: (PROMOTE_FUNCTION_ARGS): Remove.
+       (PROMOTE_FUNCTION_RETURN): Likewise.
+       (RETURN_IN_MEMORY): Likewise.
+       (STRUCT_VALUE): Likewise.
+       (STRUCT_VALUE_INCOMING): Likewise.
+       (EXPAND_BUILTIN_SAVEREGS): Likewise.
+       (STRICT_ARGUMENT_NAMING): Likewise.
+       (PROMOTE_PROTOTYPES): Likewise.
+
+       * config/sparc/sparc.h (PROMOTE_MODE): Use word_mode.
+
 2004-01-30  Eric Botcazou  <ebotcazou@libertysurf.fr>
 
        PR c/12818
        * config/pdp11/pdp11.h (STRUCT_VALUE): Remove.
        (RETURN_IN_MEMORY): Likewise.
 
-2004-01-26  Fariborz Jahanian <fjahanian@apple.com>
+2004-01-26  Fariborz Jahanian  <fjahanian@apple.com>
 
         * config/rs6000/rs6000.c (rs6000_emit_move): split slow
         unaligned load/store into smaller loads and stores.
 
-2004-01-26  Fariborz Jahanian <fjahanian@apple.com>
+2004-01-26  Fariborz Jahanian  <fjahanian@apple.com>
 
        * function.c (assign_parms): Do not assign
        long long argument to memory in prologue if
        is it loaded into register.
 
-2004-01-26  Fariborz Jahanian <fjahanian@apple.com>
+2004-01-26  Fariborz Jahanian  <fjahanian@apple.com>
 
         PR middle-end/13779
         * expr.c (emit_group_load): split constant
         correctly into register components of PARALLEL insn.
 
-2004-01-26  Fariborz Jahanian <fjahanian@apple.com>
+2004-01-26  Fariborz Jahanian  <fjahanian@apple.com>
 
        * gcc/config/rs6000/rs6000.md (save_stack_nonlocal):
        Use adjust_address_nv directly with appropriate mode.
        * pa.h: Likewise.
        * pa.md: Likewise.
 
-2004-01-21  Caroline Tice <ctice@apple.com>
+2004-01-21  Caroline Tice  <ctice@apple.com>
 
        PR target/12308
        * config/i386/i386.md (fix_truncxfdi2): Add clause to clobber