OSDN Git Service

* ChangeLog.2, ChangeLog.3, ChangeLog.5, ChangeLog, alias.c,
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 3ef955c..44ddefb 100644 (file)
@@ -1,3 +1,407 @@
+2001-12-09  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * ChangeLog.2, ChangeLog.3, ChangeLog.5, ChangeLog, alias.c,
+       cfgbuild.c, expmed.c, expr.c, final.c, flow.c, fold-const.c,
+       function.c, config/alpha/alpha.md, config/alpha/vms-ld.c,
+       config/arm/arm.c, config/arm/arm.h, config/c4x/libgcc.S,
+       config/i370/i370.c, config/i386/i386.c,
+       config/i386/i386-interix.h, config/i386/i386.md,
+       config/i386/i386.h, config/i386/netbsd-elf.h, config/ia64/ia64.c,
+       config/m32r/m32r-protos.h, config/mcore/mcore.h,
+       config/rs6000/rs6000.h, config/sparc/linux64.h,
+       config/sparc/sparc.c, config/v850/v850-protos.h,
+       config/cris/cris.h, config/s390/s390.md, config/elfos.h: Fix
+       spelling errors.
+
+2001-12-09  Daniel Berlin  <dan@cgsoftware.com>
+
+       * config/rs6000/rs6000.h (enum rs6000_builtins): Add remaining
+       altivec builtins (VCF?X, VCT?XS, VSEL, V*EFP, VRFI*).
+
+       * config/rs6000/rs6000.c: Ditto.
+
+       * config/rs6000/rs6000.md: Ditto.
+
+2001-12-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * 1750a.md: Add default case in switch.
+       * alpha/vms.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in
+       if-else statement.
+       * dsp16xx.c (print_operand_address): Likewise.
+       * i386/osf1elf.h (FUNCTION_PROFILER): Const-ify.
+       * ia64.md: Add missing braces.
+       * rs6000-protos.h (s8bit_cint_operand): Prototype.
+       * s390.h (INITIAL_ELIMINATION_OFFSET): Add abort clause in
+        if-else statement.
+       * stormy16.h (REG_CLASS_CONTENTS): Add missing braces.
+       * v850.h (OUTPUT_ADDR_CONST_EXTRA): Don't issue a `return'.
+       * dbxout.c (dbxout_source_file): Move a variable into the scope
+       where it is used.
+       * final.c (profile_function): Mark parameter with
+       ATTRIBUTE_UNUSED.
+       * genemit.c (gen_expand): Likewise for generated file.
+       * insn-addr.h (INSN_ADDRESSES_NEW): Avoid undefined behavior.
+
+       * vmsdbg.h: Delete spurious close-comment.
+       (DST_HEADER): Fix typo in ENUM_BITFIELD parameter.
+       * vmsdbgout.c (write_modbeg): Define return type.
+
+       * m68k/3b1.h (ASM_OUTPUT_ALIGN): Wrap in do-while(0).
+       * m68k/amix.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
+       * m68k/atari.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
+       * m68k/hp320.h (ASM_OUTPUT_ALIGN): Likewise.
+       * m68k/m68kelf.h (ASM_OUTPUT_ALIGN): Likewise.
+       * m68k/sgs.h (ASM_OUTPUT_ALIGN): Likewise.
+       * m68k/tower-as.h (ASM_OUTPUT_ALIGN): Likewise.
+
+2001-12-08  Tom Rix  <trix@redhat.com>
+
+       * config/rs6000/aix43.h (NON_POWERPC_MASKS): Delete MASK_STRING.
+       * config/rs6000/aix51.h (NON_POWERPC_MASKS): Same.
+       * config/rs6000/rs6000.md (load_multiple, store_multiple): Do not use 
+       for powerpc64.
+       * config/rs6000/rs6000.md (movstrsi_8reg, movstrsi_6reg, 
+       movstrsi_4reg, movstrsi_1_reg): Add powerpc64.
+       * config/rs6000/rs6000.c (expand_block_move): Do not use 
+       gen_movstrsi_2reg and powerpc64.
+
+2001-10-08  Aldy Hernandez  <aldyh@redhat.com>
+
+       * c-common.h (rid): Add RID_CHOOSE_EXPR and
+        RID_TYPES_COMPATIBLE_P.
+
+        * c-parse.in (reswords): Add __builtin_choose_expr.
+        Add __builtin_types_compatible_p.
+        Add CHOOSE_EXPR token.
+       Add TYPES_COMPATIBLE_P token.
+        Add production for CHOOSE_EXPR.
+        Add production for TYPES_COMPATIBLE_P.
+
+        * doc/extend.texi (__builtin_choose_expr): Add documentation.
+        (__builtin_types_compatible_p): Likewise.
+
+2001-12-08  David Edelsohn  <edelsohn@gnu.org>
+
+       * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
+       to unions.
+
+2001-12-08  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * c-parse.in: Take string literals in assembler constructs,
+       not expressions.
+       * c-typeck.c (build_asm_stmt, simple_asm_stmt): No need to
+       check the strings are STRING_CSTs.
+
+2001-12-08  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * c-lex.c (c_lex): Peek a token ahead for a string to concatenate,
+       using combine_strings to do the concatenation.
+       * c-parse.in: Replace uses of the string non-terminal with STRING.
+       Don't attempt string concatenation.
+       (OBJC_STRING): New terminal.
+       (string): Remove non-terminal.
+       (_yylex): Call combine_strings on function names.  Generate
+       OBJC_STRING terminals; don't pass '@' on to yacc.
+       * c-typeck.c (simple_asm_stmt): Don't concatenate strings here.
+       (build_asm_stmt): Similarly.
+
+2001-12-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * rtlanal.c (get_jump_table_offset): Delete unused variable.
+
+2001-12-08  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm.md (VUNSPEC_PREFETCH): Delete constant definition.
+       (prefetch): Rewrite using PREFETCH RTL primitive.
+       * arm.h (arm_builtins): Delete ARM_BUILTIN_PREFETCH).
+       * arm.c (arm_init_builtins): Don't initialize a builtin for
+       __builtin_prefetch here.
+       (arm_expand_builtin): Don't expand __builtin_prefetch here.
+
+2001-12-08  Richard Earnshaw  <rearnsha@arm.com>
+
+       * final.c (cleanup_subreg_operands):  Use recog_data.operand_loc
+       in test for a subreg.
+
+2001-12-08  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * rtl.c (rtx_equal_p): Check for null pointers when comparing rtx
+       strings.
+
+2001-12-07  Richard Henderson  <rth@redhat.com>
+
+       * doc/extend.texi: Fix typo last change.
+
+       * c-decl.c (c_language): Remove duplicate.
+
+2001-12-07  Dale Johannesen  <dalej@apple.com>
+
+        * config/rs6000/darwin.h: Set MAX_LONG_TYPE_SIZE to 32.
+        * config/rs6000/rs6000.c (rs6000_emit_move): In Darwin-
+        specific codegen, eliminate a register copy.
+        (print_operand_address): Add support for Darwin's lo16(constant) 
+       syntax.
+        (rs6000_machopic_legitimize_pic_address): Fix darwin-specific 
+        generation of addresses within very large data objects.
+        (s8bit_cint_operand):  New.
+        * config/rs6000/rs6000.md: Remove "iu" reference for 750/7400.
+        Move "mtjmpr" to correct functional unit for 750/7400/7450.
+        Add imul2 and imul3 insn types for multiplication by 16- and 
+       8-bit constants.
+        Change tablejump patterns to strongly discourage using LR 
+       rather than CTR.
+       Add %lo16 patterns for Darwin loads and stores.
+
+2001-12-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * alpha.md: Use (HOST_WIDE_INT)1<<63 in lieu of 0x8000000000000000.
+
+2001-12-07  Stephane Carrez  <Stephane.Carrez@sun.com>
+
+       * config/sparc/sparc.c (epilogue_renumber): Do not replace %fp
+       with %sp because it can cause the delayed instruction to load
+       below the stack.
+
+2001-12-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * alpha.c (alpha_expand_unaligned_store,
+       alpha_expand_unaligned_store_words): Use constm1_rtx in place of
+       call to immed_double_const.
+
+2001-12-07  Aldy Hernandez  <aldyh@redhat.com>
+
+       * doc/extend.texi (Variable Attributes): Document vector_size.
+
+        * attribs.c (c_common_attribute_table): Add vector_size.
+       (handle_vector_size_attribute): New.
+        (vector_size_helper): New.
+       (decl_attributes): Relayout the decl after calculating attribs.
+
+2001-12-07  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * doc/gcc.texi: Don't include install-old.texi.  Adjust menu
+       description for Trouble section.
+       * doc/install-old.texi: Adjust for inclusion as chapter of new
+       installation manual.
+       * doc/install.texi, doc/include/fdl.texi, doc/install.texi2html:
+       Adjust to include old installation chapter as chapter of new
+       installation manual.
+
+Fri Dec  7 11:07:35 EST 2001  John Wehle  (john@feith.com)
+
+       * rtl.h (get_jump_table_offset): Declare.
+       * rtlanal.c (get_jump_table_offset): Implement.
+
+Fri Dec  7 07:06:17 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * final.c (bb_head, bb_tail, bb_file_label_num, bb_func_label_num):
+       Deleted; were used only by BB profiler code.
+       (sbb_head, sbb_tail, sbb_label_num): Likewise.
+       (end_final): Delete now-unused vars I, PTR, and SPTR.
+
+       * expr.c (store_field): Remove warning.
+       (expand_expr, case COMPONENT_REF, case VIEW_CONVERT_EXPR): Likewise.
+       (highest_pow2_factor, case MIN_EXPR, case MAX_EXPR): Add cases.
+       (highest_pow2_factor, case *_DIV_EXPR): Only can do something if
+       divisor constant power of 2.
+       (highest_pow2_factor, case COMPOUND_EXPR): Look at operand 1.
+
+2001-12-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * alpha.c (function_arg): Cast value to HOST_WIDE_INT before
+       shifting.
+
+2001-12-06  Aldy Hernandez  <aldyh@redhat.com>
+
+       * rs6000.h (PRE_GCC3_DWARF_FRAME_REGISTERS): New.
+        (DWARF_FRAME_REGISTERS): Delete.
+
+2001-12-06  Janis Johnson  <janis187@us.ibm.com>
+
+       * builtin-types.def (BT_FN_VOID_PTR_VAR): New.
+       * builtins.def (BUILT_IN_PREFETCH): Change arguments.
+       * builtins.c (expand_builtin_prefetch): Two arguments are now optional,
+       with defaults for read prefetch with high degree of locality.
+       * doc/extend.texi (__builtin_prefetch): Update documentation.
+       * doc/md.texi (prefetch): Add documentation.
+
+2001-12-06  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * fixinc/inclhack.def (stdio_va_list): Handle __VA_LIST__ in Tru64
+       UNIX V5.1A stdio.h.
+       * fixinc/fixincl.x: Regenerate.
+       Fixes PR libf2c/4826.
+
+2001-12-06  Aldy Hernandez  <aldyh@redhat.com>
+            Richard Henderson  <rth@redhat.com>
+
+       * doc/tm.texi (DWARF_FRAME_REGISTERS): Add documentation.
+        (PRE_GCC3_DWARF_FRAME_REGISTERS): Same.
+
+        * unwind-dw2.c (__frame_state_for): Change DWARF_FRAME_REGISTERS
+        to PRE_GCC3_DWARF_FRAME_REGISTERS.
+        (frame_state): Same.
+       (PRE_GCC3_DWARF_FRAME_REGISTERS): Define if not already defined.
+
+2001-12-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * langhooks.c (lhd_staticp): Mark parameter with
+       ATTRIBUTE_UNUSED.
+
+2001-12-06  H.J. Lu <hjl@gnu.org>
+
+       * Makefile.in (.po.gmo): Use "-test -d po || mkdir po" to
+       reduce noise.
+       (.po.pox): Likewise.
+       (o/$(PACKAGE).pot): Likewise.
+
+2001-12-06  Alexandre Oliva  <aoliva@redhat.com>
+
+       * tree.c (get_callee_fndecl): Move DECL_ABSTRACT_ORIGIN-following...
+       * tree-inline.c (expand_call_inline): ... here.
+
+2001-12-06  H.J. Lu <hjl@gnu.org>
+
+       * Makefile.in (.po.gmo): Use "-mkdir po" for parallel build.
+       (.po.pox): Likewise.
+       (o/$(PACKAGE).pot): Likewise.
+
+2001-12-06  David O'Brien  <obrien@FreeBSD.org>
+
+       * config.gcc: Include dbxelf.h before elfos.h.
+       * elfos.h: Don't include dbxelf.h, let config.gcc handle it.
+
+2001-12-06  Zack Weinberg  <zack@codesourcery.com>
+
+       * cppfiles.c (open_file): If we've opened a directory by
+       mistake, close it.
+       (find_include_file): Avoid turning / into // or // into ///.
+
+2001-12-06  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/arm/arm.h (STRUCT_VALUE): Suppress definition.
+       (STRUCT_VALUE_REGNUM): Restore definition.
+
+2001-12-06  Andrew MacLeod <amacleod@redhat.com>
+
+       * flow.c (find_regno_partial): Return register, not the expression
+       the register is in.
+
+Thu Dec  6 09:24:12 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * function.c (handle_epilogue_set): Check for FP setting case when
+       SP is set from FP in same insn.
+
+2001-12-06  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/arm/arm.c (load_multiple_sequence): Pass pointer to
+        RTX when calling alter_subreg().
+       (store_multiple_sequence): Pass pointer to RTX when calling
+        alter_subreg().
+
+Thu Dec  6 06:55:13 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * function.c (assing_parms): Fix typo in last change.
+       * config/clipper.c (clipper_builtin_saveregs): Remove Checker code.
+       * config/m88k/m88k.c (m88k_builtin_saveregs): Likewise.
+       * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
+       * config/sparc/sparc.c (sparc_builtin_saveregs): Likewise.
+
+2001-12-06  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/rs6000/rs6000.c (rs6000_unique_section): Simplify and
+       correct code selecting section.
+
+Thu Dec  6 12:45:33 CET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * final.c (count_basic_block, add_bb, add_bb_string):
+       Kill.
+       (end_final, final_start_function, final, final_scan_insn,
+       leaf_function_p): Kill BB profiler related code.
+       * flags.h (profile_block_flag): Kill.
+       * libgcc2.c (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE,
+       BB_BUCKETS, BBINBUFSIZE, bb_edge, bb_func_mode, bb_func,
+       __bb, bb_src, bb_dst, bb_tracefile, bb_hashbuckets,
+       bb_func_head, bb_callcount, bb_mode, bb_stack, bb_stacksize
+       reported, GOPENDECOMPRESS, GOPENCOMPRESS, gopen, gclose,
+       __bb_exit_trace_func, __bb_init_prg, __bb_trace_func,
+       __bb_trace_func_ret, __bb_init_file, __bb_trace_ret,
+       __bb_init_trace_func): Kill.
+       * toplev.c (profile_block_flag): Kill.
+       (indepdendent_decode_option, process_options): Kill -a related code.
+       * alpha.c (direct_call_operand): Likewise.
+       * arm.c (arm_expand_prologue, thumb_expand_prologue,
+       thumb_expand_epilogue): Likewise.
+       * c4x.c (c4x_expand_prologue, c4x_null_epilogue_p): Likewise.
+       * c4x.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
+       FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
+       MACHINE_STATE_RESTORE): Kill.
+       * d30v.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
+       FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
+       MACHINE_STATE_RESTORE): Kill.
+       * fr30.c (fr30_expand_prologue): Kill BB profiler related code.
+       * i386.c (ix86_can_use_return_insn_p, ix86_expand_prologue,
+       ix86_expand_epilogue, ix86_expand_epilogue): Kill BB profiler related
+       code.
+       (ix86_output_function_block_profiler, ix86_output_block_profiler): Kill.
+       * i386.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
+       FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
+       MACHINE_STATE_RESTORE): Kill.
+       * fr30.c (fr30_expand_prologue): Kill BB profiler related code.
+       * i960.c (i960_output_function_prologue): Kill BB profiler related
+       code.
+       * ia64.c (ia64_compute_frame_size): Likewise.
+       * ia64.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
+       FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
+       MACHINE_STATE_RESTORE): Kill.
+       * m32r.c (m32r_expand_prolofue): Kill BB profiler related code.
+       * m68hc11.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
+       FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
+       MACHINE_STATE_RESTORE): Kill.
+       * m68k.c (m68k_output_function_epilogue): Kill BB profiler related code.
+       * m68k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
+       FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
+       MACHINE_STATE_RESTORE): Kill.
+       * m88k.c (output_options, m88k_layout_frame, m88k_expand_prologue):
+       Kill BB profiler related code.
+       * m88k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
+       FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
+       MACHINE_STATE_RESTORE): Kill.
+       * mips.c (mips_expand_prologue): Kill BB profiler related code.
+       * mmix.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
+       FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
+       MACHINE_STATE_RESTORE): Kill.
+       * rs6000.c (rs6000_override_options): Kill BB profiler related code.
+       * s960.c (s390_function_prologue): Kill BB profiler related code.
+       * s960.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
+       FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
+       MACHINE_STATE_RESTORE): Kill.
+       * linux-aout.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
+       * linux.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
+       * linux64.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
+       * sol2.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
+       * sparc.c (sparc_override_options, eligible_for_sibcall_delay,
+       sparc_nonflat_function_epilogue): Kill BB profiler related code.
+       (sparc_function_block_profiler, sparc_block_profiler,
+       sparc_function_block_profiler_exit): Kill.
+       * sparc.h (OVERRIDE_OPTIONS): Kill BB profiler related code.
+       (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
+       FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
+       MACHINE_STATE_RESTORE): Kill.
+       * sun4o3.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
+       * sunos4.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
+       * stormy16.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
+       FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
+       MACHINE_STATE_RESTORE): Kill.
+       * doc/invoke.texi: Kill documentation of -a and -ax.
+       * tm.texi (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
+       FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
+       MACHINE_STATE_RESTORE): Kill.
+
+2001-10-26  Steve Christiansen  <smc@us.ibm.com>
+
+       * doc/rtl.texi: Use a table to display RTL format characters.
+
 2001-12-06  Bo Thorsen  <bo@suse.co.uk>
 
        * config/i386/linux64.h (LINK_SPEC): Correct name of dynamic linker.
