OSDN Git Service

* alpha.md (tablejump): Use pic_offset_table_rtx
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 231c5b5..2406ae6 100644 (file)
@@ -1,3 +1,347 @@
+Thu Nov 29 00:24:15 EST 2001  John Wehle  (john@feith.com)
+
+       * alpha.md (tablejump): Use pic_offset_table_rtx
+       instead of gen_rtx_REG.
+
+Wed Nov 28 15:36:13 2001  Jeffrey A Law  (law@cygnus.com)
+
+       * expr.c (store_expr): When copying a string constant into an
+       array, reset the known alignment of the MEM for the section to
+       be cleared to BITS_PER_UNIT.
+
+2001-11-28  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/cris/cris.c: Remove whitespace at end of line.
+
+Wed Nov 28 14:51:23 2001  Douglas B. Rupp  <rupp@gnat.com>
+
+       * config.gcc (i[34567]86-*-interix3*): New case.
+       * config/x-interix3, config/interix3.h, config/i386/i386-interix3.h:
+       New files.
+       
+2001-11-28  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/alpha.md (sibcall_osf_1, sibcall_value_osf_1): Use
+       symbolic_operand as the predicate.
+
+2001-11-28  Richard Henderson  <rth@redhat.com>
+
+       * doloop.c (doloop_modify_runtime): Properly select induction
+       variable; skip late entry test if biv initializer created by loop.
+
+Wed Nov 28 08:21:47 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * tree.h (EXPR_WFL_LINECOL): Used by Java in node other than
+       EXPR_WITH_FILE_LOCATION, so change checks and documentation.
+
+       * tree.h (TREE_VIA_PROTECTED): Update to show can be in TREE_VEC.
+
+       * tree.h: Add missing checks on some macros; make formatting more
+       consistent.
+
+       * stor-layout.c (put_pending_size): Look for SAVE_EXPR if not at top
+       level; only add to pending_sizes if find it.
+
+       * langhooks.c (lhd_safe_from_p): Add ATTRIBUTE_UNUSED.
+
+       * df.c (iterate_dataflow_sbitmap, iterate_dataflow_bitmap):
+       Add casts to remove warnings.
+
+       * Makefile.in (OBJS): Sort alphabetically.
+
+       * print-rtl.c (print_rtx): If RTX code is bad, just say so.
+       Also minor cleanups.
+
+Wed Nov 28 06:52:27 2001  Arnaud Charlet  <charlet@ACT-Europe.FR>
+
+       * Makefile.in (ORDINARY_FLAGS_TO_PASS): Remove STAGE_PREFIX.
+       (FLAGS_TO_PASS): Add STAGE_PREFIX.
+       (SUBDIR_FLAGS_TO_PASS): Apply PREPEND_DOTDOT_TO_RELATIVE_PATH
+       to STAGE_PREFIX.
+
+Wed Nov 28 10:42:19 CET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * cse.c (true_dependence_in_rtx): New function.
+       (invalidate): Use it.
+
+       * c-common.h (GOTO_FAKE_P): New macro.
+       * tree-inline.c (GOTO_FAKE_P): Set.
+       * c-tree.texi (GOTO_FAKE_P): Document.
+
+       * varasm.c (assemble_variable): Set reloc to 3 for error_mark
+       containing pointers.
+       (output_addressed_constants): Check for local/external relocations.
+       * elfos.h (SELECT_SECTION): Classify data section.
+       * tm.texi (SELECT_SECTION): Update documentation.
+
+       * cfganal.c (flow_dfs_compute_reverse_add_bb): set visited bit.
+       (flow_dfs_compute_reverse_execute): Add only unvisited blocks.
+
+2001-11-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
+       UNALIGNED_DOUBLE_INT_ASM_OP): Also provide defaults when we have
+       OBJECT_FORMAT_ROSE.
+
+2001-11-28  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/cris/cris.c: Tweak spacing for prototypes.
+       (LOSE_AND_RETURN): New macro.
+       (cris_operand_lossage): New function.
+       (cris_print_index, cris_print_base): Use cris_operand_lossage
+       rather than fatal_insn.
+       (cris_print_operand, cris_print_operand_address): Use
+       LOSE_AND_RETURN rather than fatal_insn and internal_error.
+       (cris_output_addr_const): Use LOSE_AND_RETURN and
+       output_operand_lossage rather than fatal_insn and internal_error
+       for valid but unexpected rtx expressions.
+
+       * config/cris/cris.c (cris_split_movdx): Don't call alter_subreg
+       for a SUBREG in src or dest, abort instead.
+
+2001-11-28  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
+
+       * doc/passes.texi: Remove reference to c-dump.c. Update tree inlining
+       doc.
+
+2001-11-27  Jakub Jelinek  <jakub@redhat.com>
+
+       * gcc.c (ASM_DEBUG_SPEC): Use conditional expression rather than
+       preprocessor define.  If only DBX_DEBUGGING_INFO or only
+       DWARF2_DEBUGGING_INFO is supported for the target, provide
+       appropriate definitions.
+
+2001-11-27  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * Makefile.in: Update, and add c-objc-common.o dependencies.
+       * c-lang.c: Remove unnecessary includes.
+       (c_init): Move bulk of code to c_objc_common_init, and call it.
+       (c_tree_printer, c_missing_noreturn_ok_p, c_disregard_inline_limits,
+       inline_forbidden_p, c_cannot_inline_tree_fn): Move to
+       c-objc-common.c.
+       * c-objc-common.c: New.  Mostly pulled from c-lang.c.
+       * c-tree.h (c_disregard_inline_limits, c_cannot_inline_fn,
+       c_objc_common_init, c_missing_noreturn_ok_p): New.
+       * toplev.c: Update comment.
+       * doc/passes.texi: Update.
+objc:
+       * ojbc-act.c (LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN,
+       LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS,
+       LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P): Override.
+       (objc_init): Update to use c_objc_common_init.
+
+2001-11-27  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * cpphash.c (_cpp_init_hashtable): Update.
+       * cpphash.h (struct spec_nodes): Remove n_L.
+       * cpplex.c (_cpp_lex_direct): Check for prefix L separately.
+
+2001-11-17  Richard Henderson  <rth@redhat.com>
+
+       * unroll.c (loop_iterations): Move last change ...
+       * doloop.c (doloop_modify_runtime): ... here.
+
+2001-11-17  Corey Minyard  <minyard@acm.org>
+           Richard Henderson  <rth@redhat.com>
+
+       * unroll.c (loop_iterations): Detect one situation in which we
+       overestimate the number of iterations.
+
+2001-11-27  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * gcc.c (set_input): Export.
+       Move declaration ...
+       gcc.h (set_input): ... here.
+
+2001-11-27  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * gcc.c (set_collect_gcc_options): New function, split out from
+       main.
+       Ignore elided switches.
+       (do_spec): Invoke before executing command.
+       (do_spec_1): Likewise.
+       Fixes PR other/3968.
+
+2001-11-27  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/cris/cris.h (INT_ASM_OP): Remove.
+
+2001-11-27  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * config/i386/sol2.h (WINT_TYPE): Redefine.
+       (WINT_TYPE_SIZE): Likewise.
+
+2001-11-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * collect2.c: Check HAVE_DUP2 instead of NO_DUP2.
+       (dup2): Make static and add prototype.
+       * m68k/plexus.h: Don't define NO_DUP2.
+       * configure.in (AC_CHECK_FUNCS): Add dup2.
+       * config.in, configure: Regenerate.
+
+       * ia64/aix.h (REG_SIZE): Don't #undef.
+       * sparc.h (REG_SIZE): Delete.
+       * flow.c (mark_used_regs): Don't use REG_SIZE.
+       * regs.h (REG_SIZE): Delete.
+
+2001-11-27  Andreas Schwab  <schwab@suse.de>
+
+       * gcc.c: Fix typo PREFERRED_DEBUGGING_FORMAT ->
+       PREFERRED_DEBUGGING_TYPE.
+
+Tue Nov 27 08:21:47 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * Makefile.in (c-lang.o): Depends on langhooks-def.h.
+       (expr.o, varasm.o): Depends on langhooks.h.
+       * c-common.c (c_safe_from_p): Always declare.
+       (c_expand_expr): Refine when declared.
+       * c-lang.c (c-common.h): Now include.
+       (LANG_HOOKS_SAFE_FROM_P): Define new hook.
+       (c_init): Don't set lang_safe_from_expr.
+       * expr.c (langhooks.h): Now include.
+       (lang_safe_from_p): No longer define.
+       (safe_from_p): Use lang hook.
+       (expand_expr): Set IGNORE if VOID_TYPE result of VIEW_CONVERT_EXPR too.
+       (expand_expr, case VIEW_CONVERT_EXPR): Pass ro_modifier down.
+       * expr.h (lang_expand_constant, lang_safe_from_p): Delete.
+       * langhooks-def.h (lhd_return_tree, lhd_safe_from_p): New decls.
+       (LANG_HOOKS_EXPAND_CONSTANT, LANG_HOOKS_SAFE_FROM_P): New hooks.
+       * langhooks.c (lhd_return_tree, lhd_safe_from_p): New functions.
+       * langhooks.h (struct lang_hooks): New fields expand_constant
+       and safe_from_p.
+       * output.h (output_constant): Size arg is HOST_WIDE_INT.
+       * stmt.c (expand_decl_init): No longer need to expand constant
+       for CONST_DECL.
+       * stor-layout.c (put_pending_size): Don't check for SAVE_EXPR.
+       * toplev.c (lang_expand_constant): Delete var.
+       * tree.c (save_expr): Don't put another SAVE_EXPR around simple
+       operations on SAVE_EXPR.
+       * varasm.c (langhooks.h): Now include.
+       (compare_constant_1): Use lang_hooks, not lang_expand_constant.
+       (record_constant_1, output_addressed_constants): Likewise.
+       (initializer_constant_valid_p, output_constant): Likewise.
+       (output_constant_def): Process no-defer of string constant.
+       (output_addressed_constants, case ADDR_EXPR): Use handled_component_p.
+       (output_constant): Strip more conversions.
+       Track our size and pad for the rest.
+       (array_size_for_constructor): Remove code for non-byte STRING_CST.
+       (output_constructor): SIZE now HOST_WIDE_INT.
+
+2001-11-27  Richard Henderson  <rth@redhat.com>
+
+       * ifcvt.c (noce_try_store_flag_constants): Test for overflow
+       in computing DIFF.
+
+2001-11-27  Zack Weinberg  <zack@codesourcery.com>
+
+       * cppfiles.c (read_include_file): Add comment.
+
+2001-11-26  Richard Henderson  <rth@redhat.com>
+
+       * toplev.c (rest_of_compilation): Call free_bb_for_insn before exit.
+
+2001-11-26  Richard Henderson  <rth@redhat.com>
+
+       * config/ia64/sysv4.h (DBX_DEBUGGING_INFO): Undef.
+       * config/ia64/aix.h (PREFERRED_DEBUGGING_TYPE): Remove
+       commented out override.
+
+2001-11-26  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * cppfiles.c (stack_include_file): Don't optimize zero-length
+       files.
+       (read_include_file): NUL-terminate read files.
+       * cpplex.c (handle_newline, skip_escaped_newlines,
+       get_effective_char, skip_whitespace, parse_identifier,
+       parse_identifier_slow, parse_number, parse_string,
+       _cpp_lex_direct): Optimize for the fact that buffers are guaranteed
+       NUL-terminated.
+       * cpplib.c (destringize_and_run, cpp_define, handle_assertion):
+       Be sure buffers are NUL terminated.
+       * cppmacro.c (warn_of_redefinition): Kill compile warning.
+
+2001-11-26  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * c-common.c: Include tree-inline.h.
+       (c_language): Move separate definitions here.
+       (c_common_init_options, c_common_post_options): New.
+       (c_common_lang_init): Rename c_common_init.
+       * c-common.h (c_common_lang_init): Similarly.
+       (c_common_init_options, c_common_post_options): New.
+       * c-lang.c (c_post_options): Move body to c_common_post_options.
+       (c_init_options): Use c_common_init_options.
+       (c_init): Update.
+       * langhooks.def: Rearrange.
+       * langhooks.h: Rearrange, and improve comments.
+       * toplev.c (do_compile): New function.
+       (toplev_main): Use it.
+       (lang_independent_f_options, parse_options_and_default_flags,
+       process_options): Remove trailing periods.
+       * Makefile.in: Update.
+objc:  * objc-act.c (objc_post_options, objc_init_options): Use c-common.c
+       functions.
+       (ojbc_init): Update.
+
+2001-11-26  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/alpha.md (unop): Add 0 offset for some gas versions.
+
+2001-11-26  DJ Delorie  <dj@redhat.com>
+
+       * expr.c (store_constructor): Actually use the value computed
+       if WORD_REGISTER_OPERATIONS.
+
+2001-11-26  Richard Henderson  <rth@redhat.com>
+
+       * config/elfos.h (SELECT_SECTION): Don't check TREE_READONLY
+       for CONSTRUCTOR.
+
+2001-11-26  David Edelsohn  <edelsohn@gnu.org>
+
+       * rs6000.c (output_mi_thunk): Handle minimal-toc and call
+       correct function on AIX.
+
+2001-11-26  Alexandre Oliva  <aoliva@redhat.com>
+
+       * toplev.c (process_options): Don't force
+       flag_optimize_sibling_calls to zero just because exceptions are
+       enabled.
+
+Mon Nov 26 12:37:05 2001  Jeffrey A Law  (law@cygnus.com)
+
+       * df.h (transfer_function_sbitmap): Use PARAMS around argument
+       list in function prototypes.
+       (transfer_function_bitmap): Likewise.
+
+2001-11-26  Loren J. Rittle  <ljrittle@acm.org>
+
+       * config/stormy16/stormy16.h: Remove DEFAULT_VTABLE_THUNKS.
+       * config/i386/netbsd-elf.h: Likewise.
+
+2001-11-26  David Edelsohn  <edelsohn@gnu.org>
+
+       * doc/trouble.texi: Remove outdated RS/6000 comments.
+
+Mon Nov 26 13:49:41 CET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * final.c (walk_alter_subreg): Fix return value.
+
+Mon Nov 26 11:36:20 CET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * sparc.c (sparc_absnegfloat_split_legitimate): Do not call
+       alter_subreg.
+       * sparc.md (post-reload splitters): Do not call alter_subreg.
+       * cfgrtl.c (purge_dead_edges): Fix typo in previous fix.
+
+2001-11-25  Aldy Hernandez  <aldyh@redhat.com>
+
+       * regclass.c (choose_hard_reg_mode): Handle vector arguments.
+
+2001-11-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * final.c: (insn_lengths): Make it an int *, so that large jump
+       tables don't overflow.
+
 2001-11-25  Joseph S. Myers  <jsm28@cam.ac.uk>
 
        * c-format.c (FMT_FLAG_DOLLAR_GAP_POINTER_OK): New.