OSDN Git Service

Fix multi-reg inheritance problems (only a fix small additional fix for yesterday...
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index d3c8c13..ee903e9 100644 (file)
@@ -1,3 +1,215 @@
+2000-12-02  Bernd Schmidt  <bernds@redhat.co.uk>
+
+       * reload1.c (free_for_value_p): New function, frontend to
+       reload_reg_free_for_value_p.  All callers of the latter now call
+       this function with an additional mode argument.
+
+2000-12-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
+
+       * install.texi (Configurations): Remove obsolete documentation for
+       hppa*-*-*.
+
+2000-12-02  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
+
+       * install.texi (Installation): Remove obsolete description for
+       libstdc++ which is now an integral part of GCC.
+       
+2000-12-01  Jim Blandy  <jimb@redhat.com>
+
+       * dbxout.c (dbxout_parms): Correctly describe parameters passed by
+       invisible reference in registers, but then spilled to the stack.
+       Remove code to emit a second stab for such parameters; it attempts
+       to describe the value's location by introducing a synthetic C++
+       `reference' type, and then saying the stack slot has that
+       reference type.  This loses type information (breaking GDB's
+       `ptype' command, among other things) just to describe a location
+       which stabs can represent correctly in other ways.
+
+2000-12-01  Alexandre Oliva  <aoliva@redhat.com>
+
+       * final.c (output_addr_const) <PLUS>: Don't assume at least one
+       operand is a CONST_INT.
+
+       * config/sh/sh.c (reg_class_from_letter): Assign `k' to SIBCALL_REGS.
+       (machine_dependent_reorg): Split all insns.
+       * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Compute
+       reg_class_contents[SIBCALL_REGS].
+       (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add SIBCALL_REGS.
+       * config/sh/sh.md (calli_pcrel, call_pcrel, call_valuei_pcrel,
+       call_value_pcrel, call, call_value, sibcall): Match even when
+       not optimizing.
+       (sibcalli_pcrel, sibcall_pcrel): Likewise.  Use constraint `k'
+       for call address.
+       (sibcalli): Likewise.
+
+2000-12-01  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * c-common.c (warn_format, warn_format_y2k,
+       warn_format_extra_args, warn_format_nonliteral): Define.
+       (check_format_info): Check warn_format_nonliteral and
+       warn_format_extra_args.
+       (check_format_info_main): Check warn_format_y2k.
+       (set_Wformat): New function.
+       * c-common.h (warn_format_y2k, warn_format_extra_args,
+       warn_format_nonliteral, set_Wformat): Declare.
+       * c-decl.c (warn_format): Remove definition.
+       (c_decode_option): Handle -Wformat-nonliteral,
+       -Wno-format-extra-args and -Wno-format-y2k, and negated versions.
+       Use set_Wformat.
+       * invoke.texi: Document these new options and -Wformat=2.
+       * toplev.c (documented_lang_options): Add these new options.
+
+2000-12-01  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * builtins.def (BUILT_IN_IMAXABS): Add.
+       * builtins.c (expand_builtin): Also abort on BUILT_IN_IMAXABS.
+       * c-common.c (c_common_nodes_and_builtins): Create builtin
+       functions __builtin_imaxabs, and plain imaxabs unless
+       flag_no_nonansi_builtin outside C99 mode.
+       (expand_tree_builtin): Handle BUILT_IN_IMAXABS.
+       * extend.texi: Document builtin imaxabs.
+
+2000-12-01  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * c-common.c: Include "defaults.h".
+       (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Define.
+       (c_common_nodes_and_builtins): Create string_type_node,
+       const_string_type_node, wint_type_node, intmax_type_node,
+       uintmax_type_node, default_function_type, ptrdiff_type_node and
+       unsigned_ptrdiff_type_node.
+       * c-common.h (identifier_global_value): Declare.
+       * c-decl.c (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Don't define.
+       (init_decl_processing): Don't create string_type_node,
+       const_string_type_node, wint_type_node, intmax_type_node,
+       uintmax_type_node, default_function_type, ptrdiff_type_node and
+       unsigned_ptrdiff_type_node.
+       (identifier_global_value): New function.
+
+2000-12-01  Neil Booth  <neilb@earthling.net>
+
+        * cppinit.c (initialize): Forgotten prototype.
+        * cpplex.c (_cpp_lex_token): Loop until not skipping.
+        Always clear PREV_WHITE upon meeting a new line.
+        * cpplib.c (end_directive): Set pfile->skipping after
+        skip_rest_of_line.
+        * cpplib.h (cpp_reader): Remove macro_pos.
+        * cppmacro.c (cpp_get_line): Don't do anything special inside
+        macros.  
+        (parse_arg): Add PREV_WHITE if a token appears after new lines.
+        (funlike_invocation_p): Save and restore the output position
+        over a successful check for a '('.
+        (enter_macro_context): Delete uses of macro_pos.
+        (cpp_get_token): Don't use pfile->skipping.
+
+2000-12-01  Phil Edwards  <pme@sources.redhat.com>
+
+       * diagnostic.c:  Fix typos in comments.
+       * diagnostic.h:  Likewise.
+
+2000-11-30  Phil Edwards  <pme@sources.redhat.com>
+
+       * rtl.texi (Machine Modes):  Document BImode and OImode.
+
+2000-12-01  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * gcc.c (default_compilers): Add suffixes .mi, .cp, .ii, .FOR and
+       .FPP.
+
+2000-12-01  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * c-decl.c (grokdeclarator): If pedantic, warn about arrays with
+       incomplete element type.
+       (grokparms): Before checking for incomplete parameter type, check
+       the type isn't error_mark_node.
+
+2000-12-01  Jakub Jelinek  <jakub@redhat.com>
+
+       * builtins.c (target_char_cast): New function.
+       (expand_builtin_strchr): Use it.
+       (expand_builtin_strrchr): Use it.
+       (builtin_memset_read_str): New function.
+       (expand_builtin_memset): Use target_char_cast.
+       Try to optimize memset with second argument non-zero using
+       store_by_pieces.
+
+2000-11-30  Marek Michalkiewicz  <marekm@linux.org.pl>
+
+       * install.texi (avr): Replace incomplete list of supported MCU
+       types with a link to the current one ...
+       * invoke.texi (AVR Options): ... here.  Update -mmcu= to list
+       all supported MCU types.  Document -minit-stack= default.
+       Document new options -mno-tablejump, -mtiny-stack.
+       * md.texi (AVR family):  Fix typo in 'w' constraint letter
+       description.  Document 'q'.  Update 'O'.
+
+2000-12-01  Bernd Schmidt  <bernds@redhat.co.uk>
+
+       * combine.c (cant_combine_insn_p): Only disallow insns involving
+       hard regs if they are reg-reg moves.
+       (try_combine, can_combine_p, combinable_i3pat): Delete old
+       SMALL_REGISTER_CLASSES tests.
+
+2000-12-01  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/sh/sh.c (shiftcosts): Don't get INTVAL before testing
+       whether X is a CONST_INT.
+       (addsubcosts): Likewise.
+
+       * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA): Use INTVAL instead of
+       mis-used XINT.
+       (ARG_POINTER_REGNUM): Set to AP_REG.
+
+2000-11-30  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/sh/sh.md (fpu_switch0, fpu_switch1, movpsi, fpu_switch,
+       splits): Only match on TARGET_SH4.
+
+       * combine.c (try_combine): Disregard USEs when updating LOG_LINKS
+       of subsequent insns.
+
+2000-11-30  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Disable.
+       * config/alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
+
+2000-11-30  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/elf.h (ASM_OUTPUT_SECTION_NAME): Copy elfos.h defn.
+       (DO_SELECT_SECTION): New.
+       (SELECT_SECTION): Use it.
+       (UNIQUE_SECTION_P): New.
+       (UNIQUE_SECTION): New.
+
+2000-11-30  Alexandre Oliva  <aoliva@redhat.com>
+
+       * c-common.c (status_warning) [! ANSI_PROTOTYPES]: Load status
+       from va_list before using it.
+
+2000-11-30  Michael Matz  <matzmich@cs.tu-berlin.de>
+
+       * flow.c (make_edge): Early out, if no flags to set.
+       (calculate_global_regs_live): Clear out garbage only when necessary.
+
+       * simplify-rtx.c (varray_type used_regs): New.
+       (clear_table): Use it to only clear necessary items.
+       (cselib_lookup, cselib_record_set): Remember newly set items.
+       (cselib_update_varray_sizes, cselib_init): Initialize and grow
+       used_regs.
+
+       * local-alloc.c (update_equiv_regs): New local `cleared_regs'.
+       Move clearing of dead regs out of insn-loop.
+
+2000-11-30  Richard Henderson  <rth@redhat.com>
+
+       * calls.c (expand_call): Emit queued insns before creating
+       the tail recursion sequence.
+
+2000-11-30  J. David Anglin  <dave.anglin@nrc.ca>
+            Bruce Korb  <bkorb@gnu.org>
+
+       * fixinc/inclhack.def(): prevent dual double definition protection
+       * fixinc/fixincl.x: regenerate
+
 2000-11-29  Loren J. Rittle  <ljrittle@acm.org>
 
         * fixinc/Makefile.in (fixincl.x): Explicitly state the