OSDN Git Service

2000-11-29 David O'Brien <obrien@FreeBSD.org>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index abd1692..4ec5d88 100644 (file)
@@ -1,3 +1,165 @@
+2000-11-29  David O'Brien  <obrien@FreeBSD.org>
+
+       * config/alpha/elf.h (IDENT_ASM_OP): Protect the #define.
+       (ASM_DECLARE_OBJECT_NAME): Same.
+       (ASM_FILE_END): Same.
+       (ASM_FINISH_DECLARE_OBJECT): Same.
+       (ASM_IDENTIFY_GCC): Same.
+       (ASM_IDENTIFY_LANGUAGE): Same.
+       (ASM_OUTPUT_CONSTRUCTOR): Same.
+       (ASM_OUTPUT_DEF): Same.
+       (ASM_OUTPUT_DESTRUCTOR): Same.
+       (ASM_OUTPUT_EXTERNAL_LIBCALL): Same.
+       (ASM_OUTPUT_SECTION_NAME): Same.
+       (ASM_WEAKEN_LABEL): Same.
+       (BSS_SECTION_ASM_OP): Same.
+       (COMMON_ASM_OP): Same.
+       (CONST_SECTION_ASM_OP): Same.
+       (CONST_SECTION_FUNCTION): Same.
+       (CTORS_SECTION_ASM_OP): Same.
+       (DTORS_SECTION_ASM_OP): Same.
+       (ESCAPES): Same.
+       (FINI_SECTION_ASM_OP): Same.
+       (IDENT_ASM_OP): Same.
+       (IDENT_ASM_OP): Same.
+       (INIT_SECTION_ASM_OP): Same.
+       (INT_ASM_OP): Same.
+       (MAX_OFILE_ALIGNMENT): Same.
+       (SBSS_SECTION_ASM_OP): Same.
+       (SDATA_SECTION_ASM_OP): Same.
+       (SECTION_FUNCTION_TEMPLATE): Same.
+       (SELECT_SECTION): Same.
+       (SE_CONST_SECTION): Same.
+       (SIZE_ASM_OP): Same.
+       (SKIP_ASM_OP): Same.
+       (STRING_ASM_OP): Same.
+       (STRING_LIMIT): Same.
+       (TYPE_ASM_OP): Same.
+       (TYPE_OPERAND_FMT): Same.
+
+2000-11-29  Neil Booth  <neilb@earthling.net>
+
+        * c-decl.c (c_decode_option): Don't handle -lang-objc.
+        * objc/lang-options.h: Remove -lang-objc.
+        * objc/lang-specs.h: Don't pass -lang-objc to cc1obj.
+        * objc/objc-act.c (lang_init_options): Set c_language.
+
+2000-11-29  Jakub Jelinek  <jakub@redhat.com>
+
+       * expr.c (can_store_by_pieces): Reinitialize max_size for reverse
+       tests.
+
+2000-11-29  Neil Booth  <neilb@earthling.net>
+
+        * c-pragma.c (init_pragma): Update for parse_in type change.
+
+2000-11-29  Laurynas Biveinis  <lauras@softhome.net>
+
+       * configure.in: recognize DOS-style absolute paths.
+
+2000-11-29  Jakub Jelinek  <jakub@redhat.com>
+
+       * expr.h (store_by_pieces): Add prototype.
+       (can_store_by_pieces): Likewise.
+       * expr.c (struct store_by_pieces): Renamed from clear_by_pieces.
+       (can_store_by_pieces): New.
+       (store_by_pieces): New.
+       (clear_by_pieces): New.
+       (clear_by_pieces_1): New.
+       (store_by_pieces_1): Renamed from clear_by_pieces, handle storing
+       arbitrary compiler generated constants into memory block.
+       (store_by_pieces_2): Renamed from clear_by_pieces_1, likewise.
+       * builtins.c (c_readstr): New.
+       (builtin_memcpy_read_str): New.
+       (expand_builtin_memcpy): If src is string constant and
+       emit_block_move would move it by pieces, compute integer constants
+       from the string and store it into memory block instead.
+       (builtin_strncpy_read_str): New.
+       (expand_builtin_strncpy): If N is not constant zero and c_strlen does
+       not return INTEGER_CST, don't optimize.
+       If N is larger than strlen(src) + 1, try to copy the string
+       including padding with store_by_pieces.
+       (expand_builtin_strcmp): If both arguments have side effects, don't
+       optimize.
+       (expand_builtin_fputs): If STR has side effects, don't optimize.
+
+2000-11-29  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm.md (sibcall, sibcall_value, sibcall_insn, sibcall_value_insn):
+       Add use of link register.
+
+2000-11-29  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * extend.texi: Update documentation for default format attributes.
+
+Tue Nov 28 21:56:45 2000  Jeffrey A Law  (law@cygnus.com)
+
+       * pa/pa-64.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not
+       a list, to keep track of the sections.
+
+2000-11-28  Nick Clifton  <nickc@redhat.com>
+
+       * config/arm/arm.md (pic_load_addr): Split into
+       pic_load_addr_arm and pic_load_addr_thumb.
+
+       * config/arm/arm.c (legitimize_pic_address): Generate either
+       ARM or Thumb versions of pic_load_addr.
+       (arm_finalize_pic): Generate either ARM or Thumb versions of
+       pic_load_addr.
+
+2000-11-28  Richard Henderson  <rth@redhat.com>
+
+       * calls.c (expand_call): Defer const/pure NO_DEFER_POP until
+       after sibcall do_pending_stack_adjust.
+
+Wed Nov 29 00:08:23 2000  J"orn Rennecke <amylaar@redhat.com>
+
+       * jump.c (delete_insn): Check that REG_LABEL note actually contains
+       a CODE_LABEL.
+
+2000-11-28  Neil Booth  <neilb@earthling.net>
+
+       * c-common.h: Remove flag_digraphs.
+       * c-decl.c: Remove flag_digraphs.  
+       (c_decode_option): Don't set it. 
+       * c-lex.c (init_c_lex): Don't do anything for digraphs.
+
+2000-11-28  Richard Henderson  <rth@redhat.com>
+
+       * c-parse.in (finish_parse): Update for parse_in type change.
+       (_yylex): Likewise.
+
+2000-11-28  Neil Booth  <neilb@earthling.net>
+
+       * cppmacro.c (cpp_scan_buffer_nooutput): Take a boolean
+       indicating whether to scan all buffers on the stack or
+       just one.
+       * cppinit.c (do_includes): Update.
+       * cppmain.c (main): Update.
+       * cpplib.h: Update prototype.
+
+2000-11-28  Richard Henderson  <rth@redhat.com>
+
+       * genoutput.c (validate_insn_operands): New.
+       (gen_insn): Call it.
+
+       * config/alpha/alpha.md (divmodsi_internal): Renumber operands.
+       (divmoddi_internal): Likewise.
+       * config/arm/arm.md (andsi3_compare0_scratch): Likewise.
+       * config/i960/i960.md (branch patterns): Likewise.
+       * config/ia64/ia64.md (tbit_and_0): Likewise.
+       (tbit_and_1, tbit_or_0, tbit_or_1): Likewise.
+       * config/m68k/m68k.md (zero_extract memory patterns): Likewise.
+       * config/mips/mips.md (divmodsi4_internal): Likewise.
+       (divmoddi4_internal): Likewise.
+       * config/rs6000/rs6000.md (call patterns): Likewise.
+       * config/sh/sh.md (movsi_y): Likewise.
+       * config/sparc/sparc.md: Comment out if 0 v8p shift pattern.
+
+2000-11-28  Richard Henderson  <rth@redhat.com>
+
+       * config.gcc: Kill residual pyramid support.
+
 2000-11-28  Neil Booth  <neilb@earthling.net>
 
        * c-lex.h (parse_in): Change parse_in to a cpp_reader *.
 
 2000-11-28  Neil Booth  <neilb@earthling.net>
 
