OSDN Git Service

* config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 9078f5b..0d1de09 100644 (file)
@@ -1,3 +1,309 @@
+2002-03-12  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define.
+
+2002-03-12  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch
+       to function_section before writing out the constant pool.
+
+2002-03-12  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and
+       zero_constant.
+       * config/rs6000/rs6000.c (easy_fp_constant): Fix formatting.
+
+2002-03-12  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/rs6000/rs6000.md (addsi3): Optimize sign extension.
+       (adddi3): Likewise.
+       (movdf): Likewise.
+       (movdi): Likewise.
+       (cmpsi splitter): Likewise.
+       (modsi3): Fail if <= 0.
+       * config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove
+       redundant test when HOST_BITS_PER_WIDE_INT != 32.
+       (reg_or_sub_cint64_operand): Likewise.
+       (num_insns_constant_wide): Optimize sign extension.
+       (rs6000_legitimize_address): Likewise.
+
+2002-03-12  Andrew MacLeod  <amacleod@redhat.com>
+
+       * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
+       * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
+
+2002-03-12  Andrew MacLeod  <amacleod@redhat.com>
+
+       * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in
+       address calculation.
+
+2002-03-12  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390.md (reload_insi, reload_indi): Change mode of
+       scratch register to DImode / TImode.
+       config/s390/s390.c (s390_expand_plus_operand): Make sure scratch
+       register used does not overlap the target.
+
+2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * Makefile.in (debug.o): Depend on debug.h.
+       * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify.
+       * debug.c (do_nothing_debug_hooks): Likewise.
+       * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks,
+       sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks,
+       dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise.
+       * dwarf2out.c (dwarf2_debug_hooks): Likewise.
+       * dwarfout.c (dwarf_debug_hooks): Likewise.
+       * integrate.c (output_inline_function): Likewise.
+       * objc/objc-act.c (synth_module_prologue): Likewise.
+       * sdbout.c (sdb_debug_hooks): Likewise.
+       * toplev.c (debug_hooks): Likewise.
+       * vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
+
+2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h,
+       dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h,
+       m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h,
+       ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h,
+       v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete.
+       * defaults.h (POINTER_SIZE): Define.
+       * doc/tm.texi (POINTER_SIZE): Document default.
+
+2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * mn10200.h (PTRDIFF_TYPE): Change it to a signed type.
+
+2002-03-11  Richard Henderson  <rth@redhat.com>
+
+       * toplev.c (rest_of_compilation): Call purge_all_dead_edges
+       if rebuild_label_notes_after_reload.
+
+2002-03-12  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/cris/cris.c (cris_target_asm_function_prologue):  Do not
+       emit pic register load if "internal" visibility.
+       (cris_print_operand): Avoid traditional-warning for 0xffffffff.
+       (cris_expand_builtin_va_arg): Do all computations on trees.
+
+2002-03-11  Richard Henderson  <rth@redhat.com>
+
+       * rtlanal.c: Include recog.h.
+       (keep_with_call_p): Fix thinko.
+       * Makefile.in (rtlanal.o): Update dependencies.
+
+2002-03-11  Chris Meyer  <cmeyer@gatan.com>
+
+       * genflags.c (gen_insn): Use IS_VSPACE.
+       * genoutput.c (output_insn_data): Likewise.
+       (process_template): Likewise.
+
+2002-03-11  Richard Henderson  <rth@redhat.com>
+
+       * toplev.c (rest_of_compilation): Don't compile if we've had errors.
+
+2002-03-11  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * Makefile.in: Update.
+       * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
+       Update documentation.
+       * doc/gcc.texi: Include cppopts.texi and cppenv.texi.
+       * doc/cpp.texi: Include cppopts.texi and cppenv.texi.
+
+2002-03-11  Zack Weinberg  <zack@codesourcery.com>
+
+       * Makefile.in: Give texi2pod its input file as a command line
+       argument, not on stdin.
+
+2002-03-11  Dan Nicolaescu  <dann@ics.uci.edu>
+           Daniel Berlin  <dan@dberlin.org>
+
+       C++ alias analysis improvement.
+       * alias.c (record_component_aliases): Record aliases for base 
+       classes too.
+
+2002-03-11  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register.
+
+2002-03-11  Douglas B Rupp  <rupp@gnat.com>
+
+       * toplev.c (vms_fopen): Remove, not needed.
+
+       * vmsdbgout.c (lookup_filename): Adjust creation date for GMT.
+
+       * config/alpha/xm-vms.h (__UNIX_FWRITE): Define.
+
+       * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space
+       for FP, already done later.
+
+       * toplev.c (debug_args): Add entry for VMS_DEBUG.
+       * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc.
+
+2002-03-11  Richard Sandiford  <rsandifo@redhat.com>
+
+       * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New.
+       (MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if
+       LARGEST_EXPONENT_IS_NORMAL for the given mode.
+       (MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO.
+       * real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO.
+       (ediv, emul, eldexp, esqrt): Likewise.
+       (etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise.
+       (e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL.
+       (saturate): New function.
+       (toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL.
+       (make_nan): Use a saturation value instead of a NaN if
+       LARGEST_EXPONENT_IS_NORMAL.  Warn when this happens.
+       * fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing
+       inputs if LARGEST_EXPONENT_IS_NORMAL.  Represent subnormals as
+       zero if NO_DENORMALS.  Only round to nearest if !ROUND_TOWARDS_ZERO.
+       (unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL.
+       (_fpmul_parts, _fpdiv_parts): Only round to nearest if
+       !ROUND_TOWARDS_ZERO.
+       * doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document.
+       (ROUND_TOWARDS_ZERO): Document.
+
+2002-03-11  Andreas Jaeger  <aj@suse.de>
+
+       * cfg.c (dump_flow_info): Remove unused variable.
+
+2002-03-11  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all
+       computations on trees.
+
+2002-03-10  Richard Henderson  <rth@redhat.com>
+
+       PR 5693:
+       * reload.c (copy_replacements_1): New.
+       (copy_replacements): Use it to recurse through the rtx.
+
+2002-03-10  Richard Henderson  <rth@redhat.com>
+
+       * loop.c (strength_reduce): Compute number of iterations as
+       unsigned HOST_WIDE_INT.
+
+2002-03-10  Richard Henderson  <rth@redhat.com>
+
+       * sched-rgn.c (add_branch_dependences): Don't allow insns that throw
+       to move away from the end of the block.
+
+2002-03-10  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       PR preprocessor/5899
+       * cppinit.c (init_dependency_output): Don't ignore -dM etc.
+
+2002-03-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * mbchar.c (JIS_state_table, JIS_action_table): Const-ify.
+
+       * attribs.c (decl_attributes): Fix signed/unsigned warning.
+
+2002-03-10  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * config/mmix/mmix.c: Improve comments.
+       (mmix_target_asm_function_prologue): Drop variable
+       empty_stack_frame.  Don't allocate unused slot above fp.
+       (mmix_target_asm_function_epilogue): Mirror prologue changes.
+       * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have
+       brace in first column.
+       (enum reg_class): Ditto.
+       (FIRST_PARM_OFFSET): Now 0.
+       (USER_LABEL_PREFIX): Remove #if 0:d definition.
+
+2002-03-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * combine.c (make_extraction): Fix error in last change.
+
+2002-03-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * c4x.c (c4x_fp_reglist): Const-ify.
+       * cris.c (cris_print_operand): Likewise.
+       * i386.c (ix86_va_arg): Likewise.
+       * ia64/unwind-ia64.c (unw_decode_table): Likewise.
+       * m32r.c (m32r_hard_regno_mode_ok): Likewise.
+       * m32r.h (m32r_hard_regno_mode_ok): Likewise.
+       * mcore.c (regno_reg_class, mcore_unique_section): Likewise.
+       * mcore.h (regno_reg_class): Likewise.
+       * mips.c (gen_int_relational): Likewise.
+       * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise.
+       * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise.
+       * pdp11.c (move_costs): Likewise.
+       * pj.h (INITIALIZE_TRAMPOLINE): Likewise.
+       * s390.c (s390_branch_condition_mnemonic, regclass_map):
+       Likewise.
+       * s390.h (regclass_map): Likewise.
+       * sh.c (shift_amounts): Likewise.
+       * sh.md (rotlsi3): Likewise.
+
+2002-03-09  Geoffrey Keating  <geoffk@redhat.com>
+
+       * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER.
+       (ne0+5): Use new clobber to generate proper shift pattern.
+       Patch by Michael Matz <matz@kde.org>.
+
+2002-03-09  Andreas Schwab  <schwab@suse.de>
+
+       * gcc.c (validate_all_switches): Also handle `%W{...}'.
+
+2002-03-09  Geoffrey Keating  <geoffk@redhat.com>
+
+       * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define.
+
+2002-03-09  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/5877
+       * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW
+       even for non-representable constants.
+
+Sat Mar  9 07:20:01 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.
+       * function.c (fixup_var_refs): Add MAY_SHARE parameter.
+       (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise.
+       (fixup_var_refs_insn, fixup_var_refs_1): Likewise.
+       (pop_function_context): Compute MAY_SHARE parameter for
+       fixup_var_refs.
+       (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR.
+       (gen_mem_addressof): Call fixup_var_refs with new parm.
+
+       * combine.c (make_extraction): Don't make extension of CONST_INT.
+
+2002-03-09  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/mips/mips.c (function_arg_pass_by_reference): Force to 0
+       in o32 and o64 ABIs.
+       * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h,
+       but getting fixed-size structs passed in registers regardless of
+       padding in o32 and o64 ABIs.
+
+       * config/mips/mips.c (mips_va_arg): Apply big-endianness address
+       offset before loading address of argument passed by transparent
+       reference.
+
+2002-03-08  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete.
+
+2002-03-09  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/mips/mips.c (mips_expand_prologue): Set regno of vararg
+       marker such that registers after it are saved.
+
+2002-03-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * sparc.c (arith_4096_operand): Fix error in last change.
+
+2002-03-08  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate
+       defaults for MEABI.
+
+2002-03-08  Aldy Hernandez  <aldyh@redhat.com>
+
+        * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for
+        vectors.
+
 2002-03-08  Aldy Hernandez  <aldyh@redhat.com>
 
         * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.
@@ -68,6 +374,15 @@ Fri Mar  8 06:48:45 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
        * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify.
 
+2002-03-07  Matt Hiller  <hiller@redhat.com>
+
+       * gensupport.c (first_dir_md_include): Renamed from include;
+       change all references.
+       (last_dir_md_include): Renamed from last_include; change all
+       references.
+       (init_md_reader): Unconditionally initialize base_dir whether or
+       not filename is a relative path.
+
 2002-03-07  Alexandre Oliva  <aoliva@redhat.com>
 
        * config/fp-bit.c (_unord_f2): Compile it in even if
@@ -143,6 +458,7 @@ Thu Mar  7 16:33:54 CET 2002  Jan Hubicka  <jh@suse.cz>
 
 2002-03-06  Richard Henderson  <rth@redhat.com>
 
+       PR optimization/5844
        * genemit.c (gen_exp): New argument used.  Invoke copy_rtx
        if used indicates we've already emitted one copy of an operand.
        (gen_insn, gen_expand, output_add_clobbers): Supply a null used.