OSDN Git Service

PR target/5626
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index ba11d1a..4286a21 100644 (file)
@@ -1,3 +1,133 @@
+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
@@ -344,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>
 
@@ -493,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>
 
@@ -509,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.
@@ -634,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>
 
@@ -681,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>