-        * tradcpp.c (enum node_type): New hash types T_ASSERT, T_UNASSERT.
-        (struct directive): Drop 4th argument from handlers.
-        (do_define, do_line, do_include, do_undef, do_else, do_elif,
-        do_endif): Similarly.
-        (do_assert, do_unassert, do_ifdef, do_ifndef): New handlers.
-        (do_ifxdef): Update as common handler of do_ifdef and do_ifndef.
-        (make_definition, make_undef): Take a const char*.
-        (make_assertion): New function.
-        (struct directive_table): Update.
-        (main): Handle -A command line argument.
-        (handle_directive): Drop fourth handler argument.
+       * tradcpp.c (enum node_type): New hash types T_ASSERT, T_UNASSERT.
+       (struct directive): Drop 4th argument from handlers.
+       (do_define, do_line, do_include, do_undef, do_else, do_elif,
+       do_endif): Similarly.
+       (do_assert, do_unassert, do_ifdef, do_ifndef): New handlers.
+       (do_ifxdef): Update as common handler of do_ifdef and do_ifndef.
+       (make_definition, make_undef): Take a const char*.
+       (make_assertion): New function.
+       (struct directive_table): Update.
+       (main): Handle -A command line argument.
+       (handle_directive): Drop fourth handler argument.
 
 2000-11-28  Bernd Schmidt  <bernds@redhat.co.uk>
 
