OSDN Git Service

PR target/5626
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 9a9478b..4286a21 100644 (file)
@@ -1,3 +1,293 @@
+2002-03-13  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/5626
+       * config/sparc/sparc.md (normal_branch, inverted_branch,
+       normal_fp_branch, inverted_fp_branch, normal_fpe_branch,
+       inverted_fp_branch): Adjust calls to output_cbranch.
+       Set length attribute.
+       (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to
+       output_v9branch.  Set length attribute.
+       * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New
+       predicates.
+       (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode.
+       (output_cbranch): Likewise.  Handle far branches.
+       (output_v9branch): Handle far branches.
+       * config/sparc/sparc-protos.h (output_cbranch, output_v9branch):
+       Adjust prototypes.
+       * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and
+       noov_compare64_op predicates.
+
+2002-03-13  Jason Merrill  <jason@redhat.com>
+
+       * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr
+       into the function and constify it.
+       * gthr-dce.h, gthr-solaris.h: Likewise.
+
+2002-03-13  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define.
+       * config/rs6000/rs6000.c (rs6000_va_arg): Use
+       std_expand_builtin_va_arg if not ABI_V4.
+
+2002-03-13  Jason Merrill  <jason@redhat.com>
+
+       * varasm.c (globalize_decl): New fn.
+       (assemble_start_function): Use it.
+       (asm_emit_uninitialized): Use it.
+       (assemble_alias): Use it.
+       (assemble_variable): Use it.
+
+2002-03-13  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/cris/cris.c (cris_target_asm_function_prologue): Revert
+       2002-03-12 internal visibility change. 
+       (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding
+       visibility into SYMBOL_REF_FLAG.
+
+2002-03-13  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with
+       VOIDmode operand.  Add compile-time optimization for constant results.
+
+2002-03-12  Jason Merrill  <jason@redhat.com>
+
+       * c-typeck.c (convert_for_assignment): Don't allow conversions
+       between pointers and references.  Only allow lvalues to convert to
+       reference.
+
+2002-03-13  Hartmut Penner  <hpenner@de.ibm.com>
+
+        * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code
+        before prologue, to avoid scheduling problems.
+
+2002-03-13  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
+       (ELIMINABLE_REGS): Add sfp->sp.
+       (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too.
+
+2002-03-13  Jakub Jelinek  <jakub@redhat.com>
+
+       PR optimization/5892
+       * config/ia64/ia64.c (rotate_one_bundle): Update current packet.
+
+2002-03-13  Jakub Jelinek  <jakub@redhat.com>
+
+       * loop.c (basic_induction_var): Don't call convert_modes if mode
+       classes are different.
+
+2002-03-12  Richard Henderson  <rth@redhat.com>
+
+       PR optimization/5901
+       * function.c (reposition_prologue_and_epilogue_notes): Position
+       the markers after/before the last/first insn not deleted.
+
+2002-03-12  Richard Henderson  <rth@redhat.com>
+
+       PR optimization/5878
+       * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h,
+       config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h
+       (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
+
+       * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h,
+       config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set
+       PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic.
+
+       * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New.
+       * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM.
+       (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK
+       also.  Don't set it if not flag_pic.
+       * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM
+       to be INVALID_REGNUM when not used.
+
+2002-03-13  Aldy Hernandez  <aldyh@redhat.com>
+
+       * expmed.c (store_bit_field): Reset alias set for memory.
+       (extract_bit_field): Same.
+
+2002-03-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * c-common.c (c_tree_code_type, c_tree_code_length,
+       c_tree_code_name, add_c_tree_codes): Delete.
+       * c-common.h (add_c_tree_codes): Delete.
+       * c-lang.c (tree_code_type, tree_code_length, tree_code_name):
+       Define.
+       * c-objc-common.c (c_objc_common_init): Don't call
+       add_c_tree_codes, instead set lang_unsafe_for_reeval.
+       * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
+       objc_tree_code_name, add_objc_tree_codes): Delete.
+       (objc_init): Don't call add_objc_tree_codes.
+       * objc/objc-lang.c (tree_code_type, tree_code_length,
+       tree_code_name): Define.
+       * toplev.c (lang_independent_init): Don't set
+       tree_code_length[IDENTIFIER_NODE].
+       * tree.c (tree_code_type, tree_code_length, tree_code_name):
+       Delete definitions, moved to language front-ends.
+       * tree.def (IDENTIFIER_NODE): Hardwire the length.
+       * tree.h (tree_code_type, tree_code_length, tree_code_name):
+       Const-ify.
+       (tree_code_length): Change type to unsigned char.
+
+2002-03-12  Richard Henderson  <rth@redhat.com>
+
+       * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03
+       internal visibility change.
+
+2002-03-12  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/xtensa/xtensa.c (xtensa_expand_block_move): Use
+       validize_mem() instead of change_address to avoid clobbering
+       memory attributes.
+
+2002-03-12  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * c-lex.h (position_after_whitespace): Remove.
+
+2002-03-12  Jakub Jelinek  <jakub@redhat.com>
+
+       * c-lex.c (cb_ident, c_lex): Remove unnecessary cast.
+       (lex_string): Use unsigned char pointers.
+
+2002-03-12  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent
+       is not a valid memory_operand.
+
+2002-03-12  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS.
+       * config/xtensa/lib1funcs.asm: Fix copyright to include
+       special case for libgcc files.
+       (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0.
+       (__divsi3): Likewise.
+       (__umodsi3): Likewise.
+       (__modsi3): Likewise.
+       * config/xtensa/lib2funcs.S: Fix copyright to include
+       special case for libgcc files.
+
+2002-03-12  Tom Rix  <trix@redhat.com>
+
+       * collect2.c (resolve_lib_name): Move outside of
+       OBJECT_FORMAT_COFF ifdef. 
+       (ignore_library): Same.
+
+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>
 
 
 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.
 
@@ -183,12 +474,12 @@ Sat Mar  9 07:20:01 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
 2002-03-08  Aldy Hernandez  <aldyh@redhat.com>
 
-        * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for
-        vectors.
+       * 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.
+       * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.
 
 Fri Mar  8 21:27:49 CET 2002  Jan Hubicka  <jh@suse.cz>
 
@@ -332,11 +623,11 @@ Thu Mar  7 16:33:54 CET 2002  Jan Hubicka  <jh@suse.cz>
 
 2002-03-07  Aldy Hernandez  <aldyh@redhat.com>
 
-        * doc/invoke.texi: Add documentation for -mabi=no-altivec.
+       * doc/invoke.texi: Add documentation for -mabi=no-altivec.
 
-        * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add
-        -mabi=no-altivec
-        (alt_reg_names): Remove % for vrsave.
+       * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add
+       -mabi=no-altivec
+       (alt_reg_names): Remove % for vrsave.
 
 2002-03-06  Richard Henderson  <rth@redhat.com>
 
@@ -348,7 +639,7 @@ Thu Mar  7 16:33:54 CET 2002  Jan Hubicka  <jh@suse.cz>
 
 2002-03-06  Ulrich Weigand  <uweigand@de.ibm.com>
 
-        * reload1.c (reload): Unshare all rtl after reload is done.
+       * reload1.c (reload): Unshare all rtl after reload is done.
 
        * simplify-rtx.c (simplify_plus_minus): Do not abort,
        but simply fail if the expression is too complex to simplify.
@@ -473,7 +764,7 @@ Tue Mar  5 18:31:27 CET 2002  Jan Hubicka  <jh@suse.cz>
 
 2002-03-05  Richard Henderson  <rth@redhat.com>
 
-        * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
+       * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
 
 2002-03-04  Geoffrey Keating  <geoffk@redhat.com>
 
@@ -520,10 +811,10 @@ Mon Mar  4 15:33:54 CET 2002  Jan Hubicka  <jh@suse.cz>
 
 2002-03-03  Aldy Hernandez  <aldyh@redhat.com>
 
-        * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
-        (powerpc-*-eabisimaltivec*): Same.
+       * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
+       (powerpc-*-eabisimaltivec*): Same.
 
-        * config/rs6000/t-ppcendian: New.
+       * config/rs6000/t-ppcendian: New.
 
 2002-03-04  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>