@@ -340,7 +744,7 @@ Wed Dec  5 00:42:16 EST 2001  John Wehle  (john@feith.com)
        * builtins.def (BUILT_IN_PREFETCH): New.
        * builtins.c (expand_builtin_expect): New.
          (expand_builtin): Call it.
-       * doc/extend.texi: Document __builtin_expect.
+       * doc/extend.texi: Document __builtin_prefetch.
 
        * config/i386/i386.md (prefetch): Rename as prefetch_sse to avoid
          conflicts with new generic prefetch functionality.
@@ -715,11 +1119,11 @@ objc:
 
        * config/rs6000/rs6000.md: Add attribute types vecsimple,
        veccomplex, vecfloat, and vecperm, for altivec instructions.
-       Modify altivec patterns to use approriate attribute type.
-       Modify altivec patterns to match RTL operations where approriate
+       Modify altivec patterns to use appropriate attribute type.
+       Modify altivec patterns to match RTL operations where appropriate
        (IE no unspec where we can avoid it).
        Add vector unit scheduling for ppc7450.
-       Rename patterns to what they are where approriate
+       Rename patterns to what they are where appropriate
        (altivec_vaddfp->addv4sf3, etc)
 
        * config/rs6000/rs6000.h (enum rs6000_builtins): Change VRS->VSR.