@@ -75,19 +237,19 @@ Tue Nov 28 09:53:50 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
 2000-11-27  Neil Booth  <neilb@earthling.net>
 
-        * cppinit.c (cpp_reader_init): Remove handling of warn_paste   
-        command line options.
-        (cpp_handle_option): Similarly.
-        * cpplib.h (struct cpp_options): Remove warn_paste.
-        * cppmacro.c (paste_tokens): Apart from assembler, make
-        unpasteable token warning mandatory.
+       * cppinit.c (cpp_reader_init): Remove handling of warn_paste   
+       command line options.
+       (cpp_handle_option): Similarly.
+       * cpplib.h (struct cpp_options): Remove warn_paste.
+       * cppmacro.c (paste_tokens): Apart from assembler, make
+       unpasteable token warning mandatory.
 
 2000-11-27  Neil Booth  <neilb@earthling.net>
 
-        * tradcpp.c (enum pending_dir_t, struct pending_dir): New.
-        (main): Allocate a pending directive set of these.  Use it.
-        Merge handling of -D and -U.  Update handling of pending
-        directives.  Free the memory after use.
+       * tradcpp.c (enum pending_dir_t, struct pending_dir): New.
+       (main): Allocate a pending directive set of these.  Use it.
+       Merge handling of -D and -U.  Update handling of pending
+       directives.  Free the memory after use.
 
 2000-11-27  Bernd Schmidt  <bernds@redhat.co.uk>
 
@@ -169,28 +331,28 @@ Mon Nov 27 17:22:56 MET 2000  Jan Hubicka  <jh@suse.cz>
 
 2000-11-27  Neil Booth  <neilb@earthling.net>
 
