OSDN Git Service

2002-07-02 Chris Demetriou <cgd@broadcom.com>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index d2dac95..245e83d 100644 (file)
@@ -1,3 +1,192 @@
+2002-07-02  Chris Demetriou  <cgd@broadcom.com>
+
+       * config.gcc (mips*el-*-*): Use tm_defines to set
+       TARGET_ENDIAN_DEFAULT, rather than including mips/little.h.
+       * config/mips/little.h: Remove.
+
+2002-07-02 Devang Patel <dpatel@apple.com>
+
+       * objc/objc-act.c (adjust_type_for_id_default): Do not allow an
+       object as parameter. Prevent something like 'NSObject' to be
+       used as the type for a method argument.
+
+2002-07-03  Neil Booth  <neil@daikokuya.co.uk>
+
+       * cpptrad.c: Update comment.
+
+2002-07-02  Neil Booth  <neil@daikokuya.co.uk>
+       
+       * doc/cpp.texi: Update for traditional preprocessing changes.
+       * goc/cppopts.texi: Similarly.
+
+2002-07-02  Ziemowit Laski  <zlaski@apple.com>
+
+       * c-parse.in (designator): Enable designated initializers if ObjC.
+       (objcmessageexpr): Remove references to objc_receiver_context.
+       * objc/objc-act.h (objc_receiver_context): Remove decl.
+       * objc/objc-act.c (objc_receiver_context): Remove.
+       (lookup_objc_ivar): Test objc_method_context instead of
+       objc_receiver_context.
+
+Tue Jul  2 18:45:45 2002  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * sh.c (print_operand, case 'N'): Allow zero vector.
+       (arith_reg_or_0_operand): Likewise.
+       (zero_vec_operand): Check for CONST_VECTOR, not PARALLEL.
+       * sh.h (CONST_COSTS): 0 has 0 cost.  Check OUTER_CODE for 
+       IOR, XOR, PLUS and SET and take their respective constant
+       ranges into account.
+       (PREDICATE_CODES, arith_reg_or_0_operand): Can be CONST_VECTOR.
+       * sh.md (subdi3, subdi3_media): Allow zero operand.
+       (movv8qi_i+3): Only vector that is not split is the zero vector.
+       Fix operand 3 to simplify_subreg.
+       (movv2si_i): Split alternative 1.
+       (mshfhi_l_di_rev+1): New splitter.
+
+2002-07-02  Neil Booth  <neil@daikokuya.co.uk>
+
+       PR preprocessor/7029
+       * cppinit.c (cpp_handle_option):  Suppress warnings with an
+       implicit "-w" for "-M" and "-MM".
+       * doc/cppopts.texi: Update.
+
+2002-07-01  Roger Sayle  <roger@eyesopen.com>
+
+       * config/sh/sh.c (sh_media_init_builtins): Change use of poisoned
+       identifier "bzero" to "memset".  Pass extra NULL_TREE argument to
+       builtin_function.
+
+2002-07-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * README.Portability: Fix typos.
+
+2002-07-01  Hans-Peter Nilsson  <hp@axis.com>
+
+       PR target/7177
+       * config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Correct number
+       of indirections for register inside sign-extended mem part.
+
+2002-07-01  Roger Sayle  <roger@eyesopen.com>
+
+       * tree.h:  Modify builtin_function interface to take an extra
+       argument ATTRS, which is a tree representing an attribute list.
+
+       * c-decl.c (builtin_function): Accept additional parameter.
+       * objc/objc-act.c (builtin_function): Likewise.
+       * f/com.c (builtin_function): Likewise.
+       * java/decl.c (builtin_function): Likewise.
+       * ada/utils.c (builtin_function): Likewise.
+       * cp/decl.c (builtin_function): Likewise.
+       (builtin_function_1): Likewise.
+
+       * c-common.c (c_common_nodes_and_builtins): Pass an additional
+       NULL_TREE argument to builtin_function.  (builtin_function_2):
+       Likewise.
+       * cp/call.c (build_java_interface_fn_ref): Likewise.
+       * objc/objc-act.c (synth_module_prologue): Likewise.
+       * java/decl.c (java_init_decl_processing): Likewise.
+       * f/com.c (ffe_com_init_0): Likewise.
+
+       * config/alpha/alpha.c (alpha_init_builtins): Pass an additional
+       NULL_TREE argument to builtin_function.
+       * config/arm/arm.c (def_builtin): Likewise.
+       * config/c4x/c4x.c (c4x_init_builtins): Likewise.
+       * config/i386/i386.c (def_builtin): Likewise.
+       * config/ia64/ia64.c (def_builtin): Likewise.
+       * config/rs6000/rs6000.c (def_builtin): Likewise.
+
+2002-07-01  Zack Weinberg  <zack@codesourcery.com>
+
+       * config/ip2k/t-ip2k: Remove LIBGCC1, CROSS_LIBGCC1, and LIBGCC1_TEST.
+       * config/mips/t-isa3264: Likewise.
+       * config/mmix/t-mmix: Likewise.
+
+2002-07-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT.
+
+2002-07-01  Roger Sayle  <roger@eyesopen.com>
+
+       PR opt/4046
+       * fold-const.c (fold) [COND_EXPR]: Simplify A ? 0 : 1 to !A,
+       A ? B : 0 to A && B and A ? B : 1 into !A || B if both A and
+       B are truth values.
+
+2002-07-01  Nathanael Nerode  <neroden@gcc.gnu.org>
+
+       * config/mmix/t-mmix: Eliminate last reference to LIBGCC1_TEST.
+
+2002-07-01  Matt Kraai  <kraai@alumni.cmu.edu>
+
+       * README.Portability (Function prototypes): Give an example of
+       declaring and defining a function with no arguments.
+
+       * README.Portability (Function prototypes): Document new
+       variable-argument function macros.
+
+Mon Jul  1 19:55:17 2002  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * sh.c (langhooks.h): Include.
+       (sh_init_builtins, sh_media_init_builtins): New functions.
+       (sh_expand_builtin, arith_reg_dest,and_operand): Likewise.
+       (mextr_bit_offset, extend_reg_operand, zero_vec_operand): Likewise.
+       (sh_rep_vec, sh_1el_vec, sh_const_vec): Likewise.
+       (builtin_description): New struct tag.
+       (signature_args, bdesc): New arrays.
+       (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Undef / define.
+       (print_operand): Add 'N' modifier.
+       * sh.h (VECTOR_MODE_SUPPORTED_P): Add SHmedia vector modes.
+       (EXTRA_CONSTRAINT_U, EXTRA_CONSTRAINT_W): New macros.
+       (EXTRA_CONSTRAINT): Add 'U' and 'W' cases.
+       (CONST_COSTS): Add special case for SHmedia AND.
+       (PREDICATE_CODES): Add and_operand, arith_reg_dest,
+       extend_reg_operand, extend_reg_or_0_operand, mextr_bit_offset,
+       sh_const_vec, sh_1el_vec, sh_rep_vec, zero_vec_operand.
+       target_operand can also be const or unspec.
+       * sh.md (UNSPEC_INIT_TRAMP, UNSPEC_FCOSA UNSPEC_FSRRA): New constants.
+       (UNSPEC_FSINA, UNSPEC_NSB, UNSPEC_ALLOCO): Likewise.
+       (attribute type): Add new types.
+       (anddi3): Add splitter.
+       (movdi_const_16bit+1): Add code to handle vector constants and
+       bitmasks efficiently.
+       (shori_media): Have generator function made.
+       (movv8qi, movv8qi_i, movv8qi_i+1, movv8qi_i+2): New patterns.
+       (movv8qi_i+3, movv2hi, movv2hi_i, movv4hi, movv4hi_i): Likewise.
+       (movv2si, movv2si_i, absv2si2, absv4hi2, addv2si3, addv4hi3): Likewise.
+       (ssaddv2si3, usaddv8qi3, ssaddv4hi3, negcmpeqv8qi): Likewise.
+       (negcmpeqv2si, negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si): Likewise.
+       (negcmpgtv4hi, mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub): Likewise.
+       (mextr_rl, mextr_lr, mextr1, mextr2, mextr3, mextr4, mextr5): Likewise.
+       (mextr6, mextr7, mmacfx_wl, mmacfx_wl_i, mmacnfx_wl): Likewise.
+       (mmacnfx_wl_i, mulv2si3, mulv4hi3, mmulfx_l, mmulfx_w): Likewise.
+       (mmulfxrp_w, mmulhi_wl, mmullo_wl, mmul23_wl, mmul01_wl): Likewise.
+       (mmulsum_wq, mmulsum_wq_i, mperm_w, mperm_w_little): LIkewise.
+       (mperm_w_big, mperm_w0, msad_ubq, msad_ubq_i, mshalds_l): Likewise.
+       (mshalds_w, ashrv2si3, ashrv4hi3, mshards_q, mshfhi_b): Likewise.
+       (mshflo_b,  mshf4_b, mshf0_b, mshfhi_l, mshflo_l, mshf4_l): Likewsie.
+       (mshf0_l, mshfhi_w, mshflo_w, mshf4_w, mshf0_w, mshfhi_l_di): Likewise.
+       (mshfhi_l_di_rev, mshflo_l_di, mshflo_l_di_rev): Likewise.
+       (mshflo_l_di_x, mshflo_l_di_x_rev, ashlv2si3, ashlv4hi3): Likewise.
+       (lshrv2si3, lshrv4hi3, subv2si3, subv4hi3, sssubv2si3): Likewise.
+       (ussubv8qi3, sssubv4hi3, fcosa_s, fsina_s, fipr, fsrra_s): Likewise.
+       (ftrv): Likewise.
+
+       (fpu_switch+1, fpu_switch+2): Remove constraint.
+
+2002-07-01  Aldy Hernandez  <aldyh@redhat.com>
+
+        * tree.c (build_function_type_list): Update function comment.
+        Rename first argument to return_type.
+
+2002-07-01  Neil Booth  <neil@daikokuya.co.uk>
+
+       * Makefile.in: Remove all trace of tradcpp.c, tradcpp.h,
+       tradcif.y and related files.
+
+2002-07-01  Neil Booth  <neil@daikokuya.co.uk>
+
+       * cpptrad.c (skip_whitespace): Pass pointer to prior char.
+
 2002-07-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses.
@@ -97,7 +286,7 @@ Fri Jun 28 17:22:37 2002  Denis Chertykov  <denisc@overta.ru>
 
        PR preprocessor/7150
        * cppmain.c (scan_translation_unit_trad): Simplify.
-       * cpplib.c (cpp_scan_nooutput): Handle traditional case.
+       * cppmacro.c (cpp_scan_nooutput): Handle traditional case.
 
 2002-06-29  Neil Booth  <neil@daikokuya.demon.co.uk>