-        * c-lex.c (cb_enter_file, cb_leave_file, cb_rename_file):
-        Combine into the new function cb_change_file.
-        (init_c_lex): Update.
-        * cppfiles.c (stack_include_file): Use _cpp_do_file_change.
-        (cpp_syshdr_flags): Delete.
-        * cpphash.h (_cpp_do_file_change): New prototype.
-        Move struct cpp_buffer here from...
-        * cpplib.h (struct cpp_buffer): ... here.
-        (enum cpp_fc_reason, struct cpp_file_loc,
-        struct_cpp_file_change, change_file): New.
-        (enter_file, leave_file, rename_file, cpp_syshdr_flags): Delete.
-        * cpplib.c (do_line): Update for new cb_change_file callback.
-        (_cpp_do_file_change): New function.
-        (_cpp_pop_buffer): Update to use it.
-        * cppmain.c (move_printer): Delete.
-        (main): Set up single callback cb_change_file.
-        (cb_enter_file, cb_leave_file, cb_rename_file): Delete.
-        (cb_change_file): New.
-        * fix-header.c (cur_file, cb_change_file): New.
-        (recognized_function, read_scan_file): Update.
-        * scan-decls.c (scan_decls): Update.
-        * scan.h (recognized_function): Update prototype.
+       * c-lex.c (cb_enter_file, cb_leave_file, cb_rename_file):
+       Combine into the new function cb_change_file.
+       (init_c_lex): Update.
+       * cppfiles.c (stack_include_file): Use _cpp_do_file_change.
+       (cpp_syshdr_flags): Delete.
+       * cpphash.h (_cpp_do_file_change): New prototype.
+       Move struct cpp_buffer here from...
+       * cpplib.h (struct cpp_buffer): ... here.
+       (enum cpp_fc_reason, struct cpp_file_loc,
+       struct_cpp_file_change, change_file): New.
+       (enter_file, leave_file, rename_file, cpp_syshdr_flags): Delete.
+       * cpplib.c (do_line): Update for new cb_change_file callback.
+       (_cpp_do_file_change): New function.
+       (_cpp_pop_buffer): Update to use it.
+       * cppmain.c (move_printer): Delete.
+       (main): Set up single callback cb_change_file.
+       (cb_enter_file, cb_leave_file, cb_rename_file): Delete.
+       (cb_change_file): New.
+       * fix-header.c (cur_file, cb_change_file): New.
+       (recognized_function, read_scan_file): Update.
+       * scan-decls.c (scan_decls): Update.
+       * scan.h (recognized_function): Update prototype.
 
 2000-11-26  Mark Mitchell  <mark@codesourcery.com>
 
@@ -326,29 +488,29 @@ Sun Nov 26 10:02:37 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
 2000-11-25  Neil Booth  <neilb@earthling.net>
 
-        * c-common.c: Remove USE_CPPLIB conditional inclusions.
-        * c-common.h: Similarly.
-        * c-decl.c: Similarly.
+       * c-common.c: Remove USE_CPPLIB conditional inclusions.
+       * c-common.h: Similarly.
+       * c-decl.c: Similarly.
        * c-lang.c: Similarly.
        * c-lex.c: Similarly.
-        * c-parse.in: Similarly.
-        * c-pragma.c: Similarly.
-        * c-pragma.h: Similarly.
-        * gcc.c: Similarly.
-        * toplev.c: Similarly.
-        * cp/cp-tree.h: Similarly.
-        * cp/decl2.c: Similarly.
-        * cp/lang-specs.h: Similarly.
-        * cp/lex.c: Similarly.
-        * cp/lex.h: Similarly.
-        * cp/spew.c: Similarly.
-        * java/lang-options.h: Similarly.
-        * objc/lang-specs.h: Similarly.
-        * objc/objc-act.c: Similarly.
-
-        * configure.in: Remove configure option.
-        * config.in: Regenerate.
-        * configure: Regenerate.
+       * c-parse.in: Similarly.
+       * c-pragma.c: Similarly.
+       * c-pragma.h: Similarly.
+       * gcc.c: Similarly.
+       * toplev.c: Similarly.
+       * cp/cp-tree.h: Similarly.
+       * cp/decl2.c: Similarly.
+       * cp/lang-specs.h: Similarly.
+       * cp/lex.c: Similarly.
+       * cp/lex.h: Similarly.
+       * cp/spew.c: Similarly.
+       * java/lang-options.h: Similarly.
+       * objc/lang-specs.h: Similarly.
+       * objc/objc-act.c: Similarly.
+
+       * configure.in: Remove configure option.
+       * config.in: Regenerate.
+       * configure: Regenerate.
 
 2000-11-25  Richard Henderson  <rth@redhat.com>